; LLVM IR from EricZinda/InductorHtn :: src/Tests/Prolog (HtnGoalResolverTests)

; 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.HtnGoalResolver = type { %"class.std::enable_shared_from_this.15", %"class.std::map" }
%"class.std::enable_shared_from_this.15" = type { %"class.std::weak_ptr.16" }
%"class.std::weak_ptr.16" = type { %"class.std::__weak_ptr.17" }
%"class.std::__weak_ptr.17" = type { ptr, %"class.std::__weak_count" }
%"class.std::__weak_count" = type { ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::pair<std::vector<CustomRuleArgType>, std::function<void (ResolveState *)>>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::pair<std::vector<CustomRuleArgType>, std::function<void (ResolveState *)>>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::pair<std::vector<CustomRuleArgType>, std::function<void (ResolveState *)>>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::pair<std::vector<CustomRuleArgType>, std::function<void (ResolveState *)>>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::shared_ptr.21" = type { %"class.std::__shared_ptr.22" }
%"class.std::__shared_ptr.22" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.56" = type { %"class.std::__shared_ptr.57" }
%"class.std::__shared_ptr.57" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.77" = type { %"class.std::__shared_ptr.78" }
%"class.std::__shared_ptr.78" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.85" = type { %"class.std::__shared_ptr.86" }
%"class.std::__shared_ptr.86" = type { ptr, %"class.std::__shared_count" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::shared_ptr<HtnTerm>, std::allocator<std::shared_ptr<HtnTerm>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<HtnTerm>, std::allocator<std::shared_ptr<HtnTerm>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<HtnTerm>, std::allocator<std::shared_ptr<HtnTerm>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<HtnTerm>, std::allocator<std::shared_ptr<HtnTerm>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.UnitTest::TestDetails" = type <{ ptr, ptr, ptr, i32, i8, i8, [2 x i8] }>

@.str.3 = external hidden unnamed_addr constant [160 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [119 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [120 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [60 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN25SuiteHtnGoalResolverTests34TestGoalResolverFailureContextTest7RunImplEv(ptr noundef nonnull align 8 dereferenceable(49) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %class.HtnGoalResolver, align 8
  %4 = alloca %"class.std::shared_ptr.21", align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.std::shared_ptr.56", align 8
  %8 = alloca %"class.std::shared_ptr.77", align 8
  %9 = alloca %"class.std::shared_ptr.85", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::vector.0", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.UnitTest::TestDetails", align 8
  %21 = alloca %"class.UnitTest::TestDetails", align 8
  %22 = alloca %"class.std::shared_ptr.85", align 8
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.UnitTest::TestDetails", align 8
  %25 = alloca %"class.UnitTest::TestDetails", align 8
  %26 = alloca i32, align 4
  %27 = alloca %"class.UnitTest::TestDetails", align 8
  %28 = alloca %"class.UnitTest::TestDetails", align 8
  %29 = alloca i32, align 4
  %30 = alloca i64, align 8
  %31 = alloca %"class.UnitTest::TestDetails", align 8
  %32 = alloca %"class.UnitTest::TestDetails", align 8
  %33 = alloca %"class.std::__cxx11::basic_string", align 8
  %34 = alloca %"class.std::__cxx11::basic_string", align 8
  %35 = alloca %"class.std::__cxx11::basic_string", align 8
  %36 = alloca %"class.UnitTest::TestDetails", align 8
  %37 = alloca %"class.UnitTest::TestDetails", align 8
  %38 = alloca %"class.std::shared_ptr.85", align 8
  %39 = alloca %"class.std::__cxx11::basic_string", align 8
  %40 = alloca %"class.UnitTest::TestDetails", align 8
  %41 = alloca %"class.UnitTest::TestDetails", align 8
  %42 = alloca i32, align 4
  %43 = alloca %"class.UnitTest::TestDetails", align 8
  %44 = alloca %"class.UnitTest::TestDetails", align 8
  %45 = alloca i32, align 4
  %46 = alloca i64, align 8
  %47 = alloca %"class.UnitTest::TestDetails", align 8
  %48 = alloca %"class.UnitTest::TestDetails", align 8
  %49 = alloca %"class.std::__cxx11::basic_string", align 8
  %50 = alloca %"class.UnitTest::TestDetails", align 8
  %51 = alloca %"class.UnitTest::TestDetails", align 8
  %52 = alloca %"class.std::__cxx11::basic_string", align 8
  %53 = alloca %"class.std::__cxx11::basic_string", align 8
  %54 = alloca %"class.std::__cxx11::basic_string", align 8
  %55 = alloca %"class.UnitTest::TestDetails", align 8
  %56 = alloca %"class.UnitTest::TestDetails", align 8
  %57 = alloca %"class.std::shared_ptr.85", align 8
  %58 = alloca %"class.std::__cxx11::basic_string", align 8
  %59 = alloca %"class.UnitTest::TestDetails", align 8
  %60 = alloca %"class.UnitTest::TestDetails", align 8
  %61 = alloca i32, align 4
  %62 = alloca %"class.UnitTest::TestDetails", align 8
  %63 = alloca %"class.UnitTest::TestDetails", align 8
  %64 = alloca i32, align 4
  %65 = alloca i64, align 8
  %66 = alloca %"class.UnitTest::TestDetails", align 8
  %67 = alloca %"class.UnitTest::TestDetails", align 8
  %68 = alloca %"class.std::__cxx11::basic_string", align 8
  %69 = alloca %"class.UnitTest::TestDetails", align 8
  %70 = alloca %"class.UnitTest::TestDetails", align 8
  %71 = alloca %"class.std::__cxx11::basic_string", align 8
  %72 = alloca %"class.std::__cxx11::basic_string", align 8
  %73 = alloca %"class.std::__cxx11::basic_string", align 8
  %74 = alloca %"class.UnitTest::TestDetails", align 8
  %75 = alloca %"class.UnitTest::TestDetails", align 8
  %76 = alloca %"class.std::shared_ptr.85", align 8
  %77 = alloca %"class.std::__cxx11::basic_string", align 8
  %78 = alloca %"class.UnitTest::TestDetails", align 8
  %79 = alloca %"class.UnitTest::TestDetails", align 8
  %80 = alloca i32, align 4
  %81 = alloca %"class.UnitTest::TestDetails", align 8
  %82 = alloca %"class.UnitTest::TestDetails", align 8
  %83 = alloca i32, align 4
  %84 = alloca i64, align 8
  %85 = alloca %"class.UnitTest::TestDetails", align 8
  %86 = alloca %"class.UnitTest::TestDetails", align 8
  %87 = alloca %"class.std::__cxx11::basic_string", align 8
  %88 = alloca %"class.UnitTest::TestDetails", align 8
  %89 = alloca %"class.UnitTest::TestDetails", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %90 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr %3) #9
  call void @_ZN15HtnGoalResolverC1Ev(ptr noundef nonnull align 8 dereferenceable(64) %3)
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #9
  %91 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 33088) #10
          to label %92 unwind label %135

92:                                               ; preds = %1
  invoke void @_ZN14HtnTermFactoryC1Ev(ptr noundef nonnull align 8 dereferenceable(33088) %91)
          to label %93 unwind label %139

93:                                               ; preds = %92
  invoke void @_ZNSt10shared_ptrI14HtnTermFactoryEC2IS0_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef %91)
          to label %94 unwind label %135

94:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #9
  %95 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 144) #10
          to label %96 unwind label %143

96:                                               ; preds = %94
  invoke void @_ZN10HtnRuleSetC2Ev(ptr noundef nonnull align 8 dereferenceable(144) %95)
          to label %97 unwind label %147

97:                                               ; preds = %96
  invoke void @_ZNSt10shared_ptrI10HtnRuleSetEC2IS0_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef %95)
          to label %98 unwind label %143

98:                                               ; preds = %97
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #9
  %99 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 88) #10
          to label %100 unwind label %151

100:                                              ; preds = %98
  %101 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #9
  %102 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactoryP10HtnRuleSet(ptr noundef nonnull align 8 dereferenceable(88) %99, ptr noundef %101, ptr noundef %102)
          to label %103 unwind label %155

103:                                              ; preds = %100
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef %99)
          to label %104 unwind label %151

104:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #9
  call void @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #9
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %105 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef @.str.3)
          to label %106 unwind label %159

106:                                              ; preds = %104
  %107 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef @.str.4)
          to label %108 unwind label %159

108:                                              ; preds = %106
  %109 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  %110 = load ptr, ptr %109, align 8, !tbaa !9
  %111 = getelementptr inbounds ptr, ptr %110, i64 4
  %112 = load ptr, ptr %111, align 8
  invoke void %112(ptr noundef nonnull align 8 dereferenceable(88) %109)
          to label %113 unwind label %159

113:                                              ; preds = %108
  %114 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef @.str.5)
          to label %115 unwind label %159

115:                                              ; preds = %113
  br label %116

116:                                              ; preds = %115
  %117 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_SA_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %19, ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %118 unwind label %163

118:                                              ; preds = %116
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_RKS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %18, ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %119 unwind label %167

119:                                              ; preds = %118
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_RKS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %17, ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %120 unwind label %171

120:                                              ; preds = %119
  %121 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %117, ptr noundef %17)
          to label %122 unwind label %175

122:                                              ; preds = %120
  %123 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %121)
          to label %124 unwind label %175

124:                                              ; preds = %122
  %125 = xor i1 %123, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #9
  br i1 %125, label %126, label %220

126:                                              ; preds = %124
  %127 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %128 unwind label %182

128:                                              ; preds = %126
  %129 = load ptr, ptr %127, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #9
  %130 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %131 unwind label %186

131:                                              ; preds = %128
  %132 = load ptr, ptr %130, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %20, ptr noundef nonnull align 8 dereferenceable(30) %132, i32 noundef 134)
          to label %133 unwind label %186

133:                                              ; preds = %131
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %129, ptr noundef nonnull align 8 dereferenceable(30) %20, ptr noundef @.str.6)
          to label %134 unwind label %186

134:                                              ; preds = %133
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #9
  br label %220

135:                                              ; preds = %93, %1
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %5, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %6, align 4
  br label %1164

139:                                              ; preds = %92
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %5, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %91, i64 noundef 33088) #11
  br label %1164

143:                                              ; preds = %97, %94
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %5, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %6, align 4
  br label %1163

147:                                              ; preds = %96
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %5, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %95, i64 noundef 144) #11
  br label %1163

151:                                              ; preds = %103, %98
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %5, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %6, align 4
  br label %1162

155:                                              ; preds = %100
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %5, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %99, i64 noundef 88) #11
  br label %1162

159:                                              ; preds = %1146, %1098, %1055, %1013, %956, %887, %882, %878, %830, %787, %745, %688, %619, %614, %610, %562, %519, %477, %420, %351, %346, %342, %299, %257, %200, %113, %108, %106, %104
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %5, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %6, align 4
  br label %1161

163:                                              ; preds = %116
  %164 = landingpad { ptr, i32 }
          catch ptr null
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %5, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %6, align 4
  br label %181

167:                                              ; preds = %118
  %168 = landingpad { ptr, i32 }
          catch ptr null
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %5, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %6, align 4
  br label %180

171:                                              ; preds = %119
  %172 = landingpad { ptr, i32 }
          catch ptr null
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %5, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %6, align 4
  br label %179

175:                                              ; preds = %122, %120
  %176 = landingpad { ptr, i32 }
          catch ptr null
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %5, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  br label %179

179:                                              ; preds = %175, %171
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #9
  br label %180

180:                                              ; preds = %179, %167
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  br label %181

181:                                              ; preds = %180, %163
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #9
  br label %190

182:                                              ; preds = %126
  %183 = landingpad { ptr, i32 }
          catch ptr null
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %5, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %6, align 4
  br label %190

186:                                              ; preds = %133, %131, %128
  %187 = landingpad { ptr, i32 }
          catch ptr null
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %5, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #9
  br label %190

190:                                              ; preds = %186, %182, %181
  %191 = load ptr, ptr %5, align 8
  %192 = call ptr @__cxa_begin_catch(ptr %191) #9
  %193 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %194 unwind label %221

194:                                              ; preds = %190
  %195 = load ptr, ptr %193, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #9
  %196 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %197 unwind label %225

197:                                              ; preds = %194
  %198 = load ptr, ptr %196, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %21, ptr noundef nonnull align 8 dereferenceable(30) %198, i32 noundef 134)
          to label %199 unwind label %225

199:                                              ; preds = %197
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %195, ptr noundef nonnull align 8 dereferenceable(30) %21, ptr noundef @.str.7)
          to label %200 unwind label %225

200:                                              ; preds = %199
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #9
  invoke void @__cxa_end_catch()
          to label %201 unwind label %159

201:                                              ; preds = %200
  br label %202

202:                                              ; preds = %220, %201
  br label %203

203:                                              ; preds = %202
  br label %204

204:                                              ; preds = %203
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #9
  %205 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE10SolveGoalsEP15HtnGoalResolveriPlPiPSt6vectorISt10shared_ptrI7HtnTermESaISA_EE(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.85") align 8 %22, ptr noundef nonnull align 8 dereferenceable(88) %205, ptr noundef %3, i32 noundef 1000000, ptr noundef null, ptr noundef %15, ptr noundef %16)
          to label %206 unwind label %231

206:                                              ; preds = %204
  %207 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %22) #9
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #9
  %208 = call noundef ptr @_ZNKSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %9) #9
  invoke void @_ZN15HtnGoalResolver8ToStringB5cxx11EPKSt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %23, ptr noundef %208, i1 noundef zeroext false)
          to label %209 unwind label %235

209:                                              ; preds = %206
  %210 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %23) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #9
  br label %211

211:                                              ; preds = %209
  %212 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %213 unwind label %239

213:                                              ; preds = %211
  %214 = load ptr, ptr %212, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #9
  %215 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %216 unwind label %243

216:                                              ; preds = %213
  %217 = load ptr, ptr %215, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %24, ptr noundef nonnull align 8 dereferenceable(30) %217, i32 noundef 137)
          to label %218 unwind label %243

218:                                              ; preds = %216
  invoke void @_ZN8UnitTest10CheckEqualINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA5_cEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %214, ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 1 dereferenceable(5) @.str.8, ptr noundef nonnull align 8 dereferenceable(30) %24)
          to label %219 unwind label %243

219:                                              ; preds = %218
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #9
  br label %259

220:                                              ; preds = %134, %124
  br label %202

221:                                              ; preds = %190
  %222 = landingpad { ptr, i32 }
          cleanup
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %5, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %6, align 4
  br label %229

225:                                              ; preds = %199, %197, %194
  %226 = landingpad { ptr, i32 }
          cleanup
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %5, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #9
  br label %229

229:                                              ; preds = %225, %221
  invoke void @__cxa_end_catch()
          to label %230 unwind label %1170

230:                                              ; preds = %229
  br label %1161

231:                                              ; preds = %204
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %5, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #9
  br label %1161

235:                                              ; preds = %206
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %5, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #9
  br label %1161

239:                                              ; preds = %211
  %240 = landingpad { ptr, i32 }
          catch ptr null
  %241 = extractvalue { ptr, i32 } %240, 0
  store ptr %241, ptr %5, align 8
  %242 = extractvalue { ptr, i32 } %240, 1
  store i32 %242, ptr %6, align 4
  br label %247

243:                                              ; preds = %218, %216, %213
  %244 = landingpad { ptr, i32 }
          catch ptr null
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %5, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #9
  br label %247

247:                                              ; preds = %243, %239
  %248 = load ptr, ptr %5, align 8
  %249 = call ptr @__cxa_begin_catch(ptr %248) #9
  %250 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %251 unwind label %271

251:                                              ; preds = %247
  %252 = load ptr, ptr %250, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #9
  %253 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %254 unwind label %275

254:                                              ; preds = %251
  %255 = load ptr, ptr %253, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %25, ptr noundef nonnull align 8 dereferenceable(30) %255, i32 noundef 137)
          to label %256 unwind label %275

256:                                              ; preds = %254
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %252, ptr noundef nonnull align 8 dereferenceable(30) %25, ptr noundef @.str.9)
          to label %257 unwind label %275

257:                                              ; preds = %256
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #9
  invoke void @__cxa_end_catch()
          to label %258 unwind label %159

258:                                              ; preds = %257
  br label %259

259:                                              ; preds = %258, %219
  br label %260

260:                                              ; preds = %259
  br label %261

261:                                              ; preds = %260
  br label %262

262:                                              ; preds = %261
  %263 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %264 unwind label %281

264:                                              ; preds = %262
  %265 = load ptr, ptr %263, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #9
  store i32 1, ptr %26, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #9
  %266 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %267 unwind label %285

267:                                              ; preds = %264
  %268 = load ptr, ptr %266, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %27, ptr noundef nonnull align 8 dereferenceable(30) %268, i32 noundef 138)
          to label %269 unwind label %285

269:                                              ; preds = %267
  invoke void @_ZN8UnitTest10CheckEqualIiiEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %265, ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 8 dereferenceable(30) %27)
          to label %270 unwind label %285

270:                                              ; preds = %269
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  br label %301

271:                                              ; preds = %247
  %272 = landingpad { ptr, i32 }
          cleanup
  %273 = extractvalue { ptr, i32 } %272, 0
  store ptr %273, ptr %5, align 8
  %274 = extractvalue { ptr, i32 } %272, 1
  store i32 %274, ptr %6, align 4
  br label %279

275:                                              ; preds = %256, %254, %251
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %5, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #9
  br label %279

279:                                              ; preds = %275, %271
  invoke void @__cxa_end_catch()
          to label %280 unwind label %1170

280:                                              ; preds = %279
  br label %1161

281:                                              ; preds = %262
  %282 = landingpad { ptr, i32 }
          catch ptr null
  %283 = extractvalue { ptr, i32 } %282, 0
  store ptr %283, ptr %5, align 8
  %284 = extractvalue { ptr, i32 } %282, 1
  store i32 %284, ptr %6, align 4
  br label %289

285:                                              ; preds = %269, %267, %264
  %286 = landingpad { ptr, i32 }
          catch ptr null
  %287 = extractvalue { ptr, i32 } %286, 0
  store ptr %287, ptr %5, align 8
  %288 = extractvalue { ptr, i32 } %286, 1
  store i32 %288, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  br label %289

289:                                              ; preds = %285, %281
  %290 = load ptr, ptr %5, align 8
  %291 = call ptr @__cxa_begin_catch(ptr %290) #9
  %292 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %293 unwind label %314

293:                                              ; preds = %289
  %294 = load ptr, ptr %292, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #9
  %295 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %296 unwind label %318

296:                                              ; preds = %293
  %297 = load ptr, ptr %295, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %28, ptr noundef nonnull align 8 dereferenceable(30) %297, i32 noundef 138)
          to label %298 unwind label %318

298:                                              ; preds = %296
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %294, ptr noundef nonnull align 8 dereferenceable(30) %28, ptr noundef @.str.10)
          to label %299 unwind label %318

299:                                              ; preds = %298
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #9
  invoke void @__cxa_end_catch()
          to label %300 unwind label %159

300:                                              ; preds = %299
  br label %301

301:                                              ; preds = %300, %270
  br label %302

302:                                              ; preds = %301
  br label %303

303:                                              ; preds = %302
  br label %304

304:                                              ; preds = %303
  %305 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %306 unwind label %324

306:                                              ; preds = %304
  %307 = load ptr, ptr %305, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #9
  store i32 0, ptr %29, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #9
  %308 = call noundef i64 @_ZNKSt6vectorISt10shared_ptrI7HtnTermESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  store i64 %308, ptr %30, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #9
  %309 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %310 unwind label %328

310:                                              ; preds = %306
  %311 = load ptr, ptr %309, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %31, ptr noundef nonnull align 8 dereferenceable(30) %311, i32 noundef 139)
          to label %312 unwind label %328

312:                                              ; preds = %310
  invoke void @_ZN8UnitTest10CheckEqualIimEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %307, ptr noundef nonnull align 4 dereferenceable(4) %29, ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(30) %31)
          to label %313 unwind label %328

313:                                              ; preds = %312
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #9
  br label %344

314:                                              ; preds = %289
  %315 = landingpad { ptr, i32 }
          cleanup
  %316 = extractvalue { ptr, i32 } %315, 0
  store ptr %316, ptr %5, align 8
  %317 = extractvalue { ptr, i32 } %315, 1
  store i32 %317, ptr %6, align 4
  br label %322

318:                                              ; preds = %298, %296, %293
  %319 = landingpad { ptr, i32 }
          cleanup
  %320 = extractvalue { ptr, i32 } %319, 0
  store ptr %320, ptr %5, align 8
  %321 = extractvalue { ptr, i32 } %319, 1
  store i32 %321, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #9
  br label %322

322:                                              ; preds = %318, %314
  invoke void @__cxa_end_catch()
          to label %323 unwind label %1170

323:                                              ; preds = %322
  br label %1161

324:                                              ; preds = %304
  %325 = landingpad { ptr, i32 }
          catch ptr null
  %326 = extractvalue { ptr, i32 } %325, 0
  store ptr %326, ptr %5, align 8
  %327 = extractvalue { ptr, i32 } %325, 1
  store i32 %327, ptr %6, align 4
  br label %332

328:                                              ; preds = %312, %310, %306
  %329 = landingpad { ptr, i32 }
          catch ptr null
  %330 = extractvalue { ptr, i32 } %329, 0
  store ptr %330, ptr %5, align 8
  %331 = extractvalue { ptr, i32 } %329, 1
  store i32 %331, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #9
  br label %332

332:                                              ; preds = %328, %324
  %333 = load ptr, ptr %5, align 8
  %334 = call ptr @__cxa_begin_catch(ptr %333) #9
  %335 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %336 unwind label %373

336:                                              ; preds = %332
  %337 = load ptr, ptr %335, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #9
  %338 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %339 unwind label %377

339:                                              ; preds = %336
  %340 = load ptr, ptr %338, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %32, ptr noundef nonnull align 8 dereferenceable(30) %340, i32 noundef 139)
          to label %341 unwind label %377

341:                                              ; preds = %339
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %337, ptr noundef nonnull align 8 dereferenceable(30) %32, ptr noundef @.str.11)
          to label %342 unwind label %377

342:                                              ; preds = %341
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #9
  invoke void @__cxa_end_catch()
          to label %343 unwind label %159

343:                                              ; preds = %342
  br label %344

344:                                              ; preds = %343, %313
  br label %345

345:                                              ; preds = %344
  br label %346

346:                                              ; preds = %345
  %347 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  %348 = load ptr, ptr %347, align 8, !tbaa !9
  %349 = getelementptr inbounds ptr, ptr %348, i64 4
  %350 = load ptr, ptr %349, align 8
  invoke void %350(ptr noundef nonnull align 8 dereferenceable(88) %347)
          to label %351 unwind label %159

351:                                              ; preds = %346
  %352 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef @.str.12)
          to label %353 unwind label %159

353:                                              ; preds = %351
  br label %354

354:                                              ; preds = %353
  %355 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %34) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %35) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_SA_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %35, ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %356 unwind label %383

356:                                              ; preds = %354
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_RKS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %34, ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %357 unwind label %387

357:                                              ; preds = %356
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_RKS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %33, ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %358 unwind label %391

358:                                              ; preds = %357
  %359 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %355, ptr noundef %33)
          to label %360 unwind label %395

360:                                              ; preds = %358
  %361 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %359)
          to label %362 unwind label %395

362:                                              ; preds = %360
  %363 = xor i1 %361, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #9
  br i1 %363, label %364, label %440

364:                                              ; preds = %362
  %365 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %366 unwind label %402

366:                                              ; preds = %364
  %367 = load ptr, ptr %365, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #9
  %368 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %369 unwind label %406

369:                                              ; preds = %366
  %370 = load ptr, ptr %368, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %36, ptr noundef nonnull align 8 dereferenceable(30) %370, i32 noundef 144)
          to label %371 unwind label %406

371:                                              ; preds = %369
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %367, ptr noundef nonnull align 8 dereferenceable(30) %36, ptr noundef @.str.6)
          to label %372 unwind label %406

372:                                              ; preds = %371
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #9
  br label %440

373:                                              ; preds = %332
  %374 = landingpad { ptr, i32 }
          cleanup
  %375 = extractvalue { ptr, i32 } %374, 0
  store ptr %375, ptr %5, align 8
  %376 = extractvalue { ptr, i32 } %374, 1
  store i32 %376, ptr %6, align 4
  br label %381

377:                                              ; preds = %341, %339, %336
  %378 = landingpad { ptr, i32 }
          cleanup
  %379 = extractvalue { ptr, i32 } %378, 0
  store ptr %379, ptr %5, align 8
  %380 = extractvalue { ptr, i32 } %378, 1
  store i32 %380, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #9
  br label %381

381:                                              ; preds = %377, %373
  invoke void @__cxa_end_catch()
          to label %382 unwind label %1170

382:                                              ; preds = %381
  br label %1161

383:                                              ; preds = %354
  %384 = landingpad { ptr, i32 }
          catch ptr null
  %385 = extractvalue { ptr, i32 } %384, 0
  store ptr %385, ptr %5, align 8
  %386 = extractvalue { ptr, i32 } %384, 1
  store i32 %386, ptr %6, align 4
  br label %401

387:                                              ; preds = %356
  %388 = landingpad { ptr, i32 }
          catch ptr null
  %389 = extractvalue { ptr, i32 } %388, 0
  store ptr %389, ptr %5, align 8
  %390 = extractvalue { ptr, i32 } %388, 1
  store i32 %390, ptr %6, align 4
  br label %400

391:                                              ; preds = %357
  %392 = landingpad { ptr, i32 }
          catch ptr null
  %393 = extractvalue { ptr, i32 } %392, 0
  store ptr %393, ptr %5, align 8
  %394 = extractvalue { ptr, i32 } %392, 1
  store i32 %394, ptr %6, align 4
  br label %399

395:                                              ; preds = %360, %358
  %396 = landingpad { ptr, i32 }
          catch ptr null
  %397 = extractvalue { ptr, i32 } %396, 0
  store ptr %397, ptr %5, align 8
  %398 = extractvalue { ptr, i32 } %396, 1
  store i32 %398, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #9
  br label %399

399:                                              ; preds = %395, %391
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #9
  br label %400

400:                                              ; preds = %399, %387
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #9
  br label %401

401:                                              ; preds = %400, %383
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #9
  br label %410

402:                                              ; preds = %364
  %403 = landingpad { ptr, i32 }
          catch ptr null
  %404 = extractvalue { ptr, i32 } %403, 0
  store ptr %404, ptr %5, align 8
  %405 = extractvalue { ptr, i32 } %403, 1
  store i32 %405, ptr %6, align 4
  br label %410

406:                                              ; preds = %371, %369, %366
  %407 = landingpad { ptr, i32 }
          catch ptr null
  %408 = extractvalue { ptr, i32 } %407, 0
  store ptr %408, ptr %5, align 8
  %409 = extractvalue { ptr, i32 } %407, 1
  store i32 %409, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #9
  br label %410

410:                                              ; preds = %406, %402, %401
  %411 = load ptr, ptr %5, align 8
  %412 = call ptr @__cxa_begin_catch(ptr %411) #9
  %413 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %414 unwind label %441

414:                                              ; preds = %410
  %415 = load ptr, ptr %413, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %37) #9
  %416 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %417 unwind label %445

417:                                              ; preds = %414
  %418 = load ptr, ptr %416, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %37, ptr noundef nonnull align 8 dereferenceable(30) %418, i32 noundef 144)
          to label %419 unwind label %445

419:                                              ; preds = %417
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %415, ptr noundef nonnull align 8 dereferenceable(30) %37, ptr noundef @.str.7)
          to label %420 unwind label %445

420:                                              ; preds = %419
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #9
  invoke void @__cxa_end_catch()
          to label %421 unwind label %159

421:                                              ; preds = %420
  br label %422

422:                                              ; preds = %440, %421
  br label %423

423:                                              ; preds = %422
  br label %424

424:                                              ; preds = %423
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #9
  %425 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE10SolveGoalsEP15HtnGoalResolveriPlPiPSt6vectorISt10shared_ptrI7HtnTermESaISA_EE(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.85") align 8 %38, ptr noundef nonnull align 8 dereferenceable(88) %425, ptr noundef %3, i32 noundef 1000000, ptr noundef null, ptr noundef %15, ptr noundef %16)
          to label %426 unwind label %451

426:                                              ; preds = %424
  %427 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %38) #9
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %38) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %39) #9
  %428 = call noundef ptr @_ZNKSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %9) #9
  invoke void @_ZN15HtnGoalResolver8ToStringB5cxx11EPKSt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %39, ptr noundef %428, i1 noundef zeroext false)
          to label %429 unwind label %455

429:                                              ; preds = %426
  %430 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %39) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #9
  br label %431

431:                                              ; preds = %429
  %432 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %433 unwind label %459

433:                                              ; preds = %431
  %434 = load ptr, ptr %432, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %40) #9
  %435 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %436 unwind label %463

436:                                              ; preds = %433
  %437 = load ptr, ptr %435, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %40, ptr noundef nonnull align 8 dereferenceable(30) %437, i32 noundef 147)
          to label %438 unwind label %463

438:                                              ; preds = %436
  invoke void @_ZN8UnitTest10CheckEqualINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA5_cEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %434, ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 1 dereferenceable(5) @.str.8, ptr noundef nonnull align 8 dereferenceable(30) %40)
          to label %439 unwind label %463

439:                                              ; preds = %438
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #9
  br label %479

440:                                              ; preds = %372, %362
  br label %422

441:                                              ; preds = %410
  %442 = landingpad { ptr, i32 }
          cleanup
  %443 = extractvalue { ptr, i32 } %442, 0
  store ptr %443, ptr %5, align 8
  %444 = extractvalue { ptr, i32 } %442, 1
  store i32 %444, ptr %6, align 4
  br label %449

445:                                              ; preds = %419, %417, %414
  %446 = landingpad { ptr, i32 }
          cleanup
  %447 = extractvalue { ptr, i32 } %446, 0
  store ptr %447, ptr %5, align 8
  %448 = extractvalue { ptr, i32 } %446, 1
  store i32 %448, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #9
  br label %449

449:                                              ; preds = %445, %441
  invoke void @__cxa_end_catch()
          to label %450 unwind label %1170

450:                                              ; preds = %449
  br label %1161

451:                                              ; preds = %424
  %452 = landingpad { ptr, i32 }
          cleanup
  %453 = extractvalue { ptr, i32 } %452, 0
  store ptr %453, ptr %5, align 8
  %454 = extractvalue { ptr, i32 } %452, 1
  store i32 %454, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #9
  br label %1161

455:                                              ; preds = %426
  %456 = landingpad { ptr, i32 }
          cleanup
  %457 = extractvalue { ptr, i32 } %456, 0
  store ptr %457, ptr %5, align 8
  %458 = extractvalue { ptr, i32 } %456, 1
  store i32 %458, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #9
  br label %1161

459:                                              ; preds = %431
  %460 = landingpad { ptr, i32 }
          catch ptr null
  %461 = extractvalue { ptr, i32 } %460, 0
  store ptr %461, ptr %5, align 8
  %462 = extractvalue { ptr, i32 } %460, 1
  store i32 %462, ptr %6, align 4
  br label %467

463:                                              ; preds = %438, %436, %433
  %464 = landingpad { ptr, i32 }
          catch ptr null
  %465 = extractvalue { ptr, i32 } %464, 0
  store ptr %465, ptr %5, align 8
  %466 = extractvalue { ptr, i32 } %464, 1
  store i32 %466, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #9
  br label %467

467:                                              ; preds = %463, %459
  %468 = load ptr, ptr %5, align 8
  %469 = call ptr @__cxa_begin_catch(ptr %468) #9
  %470 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %471 unwind label %491

471:                                              ; preds = %467
  %472 = load ptr, ptr %470, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %41) #9
  %473 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %474 unwind label %495

474:                                              ; preds = %471
  %475 = load ptr, ptr %473, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %41, ptr noundef nonnull align 8 dereferenceable(30) %475, i32 noundef 147)
          to label %476 unwind label %495

476:                                              ; preds = %474
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %472, ptr noundef nonnull align 8 dereferenceable(30) %41, ptr noundef @.str.9)
          to label %477 unwind label %495

477:                                              ; preds = %476
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #9
  invoke void @__cxa_end_catch()
          to label %478 unwind label %159

478:                                              ; preds = %477
  br label %479

479:                                              ; preds = %478, %439
  br label %480

480:                                              ; preds = %479
  br label %481

481:                                              ; preds = %480
  br label %482

482:                                              ; preds = %481
  %483 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %484 unwind label %501

484:                                              ; preds = %482
  %485 = load ptr, ptr %483, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #9
  store i32 1, ptr %42, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr %43) #9
  %486 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %487 unwind label %505

487:                                              ; preds = %484
  %488 = load ptr, ptr %486, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %43, ptr noundef nonnull align 8 dereferenceable(30) %488, i32 noundef 148)
          to label %489 unwind label %505

489:                                              ; preds = %487
  invoke void @_ZN8UnitTest10CheckEqualIiiEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %485, ptr noundef nonnull align 4 dereferenceable(4) %42, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 8 dereferenceable(30) %43)
          to label %490 unwind label %505

490:                                              ; preds = %489
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #9
  br label %521

491:                                              ; preds = %467
  %492 = landingpad { ptr, i32 }
          cleanup
  %493 = extractvalue { ptr, i32 } %492, 0
  store ptr %493, ptr %5, align 8
  %494 = extractvalue { ptr, i32 } %492, 1
  store i32 %494, ptr %6, align 4
  br label %499

495:                                              ; preds = %476, %474, %471
  %496 = landingpad { ptr, i32 }
          cleanup
  %497 = extractvalue { ptr, i32 } %496, 0
  store ptr %497, ptr %5, align 8
  %498 = extractvalue { ptr, i32 } %496, 1
  store i32 %498, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #9
  br label %499

499:                                              ; preds = %495, %491
  invoke void @__cxa_end_catch()
          to label %500 unwind label %1170

500:                                              ; preds = %499
  br label %1161

501:                                              ; preds = %482
  %502 = landingpad { ptr, i32 }
          catch ptr null
  %503 = extractvalue { ptr, i32 } %502, 0
  store ptr %503, ptr %5, align 8
  %504 = extractvalue { ptr, i32 } %502, 1
  store i32 %504, ptr %6, align 4
  br label %509

505:                                              ; preds = %489, %487, %484
  %506 = landingpad { ptr, i32 }
          catch ptr null
  %507 = extractvalue { ptr, i32 } %506, 0
  store ptr %507, ptr %5, align 8
  %508 = extractvalue { ptr, i32 } %506, 1
  store i32 %508, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #9
  br label %509

509:                                              ; preds = %505, %501
  %510 = load ptr, ptr %5, align 8
  %511 = call ptr @__cxa_begin_catch(ptr %510) #9
  %512 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %513 unwind label %534

513:                                              ; preds = %509
  %514 = load ptr, ptr %512, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %44) #9
  %515 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %516 unwind label %538

516:                                              ; preds = %513
  %517 = load ptr, ptr %515, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %44, ptr noundef nonnull align 8 dereferenceable(30) %517, i32 noundef 148)
          to label %518 unwind label %538

518:                                              ; preds = %516
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %514, ptr noundef nonnull align 8 dereferenceable(30) %44, ptr noundef @.str.10)
          to label %519 unwind label %538

519:                                              ; preds = %518
  call void @llvm.lifetime.end.p0(i64 32, ptr %44) #9
  invoke void @__cxa_end_catch()
          to label %520 unwind label %159

520:                                              ; preds = %519
  br label %521

521:                                              ; preds = %520, %490
  br label %522

522:                                              ; preds = %521
  br label %523

523:                                              ; preds = %522
  br label %524

524:                                              ; preds = %523
  %525 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %526 unwind label %544

526:                                              ; preds = %524
  %527 = load ptr, ptr %525, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #9
  store i32 2, ptr %45, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #9
  %528 = call noundef i64 @_ZNKSt6vectorISt10shared_ptrI7HtnTermESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  store i64 %528, ptr %46, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 32, ptr %47) #9
  %529 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %530 unwind label %548

530:                                              ; preds = %526
  %531 = load ptr, ptr %529, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %47, ptr noundef nonnull align 8 dereferenceable(30) %531, i32 noundef 149)
          to label %532 unwind label %548

532:                                              ; preds = %530
  invoke void @_ZN8UnitTest10CheckEqualIimEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %527, ptr noundef nonnull align 4 dereferenceable(4) %45, ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull align 8 dereferenceable(30) %47)
          to label %533 unwind label %548

533:                                              ; preds = %532
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #9
  br label %564

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

538:                                              ; preds = %518, %516, %513
  %539 = landingpad { ptr, i32 }
          cleanup
  %540 = extractvalue { ptr, i32 } %539, 0
  store ptr %540, ptr %5, align 8
  %541 = extractvalue { ptr, i32 } %539, 1
  store i32 %541, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %44) #9
  br label %542

542:                                              ; preds = %538, %534
  invoke void @__cxa_end_catch()
          to label %543 unwind label %1170

543:                                              ; preds = %542
  br label %1161

544:                                              ; preds = %524
  %545 = landingpad { ptr, i32 }
          catch ptr null
  %546 = extractvalue { ptr, i32 } %545, 0
  store ptr %546, ptr %5, align 8
  %547 = extractvalue { ptr, i32 } %545, 1
  store i32 %547, ptr %6, align 4
  br label %552

548:                                              ; preds = %532, %530, %526
  %549 = landingpad { ptr, i32 }
          catch ptr null
  %550 = extractvalue { ptr, i32 } %549, 0
  store ptr %550, ptr %5, align 8
  %551 = extractvalue { ptr, i32 } %549, 1
  store i32 %551, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #9
  br label %552

552:                                              ; preds = %548, %544
  %553 = load ptr, ptr %5, align 8
  %554 = call ptr @__cxa_begin_catch(ptr %553) #9
  %555 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %556 unwind label %577

556:                                              ; preds = %552
  %557 = load ptr, ptr %555, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %48) #9
  %558 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %559 unwind label %581

559:                                              ; preds = %556
  %560 = load ptr, ptr %558, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %48, ptr noundef nonnull align 8 dereferenceable(30) %560, i32 noundef 149)
          to label %561 unwind label %581

561:                                              ; preds = %559
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %557, ptr noundef nonnull align 8 dereferenceable(30) %48, ptr noundef @.str.13)
          to label %562 unwind label %581

562:                                              ; preds = %561
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #9
  invoke void @__cxa_end_catch()
          to label %563 unwind label %159

563:                                              ; preds = %562
  br label %564

564:                                              ; preds = %563, %533
  br label %565

565:                                              ; preds = %564
  br label %566

566:                                              ; preds = %565
  br label %567

567:                                              ; preds = %566
  %568 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %569 unwind label %587

569:                                              ; preds = %567
  %570 = load ptr, ptr %568, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %49) #9
  invoke void @_ZN7HtnTerm8ToStringB5cxx11ERKSt6vectorISt10shared_ptrIS_ESaIS2_EEbb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %49, ptr noundef nonnull align 8 dereferenceable(24) %16, i1 noundef zeroext false, i1 noundef zeroext true)
          to label %571 unwind label %591

571:                                              ; preds = %569
  call void @llvm.lifetime.start.p0(i64 32, ptr %50) #9
  %572 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %573 unwind label %595

573:                                              ; preds = %571
  %574 = load ptr, ptr %572, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %50, ptr noundef nonnull align 8 dereferenceable(30) %574, i32 noundef 150)
          to label %575 unwind label %595

575:                                              ; preds = %573
  invoke void @_ZN8UnitTest10CheckEqualIA21_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %570, ptr noundef nonnull align 1 dereferenceable(21) @.str.14, ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef nonnull align 8 dereferenceable(30) %50)
          to label %576 unwind label %595

576:                                              ; preds = %575
  call void @llvm.lifetime.end.p0(i64 32, ptr %50) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %49) #9
  br label %612

577:                                              ; preds = %552
  %578 = landingpad { ptr, i32 }
          cleanup
  %579 = extractvalue { ptr, i32 } %578, 0
  store ptr %579, ptr %5, align 8
  %580 = extractvalue { ptr, i32 } %578, 1
  store i32 %580, ptr %6, align 4
  br label %585

581:                                              ; preds = %561, %559, %556
  %582 = landingpad { ptr, i32 }
          cleanup
  %583 = extractvalue { ptr, i32 } %582, 0
  store ptr %583, ptr %5, align 8
  %584 = extractvalue { ptr, i32 } %582, 1
  store i32 %584, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #9
  br label %585

585:                                              ; preds = %581, %577
  invoke void @__cxa_end_catch()
          to label %586 unwind label %1170

586:                                              ; preds = %585
  br label %1161

587:                                              ; preds = %567
  %588 = landingpad { ptr, i32 }
          catch ptr null
  %589 = extractvalue { ptr, i32 } %588, 0
  store ptr %589, ptr %5, align 8
  %590 = extractvalue { ptr, i32 } %588, 1
  store i32 %590, ptr %6, align 4
  br label %600

591:                                              ; preds = %569
  %592 = landingpad { ptr, i32 }
          catch ptr null
  %593 = extractvalue { ptr, i32 } %592, 0
  store ptr %593, ptr %5, align 8
  %594 = extractvalue { ptr, i32 } %592, 1
  store i32 %594, ptr %6, align 4
  br label %599

595:                                              ; preds = %575, %573, %571
  %596 = landingpad { ptr, i32 }
          catch ptr null
  %597 = extractvalue { ptr, i32 } %596, 0
  store ptr %597, ptr %5, align 8
  %598 = extractvalue { ptr, i32 } %596, 1
  store i32 %598, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %50) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #9
  br label %599

599:                                              ; preds = %595, %591
  call void @llvm.lifetime.end.p0(i64 32, ptr %49) #9
  br label %600

600:                                              ; preds = %599, %587
  %601 = load ptr, ptr %5, align 8
  %602 = call ptr @__cxa_begin_catch(ptr %601) #9
  %603 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %604 unwind label %641

604:                                              ; preds = %600
  %605 = load ptr, ptr %603, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %51) #9
  %606 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %607 unwind label %645

607:                                              ; preds = %604
  %608 = load ptr, ptr %606, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %51, ptr noundef nonnull align 8 dereferenceable(30) %608, i32 noundef 150)
          to label %609 unwind label %645

609:                                              ; preds = %607
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %605, ptr noundef nonnull align 8 dereferenceable(30) %51, ptr noundef @.str.15)
          to label %610 unwind label %645

610:                                              ; preds = %609
  call void @llvm.lifetime.end.p0(i64 32, ptr %51) #9
  invoke void @__cxa_end_catch()
          to label %611 unwind label %159

611:                                              ; preds = %610
  br label %612

612:                                              ; preds = %611, %576
  br label %613

613:                                              ; preds = %612
  br label %614

614:                                              ; preds = %613
  %615 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  %616 = load ptr, ptr %615, align 8, !tbaa !9
  %617 = getelementptr inbounds ptr, ptr %616, i64 4
  %618 = load ptr, ptr %617, align 8
  invoke void %618(ptr noundef nonnull align 8 dereferenceable(88) %615)
          to label %619 unwind label %159

619:                                              ; preds = %614
  %620 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef @.str.16)
          to label %621 unwind label %159

621:                                              ; preds = %619
  br label %622

622:                                              ; preds = %621
  %623 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %53) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %54) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_SA_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %54, ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %624 unwind label %651

624:                                              ; preds = %622
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_RKS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %53, ptr noundef nonnull align 8 dereferenceable(32) %54, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %625 unwind label %655

625:                                              ; preds = %624
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_RKS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %52, ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %626 unwind label %659

626:                                              ; preds = %625
  %627 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %623, ptr noundef %52)
          to label %628 unwind label %663

628:                                              ; preds = %626
  %629 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %627)
          to label %630 unwind label %663

630:                                              ; preds = %628
  %631 = xor i1 %629, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %54) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %53) #9
  br i1 %631, label %632, label %708

632:                                              ; preds = %630
  %633 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %634 unwind label %670

634:                                              ; preds = %632
  %635 = load ptr, ptr %633, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %55) #9
  %636 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %637 unwind label %674

637:                                              ; preds = %634
  %638 = load ptr, ptr %636, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %55, ptr noundef nonnull align 8 dereferenceable(30) %638, i32 noundef 155)
          to label %639 unwind label %674

639:                                              ; preds = %637
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %635, ptr noundef nonnull align 8 dereferenceable(30) %55, ptr noundef @.str.6)
          to label %640 unwind label %674

640:                                              ; preds = %639
  call void @llvm.lifetime.end.p0(i64 32, ptr %55) #9
  br label %708

641:                                              ; preds = %600
  %642 = landingpad { ptr, i32 }
          cleanup
  %643 = extractvalue { ptr, i32 } %642, 0
  store ptr %643, ptr %5, align 8
  %644 = extractvalue { ptr, i32 } %642, 1
  store i32 %644, ptr %6, align 4
  br label %649

645:                                              ; preds = %609, %607, %604
  %646 = landingpad { ptr, i32 }
          cleanup
  %647 = extractvalue { ptr, i32 } %646, 0
  store ptr %647, ptr %5, align 8
  %648 = extractvalue { ptr, i32 } %646, 1
  store i32 %648, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %51) #9
  br label %649

649:                                              ; preds = %645, %641
  invoke void @__cxa_end_catch()
          to label %650 unwind label %1170

650:                                              ; preds = %649
  br label %1161

651:                                              ; preds = %622
  %652 = landingpad { ptr, i32 }
          catch ptr null
  %653 = extractvalue { ptr, i32 } %652, 0
  store ptr %653, ptr %5, align 8
  %654 = extractvalue { ptr, i32 } %652, 1
  store i32 %654, ptr %6, align 4
  br label %669

655:                                              ; preds = %624
  %656 = landingpad { ptr, i32 }
          catch ptr null
  %657 = extractvalue { ptr, i32 } %656, 0
  store ptr %657, ptr %5, align 8
  %658 = extractvalue { ptr, i32 } %656, 1
  store i32 %658, ptr %6, align 4
  br label %668

659:                                              ; preds = %625
  %660 = landingpad { ptr, i32 }
          catch ptr null
  %661 = extractvalue { ptr, i32 } %660, 0
  store ptr %661, ptr %5, align 8
  %662 = extractvalue { ptr, i32 } %660, 1
  store i32 %662, ptr %6, align 4
  br label %667

663:                                              ; preds = %628, %626
  %664 = landingpad { ptr, i32 }
          catch ptr null
  %665 = extractvalue { ptr, i32 } %664, 0
  store ptr %665, ptr %5, align 8
  %666 = extractvalue { ptr, i32 } %664, 1
  store i32 %666, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #9
  br label %667

667:                                              ; preds = %663, %659
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #9
  br label %668

668:                                              ; preds = %667, %655
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #9
  br label %669

669:                                              ; preds = %668, %651
  call void @llvm.lifetime.end.p0(i64 32, ptr %54) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %53) #9
  br label %678

670:                                              ; preds = %632
  %671 = landingpad { ptr, i32 }
          catch ptr null
  %672 = extractvalue { ptr, i32 } %671, 0
  store ptr %672, ptr %5, align 8
  %673 = extractvalue { ptr, i32 } %671, 1
  store i32 %673, ptr %6, align 4
  br label %678

674:                                              ; preds = %639, %637, %634
  %675 = landingpad { ptr, i32 }
          catch ptr null
  %676 = extractvalue { ptr, i32 } %675, 0
  store ptr %676, ptr %5, align 8
  %677 = extractvalue { ptr, i32 } %675, 1
  store i32 %677, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %55) #9
  br label %678

678:                                              ; preds = %674, %670, %669
  %679 = load ptr, ptr %5, align 8
  %680 = call ptr @__cxa_begin_catch(ptr %679) #9
  %681 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %682 unwind label %709

682:                                              ; preds = %678
  %683 = load ptr, ptr %681, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %56) #9
  %684 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %685 unwind label %713

685:                                              ; preds = %682
  %686 = load ptr, ptr %684, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %56, ptr noundef nonnull align 8 dereferenceable(30) %686, i32 noundef 155)
          to label %687 unwind label %713

687:                                              ; preds = %685
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %683, ptr noundef nonnull align 8 dereferenceable(30) %56, ptr noundef @.str.7)
          to label %688 unwind label %713

688:                                              ; preds = %687
  call void @llvm.lifetime.end.p0(i64 32, ptr %56) #9
  invoke void @__cxa_end_catch()
          to label %689 unwind label %159

689:                                              ; preds = %688
  br label %690

690:                                              ; preds = %708, %689
  br label %691

691:                                              ; preds = %690
  br label %692

692:                                              ; preds = %691
  call void @llvm.lifetime.start.p0(i64 16, ptr %57) #9
  %693 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE10SolveGoalsEP15HtnGoalResolveriPlPiPSt6vectorISt10shared_ptrI7HtnTermESaISA_EE(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.85") align 8 %57, ptr noundef nonnull align 8 dereferenceable(88) %693, ptr noundef %3, i32 noundef 1000000, ptr noundef null, ptr noundef %15, ptr noundef %16)
          to label %694 unwind label %719

694:                                              ; preds = %692
  %695 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %57) #9
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %57) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %57) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %58) #9
  %696 = call noundef ptr @_ZNKSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %9) #9
  invoke void @_ZN15HtnGoalResolver8ToStringB5cxx11EPKSt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %58, ptr noundef %696, i1 noundef zeroext false)
          to label %697 unwind label %723

697:                                              ; preds = %694
  %698 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %58) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %58) #9
  br label %699

699:                                              ; preds = %697
  %700 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %701 unwind label %727

701:                                              ; preds = %699
  %702 = load ptr, ptr %700, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %59) #9
  %703 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %704 unwind label %731

704:                                              ; preds = %701
  %705 = load ptr, ptr %703, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %59, ptr noundef nonnull align 8 dereferenceable(30) %705, i32 noundef 158)
          to label %706 unwind label %731

706:                                              ; preds = %704
  invoke void @_ZN8UnitTest10CheckEqualINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA5_cEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %702, ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 1 dereferenceable(5) @.str.8, ptr noundef nonnull align 8 dereferenceable(30) %59)
          to label %707 unwind label %731

707:                                              ; preds = %706
  call void @llvm.lifetime.end.p0(i64 32, ptr %59) #9
  br label %747

708:                                              ; preds = %640, %630
  br label %690

709:                                              ; preds = %678
  %710 = landingpad { ptr, i32 }
          cleanup
  %711 = extractvalue { ptr, i32 } %710, 0
  store ptr %711, ptr %5, align 8
  %712 = extractvalue { ptr, i32 } %710, 1
  store i32 %712, ptr %6, align 4
  br label %717

713:                                              ; preds = %687, %685, %682
  %714 = landingpad { ptr, i32 }
          cleanup
  %715 = extractvalue { ptr, i32 } %714, 0
  store ptr %715, ptr %5, align 8
  %716 = extractvalue { ptr, i32 } %714, 1
  store i32 %716, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %56) #9
  br label %717

717:                                              ; preds = %713, %709
  invoke void @__cxa_end_catch()
          to label %718 unwind label %1170

718:                                              ; preds = %717
  br label %1161

719:                                              ; preds = %692
  %720 = landingpad { ptr, i32 }
          cleanup
  %721 = extractvalue { ptr, i32 } %720, 0
  store ptr %721, ptr %5, align 8
  %722 = extractvalue { ptr, i32 } %720, 1
  store i32 %722, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %57) #9
  br label %1161

723:                                              ; preds = %694
  %724 = landingpad { ptr, i32 }
          cleanup
  %725 = extractvalue { ptr, i32 } %724, 0
  store ptr %725, ptr %5, align 8
  %726 = extractvalue { ptr, i32 } %724, 1
  store i32 %726, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %58) #9
  br label %1161

727:                                              ; preds = %699
  %728 = landingpad { ptr, i32 }
          catch ptr null
  %729 = extractvalue { ptr, i32 } %728, 0
  store ptr %729, ptr %5, align 8
  %730 = extractvalue { ptr, i32 } %728, 1
  store i32 %730, ptr %6, align 4
  br label %735

731:                                              ; preds = %706, %704, %701
  %732 = landingpad { ptr, i32 }
          catch ptr null
  %733 = extractvalue { ptr, i32 } %732, 0
  store ptr %733, ptr %5, align 8
  %734 = extractvalue { ptr, i32 } %732, 1
  store i32 %734, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %59) #9
  br label %735

735:                                              ; preds = %731, %727
  %736 = load ptr, ptr %5, align 8
  %737 = call ptr @__cxa_begin_catch(ptr %736) #9
  %738 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %739 unwind label %759

739:                                              ; preds = %735
  %740 = load ptr, ptr %738, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %60) #9
  %741 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %742 unwind label %763

742:                                              ; preds = %739
  %743 = load ptr, ptr %741, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %60, ptr noundef nonnull align 8 dereferenceable(30) %743, i32 noundef 158)
          to label %744 unwind label %763

744:                                              ; preds = %742
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %740, ptr noundef nonnull align 8 dereferenceable(30) %60, ptr noundef @.str.9)
          to label %745 unwind label %763

745:                                              ; preds = %744
  call void @llvm.lifetime.end.p0(i64 32, ptr %60) #9
  invoke void @__cxa_end_catch()
          to label %746 unwind label %159

746:                                              ; preds = %745
  br label %747

747:                                              ; preds = %746, %707
  br label %748

748:                                              ; preds = %747
  br label %749

749:                                              ; preds = %748
  br label %750

750:                                              ; preds = %749
  %751 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %752 unwind label %769

752:                                              ; preds = %750
  %753 = load ptr, ptr %751, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %61) #9
  store i32 1, ptr %61, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr %62) #9
  %754 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %755 unwind label %773

755:                                              ; preds = %752
  %756 = load ptr, ptr %754, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %62, ptr noundef nonnull align 8 dereferenceable(30) %756, i32 noundef 159)
          to label %757 unwind label %773

757:                                              ; preds = %755
  invoke void @_ZN8UnitTest10CheckEqualIiiEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %753, ptr noundef nonnull align 4 dereferenceable(4) %61, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 8 dereferenceable(30) %62)
          to label %758 unwind label %773

758:                                              ; preds = %757
  call void @llvm.lifetime.end.p0(i64 32, ptr %62) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #9
  br label %789

759:                                              ; preds = %735
  %760 = landingpad { ptr, i32 }
          cleanup
  %761 = extractvalue { ptr, i32 } %760, 0
  store ptr %761, ptr %5, align 8
  %762 = extractvalue { ptr, i32 } %760, 1
  store i32 %762, ptr %6, align 4
  br label %767

763:                                              ; preds = %744, %742, %739
  %764 = landingpad { ptr, i32 }
          cleanup
  %765 = extractvalue { ptr, i32 } %764, 0
  store ptr %765, ptr %5, align 8
  %766 = extractvalue { ptr, i32 } %764, 1
  store i32 %766, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %60) #9
  br label %767

767:                                              ; preds = %763, %759
  invoke void @__cxa_end_catch()
          to label %768 unwind label %1170

768:                                              ; preds = %767
  br label %1161

769:                                              ; preds = %750
  %770 = landingpad { ptr, i32 }
          catch ptr null
  %771 = extractvalue { ptr, i32 } %770, 0
  store ptr %771, ptr %5, align 8
  %772 = extractvalue { ptr, i32 } %770, 1
  store i32 %772, ptr %6, align 4
  br label %777

773:                                              ; preds = %757, %755, %752
  %774 = landingpad { ptr, i32 }
          catch ptr null
  %775 = extractvalue { ptr, i32 } %774, 0
  store ptr %775, ptr %5, align 8
  %776 = extractvalue { ptr, i32 } %774, 1
  store i32 %776, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %62) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #9
  br label %777

777:                                              ; preds = %773, %769
  %778 = load ptr, ptr %5, align 8
  %779 = call ptr @__cxa_begin_catch(ptr %778) #9
  %780 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %781 unwind label %802

781:                                              ; preds = %777
  %782 = load ptr, ptr %780, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %63) #9
  %783 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %784 unwind label %806

784:                                              ; preds = %781
  %785 = load ptr, ptr %783, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %63, ptr noundef nonnull align 8 dereferenceable(30) %785, i32 noundef 159)
          to label %786 unwind label %806

786:                                              ; preds = %784
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %782, ptr noundef nonnull align 8 dereferenceable(30) %63, ptr noundef @.str.10)
          to label %787 unwind label %806

787:                                              ; preds = %786
  call void @llvm.lifetime.end.p0(i64 32, ptr %63) #9
  invoke void @__cxa_end_catch()
          to label %788 unwind label %159

788:                                              ; preds = %787
  br label %789

789:                                              ; preds = %788, %758
  br label %790

790:                                              ; preds = %789
  br label %791

791:                                              ; preds = %790
  br label %792

792:                                              ; preds = %791
  %793 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %794 unwind label %812

794:                                              ; preds = %792
  %795 = load ptr, ptr %793, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %64) #9
  store i32 2, ptr %64, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #9
  %796 = call noundef i64 @_ZNKSt6vectorISt10shared_ptrI7HtnTermESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  store i64 %796, ptr %65, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 32, ptr %66) #9
  %797 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %798 unwind label %816

798:                                              ; preds = %794
  %799 = load ptr, ptr %797, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %66, ptr noundef nonnull align 8 dereferenceable(30) %799, i32 noundef 160)
          to label %800 unwind label %816

800:                                              ; preds = %798
  invoke void @_ZN8UnitTest10CheckEqualIimEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %795, ptr noundef nonnull align 4 dereferenceable(4) %64, ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef nonnull align 8 dereferenceable(30) %66)
          to label %801 unwind label %816

801:                                              ; preds = %800
  call void @llvm.lifetime.end.p0(i64 32, ptr %66) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #9
  br label %832

802:                                              ; preds = %777
  %803 = landingpad { ptr, i32 }
          cleanup
  %804 = extractvalue { ptr, i32 } %803, 0
  store ptr %804, ptr %5, align 8
  %805 = extractvalue { ptr, i32 } %803, 1
  store i32 %805, ptr %6, align 4
  br label %810

806:                                              ; preds = %786, %784, %781
  %807 = landingpad { ptr, i32 }
          cleanup
  %808 = extractvalue { ptr, i32 } %807, 0
  store ptr %808, ptr %5, align 8
  %809 = extractvalue { ptr, i32 } %807, 1
  store i32 %809, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %63) #9
  br label %810

810:                                              ; preds = %806, %802
  invoke void @__cxa_end_catch()
          to label %811 unwind label %1170

811:                                              ; preds = %810
  br label %1161

812:                                              ; preds = %792
  %813 = landingpad { ptr, i32 }
          catch ptr null
  %814 = extractvalue { ptr, i32 } %813, 0
  store ptr %814, ptr %5, align 8
  %815 = extractvalue { ptr, i32 } %813, 1
  store i32 %815, ptr %6, align 4
  br label %820

816:                                              ; preds = %800, %798, %794
  %817 = landingpad { ptr, i32 }
          catch ptr null
  %818 = extractvalue { ptr, i32 } %817, 0
  store ptr %818, ptr %5, align 8
  %819 = extractvalue { ptr, i32 } %817, 1
  store i32 %819, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %66) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #9
  br label %820

820:                                              ; preds = %816, %812
  %821 = load ptr, ptr %5, align 8
  %822 = call ptr @__cxa_begin_catch(ptr %821) #9
  %823 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %824 unwind label %845

824:                                              ; preds = %820
  %825 = load ptr, ptr %823, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %67) #9
  %826 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %827 unwind label %849

827:                                              ; preds = %824
  %828 = load ptr, ptr %826, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %67, ptr noundef nonnull align 8 dereferenceable(30) %828, i32 noundef 160)
          to label %829 unwind label %849

829:                                              ; preds = %827
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %825, ptr noundef nonnull align 8 dereferenceable(30) %67, ptr noundef @.str.13)
          to label %830 unwind label %849

830:                                              ; preds = %829
  call void @llvm.lifetime.end.p0(i64 32, ptr %67) #9
  invoke void @__cxa_end_catch()
          to label %831 unwind label %159

831:                                              ; preds = %830
  br label %832

832:                                              ; preds = %831, %801
  br label %833

833:                                              ; preds = %832
  br label %834

834:                                              ; preds = %833
  br label %835

835:                                              ; preds = %834
  %836 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %837 unwind label %855

837:                                              ; preds = %835
  %838 = load ptr, ptr %836, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %68) #9
  invoke void @_ZN7HtnTerm8ToStringB5cxx11ERKSt6vectorISt10shared_ptrIS_ESaIS2_EEbb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %68, ptr noundef nonnull align 8 dereferenceable(24) %16, i1 noundef zeroext false, i1 noundef zeroext true)
          to label %839 unwind label %859

839:                                              ; preds = %837
  call void @llvm.lifetime.start.p0(i64 32, ptr %69) #9
  %840 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %841 unwind label %863

841:                                              ; preds = %839
  %842 = load ptr, ptr %840, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %69, ptr noundef nonnull align 8 dereferenceable(30) %842, i32 noundef 161)
          to label %843 unwind label %863

843:                                              ; preds = %841
  invoke void @_ZN8UnitTest10CheckEqualIA22_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %838, ptr noundef nonnull align 1 dereferenceable(22) @.str.17, ptr noundef nonnull align 8 dereferenceable(32) %68, ptr noundef nonnull align 8 dereferenceable(30) %69)
          to label %844 unwind label %863

844:                                              ; preds = %843
  call void @llvm.lifetime.end.p0(i64 32, ptr %69) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %68) #9
  br label %880

845:                                              ; preds = %820
  %846 = landingpad { ptr, i32 }
          cleanup
  %847 = extractvalue { ptr, i32 } %846, 0
  store ptr %847, ptr %5, align 8
  %848 = extractvalue { ptr, i32 } %846, 1
  store i32 %848, ptr %6, align 4
  br label %853

849:                                              ; preds = %829, %827, %824
  %850 = landingpad { ptr, i32 }
          cleanup
  %851 = extractvalue { ptr, i32 } %850, 0
  store ptr %851, ptr %5, align 8
  %852 = extractvalue { ptr, i32 } %850, 1
  store i32 %852, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %67) #9
  br label %853

853:                                              ; preds = %849, %845
  invoke void @__cxa_end_catch()
          to label %854 unwind label %1170

854:                                              ; preds = %853
  br label %1161

855:                                              ; preds = %835
  %856 = landingpad { ptr, i32 }
          catch ptr null
  %857 = extractvalue { ptr, i32 } %856, 0
  store ptr %857, ptr %5, align 8
  %858 = extractvalue { ptr, i32 } %856, 1
  store i32 %858, ptr %6, align 4
  br label %868

859:                                              ; preds = %837
  %860 = landingpad { ptr, i32 }
          catch ptr null
  %861 = extractvalue { ptr, i32 } %860, 0
  store ptr %861, ptr %5, align 8
  %862 = extractvalue { ptr, i32 } %860, 1
  store i32 %862, ptr %6, align 4
  br label %867

863:                                              ; preds = %843, %841, %839
  %864 = landingpad { ptr, i32 }
          catch ptr null
  %865 = extractvalue { ptr, i32 } %864, 0
  store ptr %865, ptr %5, align 8
  %866 = extractvalue { ptr, i32 } %864, 1
  store i32 %866, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %69) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #9
  br label %867

867:                                              ; preds = %863, %859
  call void @llvm.lifetime.end.p0(i64 32, ptr %68) #9
  br label %868

868:                                              ; preds = %867, %855
  %869 = load ptr, ptr %5, align 8
  %870 = call ptr @__cxa_begin_catch(ptr %869) #9
  %871 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %872 unwind label %909

872:                                              ; preds = %868
  %873 = load ptr, ptr %871, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %70) #9
  %874 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %875 unwind label %913

875:                                              ; preds = %872
  %876 = load ptr, ptr %874, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %70, ptr noundef nonnull align 8 dereferenceable(30) %876, i32 noundef 161)
          to label %877 unwind label %913

877:                                              ; preds = %875
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %873, ptr noundef nonnull align 8 dereferenceable(30) %70, ptr noundef @.str.18)
          to label %878 unwind label %913

878:                                              ; preds = %877
  call void @llvm.lifetime.end.p0(i64 32, ptr %70) #9
  invoke void @__cxa_end_catch()
          to label %879 unwind label %159

879:                                              ; preds = %878
  br label %880

880:                                              ; preds = %879, %844
  br label %881

881:                                              ; preds = %880
  br label %882

882:                                              ; preds = %881
  %883 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  %884 = load ptr, ptr %883, align 8, !tbaa !9
  %885 = getelementptr inbounds ptr, ptr %884, i64 4
  %886 = load ptr, ptr %885, align 8
  invoke void %886(ptr noundef nonnull align 8 dereferenceable(88) %883)
          to label %887 unwind label %159

887:                                              ; preds = %882
  %888 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef @.str.19)
          to label %889 unwind label %159

889:                                              ; preds = %887
  br label %890

890:                                              ; preds = %889
  %891 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %72) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %73) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_SA_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %73, ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %892 unwind label %919

892:                                              ; preds = %890
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_RKS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %72, ptr noundef nonnull align 8 dereferenceable(32) %73, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %893 unwind label %923

893:                                              ; preds = %892
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_RKS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %71, ptr noundef nonnull align 8 dereferenceable(32) %72, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %894 unwind label %927

894:                                              ; preds = %893
  %895 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %891, ptr noundef %71)
          to label %896 unwind label %931

896:                                              ; preds = %894
  %897 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %895)
          to label %898 unwind label %931

898:                                              ; preds = %896
  %899 = xor i1 %897, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %71) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %73) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %72) #9
  br i1 %899, label %900, label %976

900:                                              ; preds = %898
  %901 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %902 unwind label %938

902:                                              ; preds = %900
  %903 = load ptr, ptr %901, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %74) #9
  %904 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %905 unwind label %942

905:                                              ; preds = %902
  %906 = load ptr, ptr %904, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %74, ptr noundef nonnull align 8 dereferenceable(30) %906, i32 noundef 166)
          to label %907 unwind label %942

907:                                              ; preds = %905
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %903, ptr noundef nonnull align 8 dereferenceable(30) %74, ptr noundef @.str.6)
          to label %908 unwind label %942

908:                                              ; preds = %907
  call void @llvm.lifetime.end.p0(i64 32, ptr %74) #9
  br label %976

909:                                              ; preds = %868
  %910 = landingpad { ptr, i32 }
          cleanup
  %911 = extractvalue { ptr, i32 } %910, 0
  store ptr %911, ptr %5, align 8
  %912 = extractvalue { ptr, i32 } %910, 1
  store i32 %912, ptr %6, align 4
  br label %917

913:                                              ; preds = %877, %875, %872
  %914 = landingpad { ptr, i32 }
          cleanup
  %915 = extractvalue { ptr, i32 } %914, 0
  store ptr %915, ptr %5, align 8
  %916 = extractvalue { ptr, i32 } %914, 1
  store i32 %916, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %70) #9
  br label %917

917:                                              ; preds = %913, %909
  invoke void @__cxa_end_catch()
          to label %918 unwind label %1170

918:                                              ; preds = %917
  br label %1161

919:                                              ; preds = %890
  %920 = landingpad { ptr, i32 }
          catch ptr null
  %921 = extractvalue { ptr, i32 } %920, 0
  store ptr %921, ptr %5, align 8
  %922 = extractvalue { ptr, i32 } %920, 1
  store i32 %922, ptr %6, align 4
  br label %937

923:                                              ; preds = %892
  %924 = landingpad { ptr, i32 }
          catch ptr null
  %925 = extractvalue { ptr, i32 } %924, 0
  store ptr %925, ptr %5, align 8
  %926 = extractvalue { ptr, i32 } %924, 1
  store i32 %926, ptr %6, align 4
  br label %936

927:                                              ; preds = %893
  %928 = landingpad { ptr, i32 }
          catch ptr null
  %929 = extractvalue { ptr, i32 } %928, 0
  store ptr %929, ptr %5, align 8
  %930 = extractvalue { ptr, i32 } %928, 1
  store i32 %930, ptr %6, align 4
  br label %935

931:                                              ; preds = %896, %894
  %932 = landingpad { ptr, i32 }
          catch ptr null
  %933 = extractvalue { ptr, i32 } %932, 0
  store ptr %933, ptr %5, align 8
  %934 = extractvalue { ptr, i32 } %932, 1
  store i32 %934, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %71) #9
  br label %935

935:                                              ; preds = %931, %927
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #9
  br label %936

936:                                              ; preds = %935, %923
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #9
  br label %937

937:                                              ; preds = %936, %919
  call void @llvm.lifetime.end.p0(i64 32, ptr %73) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %72) #9
  br label %946

938:                                              ; preds = %900
  %939 = landingpad { ptr, i32 }
          catch ptr null
  %940 = extractvalue { ptr, i32 } %939, 0
  store ptr %940, ptr %5, align 8
  %941 = extractvalue { ptr, i32 } %939, 1
  store i32 %941, ptr %6, align 4
  br label %946

942:                                              ; preds = %907, %905, %902
  %943 = landingpad { ptr, i32 }
          catch ptr null
  %944 = extractvalue { ptr, i32 } %943, 0
  store ptr %944, ptr %5, align 8
  %945 = extractvalue { ptr, i32 } %943, 1
  store i32 %945, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %74) #9
  br label %946

946:                                              ; preds = %942, %938, %937
  %947 = load ptr, ptr %5, align 8
  %948 = call ptr @__cxa_begin_catch(ptr %947) #9
  %949 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %950 unwind label %977

950:                                              ; preds = %946
  %951 = load ptr, ptr %949, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %75) #9
  %952 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %953 unwind label %981

953:                                              ; preds = %950
  %954 = load ptr, ptr %952, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %75, ptr noundef nonnull align 8 dereferenceable(30) %954, i32 noundef 166)
          to label %955 unwind label %981

955:                                              ; preds = %953
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %951, ptr noundef nonnull align 8 dereferenceable(30) %75, ptr noundef @.str.7)
          to label %956 unwind label %981

956:                                              ; preds = %955
  call void @llvm.lifetime.end.p0(i64 32, ptr %75) #9
  invoke void @__cxa_end_catch()
          to label %957 unwind label %159

957:                                              ; preds = %956
  br label %958

958:                                              ; preds = %976, %957
  br label %959

959:                                              ; preds = %958
  br label %960

960:                                              ; preds = %959
  call void @llvm.lifetime.start.p0(i64 16, ptr %76) #9
  %961 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE10SolveGoalsEP15HtnGoalResolveriPlPiPSt6vectorISt10shared_ptrI7HtnTermESaISA_EE(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.85") align 8 %76, ptr noundef nonnull align 8 dereferenceable(88) %961, ptr noundef %3, i32 noundef 1000000, ptr noundef null, ptr noundef %15, ptr noundef %16)
          to label %962 unwind label %987

962:                                              ; preds = %960
  %963 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %76) #9
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %76) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %76) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %77) #9
  %964 = call noundef ptr @_ZNKSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %9) #9
  invoke void @_ZN15HtnGoalResolver8ToStringB5cxx11EPKSt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %77, ptr noundef %964, i1 noundef zeroext false)
          to label %965 unwind label %991

965:                                              ; preds = %962
  %966 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %77) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %77) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %77) #9
  br label %967

967:                                              ; preds = %965
  %968 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %969 unwind label %995

969:                                              ; preds = %967
  %970 = load ptr, ptr %968, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %78) #9
  %971 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %972 unwind label %999

972:                                              ; preds = %969
  %973 = load ptr, ptr %971, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %78, ptr noundef nonnull align 8 dereferenceable(30) %973, i32 noundef 169)
          to label %974 unwind label %999

974:                                              ; preds = %972
  invoke void @_ZN8UnitTest10CheckEqualIA5_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %970, ptr noundef nonnull align 1 dereferenceable(5) @.str.8, ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(30) %78)
          to label %975 unwind label %999

975:                                              ; preds = %974
  call void @llvm.lifetime.end.p0(i64 32, ptr %78) #9
  br label %1015

976:                                              ; preds = %908, %898
  br label %958

977:                                              ; preds = %946
  %978 = landingpad { ptr, i32 }
          cleanup
  %979 = extractvalue { ptr, i32 } %978, 0
  store ptr %979, ptr %5, align 8
  %980 = extractvalue { ptr, i32 } %978, 1
  store i32 %980, ptr %6, align 4
  br label %985

981:                                              ; preds = %955, %953, %950
  %982 = landingpad { ptr, i32 }
          cleanup
  %983 = extractvalue { ptr, i32 } %982, 0
  store ptr %983, ptr %5, align 8
  %984 = extractvalue { ptr, i32 } %982, 1
  store i32 %984, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %75) #9
  br label %985

985:                                              ; preds = %981, %977
  invoke void @__cxa_end_catch()
          to label %986 unwind label %1170

986:                                              ; preds = %985
  br label %1161

987:                                              ; preds = %960
  %988 = landingpad { ptr, i32 }
          cleanup
  %989 = extractvalue { ptr, i32 } %988, 0
  store ptr %989, ptr %5, align 8
  %990 = extractvalue { ptr, i32 } %988, 1
  store i32 %990, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %76) #9
  br label %1161

991:                                              ; preds = %962
  %992 = landingpad { ptr, i32 }
          cleanup
  %993 = extractvalue { ptr, i32 } %992, 0
  store ptr %993, ptr %5, align 8
  %994 = extractvalue { ptr, i32 } %992, 1
  store i32 %994, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %77) #9
  br label %1161

995:                                              ; preds = %967
  %996 = landingpad { ptr, i32 }
          catch ptr null
  %997 = extractvalue { ptr, i32 } %996, 0
  store ptr %997, ptr %5, align 8
  %998 = extractvalue { ptr, i32 } %996, 1
  store i32 %998, ptr %6, align 4
  br label %1003

999:                                              ; preds = %974, %972, %969
  %1000 = landingpad { ptr, i32 }
          catch ptr null
  %1001 = extractvalue { ptr, i32 } %1000, 0
  store ptr %1001, ptr %5, align 8
  %1002 = extractvalue { ptr, i32 } %1000, 1
  store i32 %1002, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %78) #9
  br label %1003

1003:                                             ; preds = %999, %995
  %1004 = load ptr, ptr %5, align 8
  %1005 = call ptr @__cxa_begin_catch(ptr %1004) #9
  %1006 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1007 unwind label %1027

1007:                                             ; preds = %1003
  %1008 = load ptr, ptr %1006, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %79) #9
  %1009 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1010 unwind label %1031

1010:                                             ; preds = %1007
  %1011 = load ptr, ptr %1009, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %79, ptr noundef nonnull align 8 dereferenceable(30) %1011, i32 noundef 169)
          to label %1012 unwind label %1031

1012:                                             ; preds = %1010
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1008, ptr noundef nonnull align 8 dereferenceable(30) %79, ptr noundef @.str.20)
          to label %1013 unwind label %1031

1013:                                             ; preds = %1012
  call void @llvm.lifetime.end.p0(i64 32, ptr %79) #9
  invoke void @__cxa_end_catch()
          to label %1014 unwind label %159

1014:                                             ; preds = %1013
  br label %1015

1015:                                             ; preds = %1014, %975
  br label %1016

1016:                                             ; preds = %1015
  br label %1017

1017:                                             ; preds = %1016
  br label %1018

1018:                                             ; preds = %1017
  %1019 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1020 unwind label %1037

1020:                                             ; preds = %1018
  %1021 = load ptr, ptr %1019, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %80) #9
  store i32 2, ptr %80, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr %81) #9
  %1022 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1023 unwind label %1041

1023:                                             ; preds = %1020
  %1024 = load ptr, ptr %1022, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %81, ptr noundef nonnull align 8 dereferenceable(30) %1024, i32 noundef 170)
          to label %1025 unwind label %1041

1025:                                             ; preds = %1023
  invoke void @_ZN8UnitTest10CheckEqualIiiEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %1021, ptr noundef nonnull align 4 dereferenceable(4) %80, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 8 dereferenceable(30) %81)
          to label %1026 unwind label %1041

1026:                                             ; preds = %1025
  call void @llvm.lifetime.end.p0(i64 32, ptr %81) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %80) #9
  br label %1057

1027:                                             ; preds = %1003
  %1028 = landingpad { ptr, i32 }
          cleanup
  %1029 = extractvalue { ptr, i32 } %1028, 0
  store ptr %1029, ptr %5, align 8
  %1030 = extractvalue { ptr, i32 } %1028, 1
  store i32 %1030, ptr %6, align 4
  br label %1035

1031:                                             ; preds = %1012, %1010, %1007
  %1032 = landingpad { ptr, i32 }
          cleanup
  %1033 = extractvalue { ptr, i32 } %1032, 0
  store ptr %1033, ptr %5, align 8
  %1034 = extractvalue { ptr, i32 } %1032, 1
  store i32 %1034, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %79) #9
  br label %1035

1035:                                             ; preds = %1031, %1027
  invoke void @__cxa_end_catch()
          to label %1036 unwind label %1170

1036:                                             ; preds = %1035
  br label %1161

1037:                                             ; preds = %1018
  %1038 = landingpad { ptr, i32 }
          catch ptr null
  %1039 = extractvalue { ptr, i32 } %1038, 0
  store ptr %1039, ptr %5, align 8
  %1040 = extractvalue { ptr, i32 } %1038, 1
  store i32 %1040, ptr %6, align 4
  br label %1045

1041:                                             ; preds = %1025, %1023, %1020
  %1042 = landingpad { ptr, i32 }
          catch ptr null
  %1043 = extractvalue { ptr, i32 } %1042, 0
  store ptr %1043, ptr %5, align 8
  %1044 = extractvalue { ptr, i32 } %1042, 1
  store i32 %1044, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %81) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %80) #9
  br label %1045

1045:                                             ; preds = %1041, %1037
  %1046 = load ptr, ptr %5, align 8
  %1047 = call ptr @__cxa_begin_catch(ptr %1046) #9
  %1048 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1049 unwind label %1070

1049:                                             ; preds = %1045
  %1050 = load ptr, ptr %1048, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %82) #9
  %1051 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1052 unwind label %1074

1052:                                             ; preds = %1049
  %1053 = load ptr, ptr %1051, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %82, ptr noundef nonnull align 8 dereferenceable(30) %1053, i32 noundef 170)
          to label %1054 unwind label %1074

1054:                                             ; preds = %1052
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1050, ptr noundef nonnull align 8 dereferenceable(30) %82, ptr noundef @.str.21)
          to label %1055 unwind label %1074

1055:                                             ; preds = %1054
  call void @llvm.lifetime.end.p0(i64 32, ptr %82) #9
  invoke void @__cxa_end_catch()
          to label %1056 unwind label %159

1056:                                             ; preds = %1055
  br label %1057

1057:                                             ; preds = %1056, %1026
  br label %1058

1058:                                             ; preds = %1057
  br label %1059

1059:                                             ; preds = %1058
  br label %1060

1060:                                             ; preds = %1059
  %1061 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1062 unwind label %1080

1062:                                             ; preds = %1060
  %1063 = load ptr, ptr %1061, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %83) #9
  store i32 2, ptr %83, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %84) #9
  %1064 = call noundef i64 @_ZNKSt6vectorISt10shared_ptrI7HtnTermESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  store i64 %1064, ptr %84, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 32, ptr %85) #9
  %1065 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1066 unwind label %1084

1066:                                             ; preds = %1062
  %1067 = load ptr, ptr %1065, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %85, ptr noundef nonnull align 8 dereferenceable(30) %1067, i32 noundef 171)
          to label %1068 unwind label %1084

1068:                                             ; preds = %1066
  invoke void @_ZN8UnitTest10CheckEqualIimEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %1063, ptr noundef nonnull align 4 dereferenceable(4) %83, ptr noundef nonnull align 8 dereferenceable(8) %84, ptr noundef nonnull align 8 dereferenceable(30) %85)
          to label %1069 unwind label %1084

1069:                                             ; preds = %1068
  call void @llvm.lifetime.end.p0(i64 32, ptr %85) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %83) #9
  br label %1100

1070:                                             ; preds = %1045
  %1071 = landingpad { ptr, i32 }
          cleanup
  %1072 = extractvalue { ptr, i32 } %1071, 0
  store ptr %1072, ptr %5, align 8
  %1073 = extractvalue { ptr, i32 } %1071, 1
  store i32 %1073, ptr %6, align 4
  br label %1078

1074:                                             ; preds = %1054, %1052, %1049
  %1075 = landingpad { ptr, i32 }
          cleanup
  %1076 = extractvalue { ptr, i32 } %1075, 0
  store ptr %1076, ptr %5, align 8
  %1077 = extractvalue { ptr, i32 } %1075, 1
  store i32 %1077, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %82) #9
  br label %1078

1078:                                             ; preds = %1074, %1070
  invoke void @__cxa_end_catch()
          to label %1079 unwind label %1170

1079:                                             ; preds = %1078
  br label %1161

1080:                                             ; preds = %1060
  %1081 = landingpad { ptr, i32 }
          catch ptr null
  %1082 = extractvalue { ptr, i32 } %1081, 0
  store ptr %1082, ptr %5, align 8
  %1083 = extractvalue { ptr, i32 } %1081, 1
  store i32 %1083, ptr %6, align 4
  br label %1088

1084:                                             ; preds = %1068, %1066, %1062
  %1085 = landingpad { ptr, i32 }
          catch ptr null
  %1086 = extractvalue { ptr, i32 } %1085, 0
  store ptr %1086, ptr %5, align 8
  %1087 = extractvalue { ptr, i32 } %1085, 1
  store i32 %1087, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %85) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %83) #9
  br label %1088

1088:                                             ; preds = %1084, %1080
  %1089 = load ptr, ptr %5, align 8
  %1090 = call ptr @__cxa_begin_catch(ptr %1089) #9
  %1091 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1092 unwind label %1113

1092:                                             ; preds = %1088
  %1093 = load ptr, ptr %1091, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %86) #9
  %1094 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1095 unwind label %1117

1095:                                             ; preds = %1092
  %1096 = load ptr, ptr %1094, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %86, ptr noundef nonnull align 8 dereferenceable(30) %1096, i32 noundef 171)
          to label %1097 unwind label %1117

1097:                                             ; preds = %1095
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1093, ptr noundef nonnull align 8 dereferenceable(30) %86, ptr noundef @.str.13)
          to label %1098 unwind label %1117

1098:                                             ; preds = %1097
  call void @llvm.lifetime.end.p0(i64 32, ptr %86) #9
  invoke void @__cxa_end_catch()
          to label %1099 unwind label %159

1099:                                             ; preds = %1098
  br label %1100

1100:                                             ; preds = %1099, %1069
  br label %1101

1101:                                             ; preds = %1100
  br label %1102

1102:                                             ; preds = %1101
  br label %1103

1103:                                             ; preds = %1102
  %1104 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1105 unwind label %1123

1105:                                             ; preds = %1103
  %1106 = load ptr, ptr %1104, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %87) #9
  invoke void @_ZN7HtnTerm8ToStringB5cxx11ERKSt6vectorISt10shared_ptrIS_ESaIS2_EEbb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %87, ptr noundef nonnull align 8 dereferenceable(24) %16, i1 noundef zeroext false, i1 noundef zeroext true)
          to label %1107 unwind label %1127

1107:                                             ; preds = %1105
  call void @llvm.lifetime.start.p0(i64 32, ptr %88) #9
  %1108 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1109 unwind label %1131

1109:                                             ; preds = %1107
  %1110 = load ptr, ptr %1108, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %88, ptr noundef nonnull align 8 dereferenceable(30) %1110, i32 noundef 172)
          to label %1111 unwind label %1131

1111:                                             ; preds = %1109
  invoke void @_ZN8UnitTest10CheckEqualIA22_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %1106, ptr noundef nonnull align 1 dereferenceable(22) @.str.17, ptr noundef nonnull align 8 dereferenceable(32) %87, ptr noundef nonnull align 8 dereferenceable(30) %88)
          to label %1112 unwind label %1131

1112:                                             ; preds = %1111
  call void @llvm.lifetime.end.p0(i64 32, ptr %88) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %87) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %87) #9
  br label %1148

1113:                                             ; preds = %1088
  %1114 = landingpad { ptr, i32 }
          cleanup
  %1115 = extractvalue { ptr, i32 } %1114, 0
  store ptr %1115, ptr %5, align 8
  %1116 = extractvalue { ptr, i32 } %1114, 1
  store i32 %1116, ptr %6, align 4
  br label %1121

1117:                                             ; preds = %1097, %1095, %1092
  %1118 = landingpad { ptr, i32 }
          cleanup
  %1119 = extractvalue { ptr, i32 } %1118, 0
  store ptr %1119, ptr %5, align 8
  %1120 = extractvalue { ptr, i32 } %1118, 1
  store i32 %1120, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %86) #9
  br label %1121

1121:                                             ; preds = %1117, %1113
  invoke void @__cxa_end_catch()
          to label %1122 unwind label %1170

1122:                                             ; preds = %1121
  br label %1161

1123:                                             ; preds = %1103
  %1124 = landingpad { ptr, i32 }
          catch ptr null
  %1125 = extractvalue { ptr, i32 } %1124, 0
  store ptr %1125, ptr %5, align 8
  %1126 = extractvalue { ptr, i32 } %1124, 1
  store i32 %1126, ptr %6, align 4
  br label %1136

1127:                                             ; preds = %1105
  %1128 = landingpad { ptr, i32 }
          catch ptr null
  %1129 = extractvalue { ptr, i32 } %1128, 0
  store ptr %1129, ptr %5, align 8
  %1130 = extractvalue { ptr, i32 } %1128, 1
  store i32 %1130, ptr %6, align 4
  br label %1135

1131:                                             ; preds = %1111, %1109, %1107
  %1132 = landingpad { ptr, i32 }
          catch ptr null
  %1133 = extractvalue { ptr, i32 } %1132, 0
  store ptr %1133, ptr %5, align 8
  %1134 = extractvalue { ptr, i32 } %1132, 1
  store i32 %1134, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %88) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %87) #9
  br label %1135

1135:                                             ; preds = %1131, %1127
  call void @llvm.lifetime.end.p0(i64 32, ptr %87) #9
  br label %1136

1136:                                             ; preds = %1135, %1123
  %1137 = load ptr, ptr %5, align 8
  %1138 = call ptr @__cxa_begin_catch(ptr %1137) #9
  %1139 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1140 unwind label %1151

1140:                                             ; preds = %1136
  %1141 = load ptr, ptr %1139, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %89) #9
  %1142 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1143 unwind label %1155

1143:                                             ; preds = %1140
  %1144 = load ptr, ptr %1142, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %89, ptr noundef nonnull align 8 dereferenceable(30) %1144, i32 noundef 172)
          to label %1145 unwind label %1155

1145:                                             ; preds = %1143
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1141, ptr noundef nonnull align 8 dereferenceable(30) %89, ptr noundef @.str.18)
          to label %1146 unwind label %1155

1146:                                             ; preds = %1145
  call void @llvm.lifetime.end.p0(i64 32, ptr %89) #9
  invoke void @__cxa_end_catch()
          to label %1147 unwind label %159

1147:                                             ; preds = %1146
  br label %1148

1148:                                             ; preds = %1147, %1112
  br label %1149

1149:                                             ; preds = %1148
  br label %1150

1150:                                             ; preds = %1149
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #9
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #9
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #9
  call void @_ZNSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #9
  call void @_ZNSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #9
  call void @_ZN15HtnGoalResolverD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %3) #9
  call void @llvm.lifetime.end.p0(i64 64, ptr %3) #9
  ret void

1151:                                             ; preds = %1136
  %1152 = landingpad { ptr, i32 }
          cleanup
  %1153 = extractvalue { ptr, i32 } %1152, 0
  store ptr %1153, ptr %5, align 8
  %1154 = extractvalue { ptr, i32 } %1152, 1
  store i32 %1154, ptr %6, align 4
  br label %1159

1155:                                             ; preds = %1145, %1143, %1140
  %1156 = landingpad { ptr, i32 }
          cleanup
  %1157 = extractvalue { ptr, i32 } %1156, 0
  store ptr %1157, ptr %5, align 8
  %1158 = extractvalue { ptr, i32 } %1156, 1
  store i32 %1158, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %89) #9
  br label %1159

1159:                                             ; preds = %1155, %1151
  invoke void @__cxa_end_catch()
          to label %1160 unwind label %1170

1160:                                             ; preds = %1159
  br label %1161

1161:                                             ; preds = %1160, %1122, %1079, %1036, %991, %987, %986, %918, %854, %811, %768, %723, %719, %718, %650, %586, %543, %500, %455, %451, %450, %382, %323, %280, %235, %231, %230, %159
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #9
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #9
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #9
  br label %1162

1162:                                             ; preds = %1161, %155, %151
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #9
  call void @_ZNSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #9
  br label %1163

1163:                                             ; preds = %1162, %147, %143
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #9
  call void @_ZNSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #9
  br label %1164

1164:                                             ; preds = %1163, %139, %135
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #9
  call void @_ZN15HtnGoalResolverD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %3) #9
  call void @llvm.lifetime.end.p0(i64 64, ptr %3) #9
  br label %1165

1165:                                             ; preds = %1164
  %1166 = load ptr, ptr %5, align 8
  %1167 = load i32, ptr %6, align 4
  %1168 = insertvalue { ptr, i32 } poison, ptr %1166, 0
  %1169 = insertvalue { ptr, i32 } %1168, i32 %1167, 1
  resume { ptr, i32 } %1169

1170:                                             ; preds = %1159, %1121, %1078, %1035, %985, %917, %853, %810, %767, %717, %649, %585, %542, %499, %449, %381, %322, %279, %229
  %1171 = landingpad { ptr, i32 }
          catch ptr null
  %1172 = extractvalue { ptr, i32 } %1171, 0
  call void @__clang_call_terminate(ptr %1172) #12
  unreachable
}

declare void @_ZN15HtnGoalResolverC1Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #2

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

declare void @_ZN14HtnTermFactoryC1Ev(ptr noundef nonnull align 8 dereferenceable(33088)) unnamed_addr #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10HtnRuleSetC2Ev(ptr noundef nonnull align 8 dereferenceable(144)) unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1)) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext) #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_RKS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_SA_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #1

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv() #2

declare void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21), ptr noundef nonnull align 8 dereferenceable(30), ptr noundef) #2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv() #2

declare void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30), ptr noundef nonnull align 8 dereferenceable(30), i32 noundef) unnamed_addr #2

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: mustprogress uwtable
declare dso_local void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE10SolveGoalsEP15HtnGoalResolveriPlPiPSt6vectorISt10shared_ptrI7HtnTermESaISA_EE(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.85") align 8, ptr noundef nonnull align 8 dereferenceable(88), ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8UnitTest10CheckEqualINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA5_cEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(5), ptr noundef nonnull align 8 dereferenceable(30)) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8UnitTest10CheckEqualIiiEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(30)) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8UnitTest10CheckEqualIimEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(30)) #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8UnitTest10CheckEqualIA21_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21), ptr noundef nonnull align 1 dereferenceable(21), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(30)) #1

declare void @_ZN7HtnTerm8ToStringB5cxx11ERKSt6vectorISt10shared_ptrIS_ESaIS2_EEbb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext, i1 noundef zeroext) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8UnitTest10CheckEqualIA22_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21), ptr noundef nonnull align 1 dereferenceable(22), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(30)) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8UnitTest10CheckEqualIA5_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21), ptr noundef nonnull align 1 dereferenceable(5), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(30)) #1

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

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "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 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 #4 = { 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 #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 = { inlinehint 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 #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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { builtin nounwind }
attributes #12 = { 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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}


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

%class.HtnGoalResolver = type { %"class.std::enable_shared_from_this.15", %"class.std::map" }
%"class.std::enable_shared_from_this.15" = type { %"class.std::weak_ptr.16" }
%"class.std::weak_ptr.16" = type { %"class.std::__weak_ptr.17" }
%"class.std::__weak_ptr.17" = type { ptr, %"class.std::__weak_count" }
%"class.std::__weak_count" = type { ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::pair<std::vector<CustomRuleArgType>, std::function<void (ResolveState *)>>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::pair<std::vector<CustomRuleArgType>, std::function<void (ResolveState *)>>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::pair<std::vector<CustomRuleArgType>, std::function<void (ResolveState *)>>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::pair<std::vector<CustomRuleArgType>, std::function<void (ResolveState *)>>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::shared_ptr.21" = type { %"class.std::__shared_ptr.22" }
%"class.std::__shared_ptr.22" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.56" = type { %"class.std::__shared_ptr.57" }
%"class.std::__shared_ptr.57" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.77" = type { %"class.std::__shared_ptr.78" }
%"class.std::__shared_ptr.78" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.85" = type { %"class.std::__shared_ptr.86" }
%"class.std::__shared_ptr.86" = type { ptr, %"class.std::__shared_count" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::shared_ptr<HtnTerm>, std::allocator<std::shared_ptr<HtnTerm>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<HtnTerm>, std::allocator<std::shared_ptr<HtnTerm>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<HtnTerm>, std::allocator<std::shared_ptr<HtnTerm>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<HtnTerm>, std::allocator<std::shared_ptr<HtnTerm>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.UnitTest::TestDetails" = type <{ ptr, ptr, ptr, i32, i8, i8, [2 x i8] }>

@.str.3 = external hidden unnamed_addr constant [160 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [119 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [120 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [60 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN25SuiteHtnGoalResolverTests34TestGoalResolverFailureContextTest7RunImplEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(49) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %class.HtnGoalResolver, align 8
  %3 = alloca %"class.std::shared_ptr.21", align 8
  %4 = alloca %"class.std::shared_ptr.56", align 8
  %5 = alloca %"class.std::shared_ptr.77", align 8
  %6 = alloca %"class.std::shared_ptr.85", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::vector.0", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.UnitTest::TestDetails", align 8
  %18 = alloca %"class.UnitTest::TestDetails", align 8
  %19 = alloca %"class.std::shared_ptr.85", align 8
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"class.UnitTest::TestDetails", align 8
  %22 = alloca %"class.UnitTest::TestDetails", align 8
  %23 = alloca i32, align 4
  %24 = alloca %"class.UnitTest::TestDetails", align 8
  %25 = alloca %"class.UnitTest::TestDetails", align 8
  %26 = alloca i32, align 4
  %27 = alloca i64, align 8
  %28 = alloca %"class.UnitTest::TestDetails", align 8
  %29 = alloca %"class.UnitTest::TestDetails", align 8
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  %33 = alloca %"class.UnitTest::TestDetails", align 8
  %34 = alloca %"class.UnitTest::TestDetails", align 8
  %35 = alloca %"class.std::shared_ptr.85", align 8
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca %"class.UnitTest::TestDetails", align 8
  %38 = alloca %"class.UnitTest::TestDetails", align 8
  %39 = alloca i32, align 4
  %40 = alloca %"class.UnitTest::TestDetails", align 8
  %41 = alloca %"class.UnitTest::TestDetails", align 8
  %42 = alloca i32, align 4
  %43 = alloca i64, align 8
  %44 = alloca %"class.UnitTest::TestDetails", align 8
  %45 = alloca %"class.UnitTest::TestDetails", align 8
  %46 = alloca %"class.std::__cxx11::basic_string", align 8
  %47 = alloca %"class.UnitTest::TestDetails", align 8
  %48 = alloca %"class.UnitTest::TestDetails", align 8
  %49 = alloca %"class.std::__cxx11::basic_string", align 8
  %50 = alloca %"class.std::__cxx11::basic_string", align 8
  %51 = alloca %"class.std::__cxx11::basic_string", align 8
  %52 = alloca %"class.UnitTest::TestDetails", align 8
  %53 = alloca %"class.UnitTest::TestDetails", align 8
  %54 = alloca %"class.std::shared_ptr.85", align 8
  %55 = alloca %"class.std::__cxx11::basic_string", align 8
  %56 = alloca %"class.UnitTest::TestDetails", align 8
  %57 = alloca %"class.UnitTest::TestDetails", align 8
  %58 = alloca i32, align 4
  %59 = alloca %"class.UnitTest::TestDetails", align 8
  %60 = alloca %"class.UnitTest::TestDetails", align 8
  %61 = alloca i32, align 4
  %62 = alloca i64, align 8
  %63 = alloca %"class.UnitTest::TestDetails", align 8
  %64 = alloca %"class.UnitTest::TestDetails", align 8
  %65 = alloca %"class.std::__cxx11::basic_string", align 8
  %66 = alloca %"class.UnitTest::TestDetails", align 8
  %67 = alloca %"class.UnitTest::TestDetails", align 8
  %68 = alloca %"class.std::__cxx11::basic_string", align 8
  %69 = alloca %"class.std::__cxx11::basic_string", align 8
  %70 = alloca %"class.std::__cxx11::basic_string", align 8
  %71 = alloca %"class.UnitTest::TestDetails", align 8
  %72 = alloca %"class.UnitTest::TestDetails", align 8
  %73 = alloca %"class.std::shared_ptr.85", align 8
  %74 = alloca %"class.std::__cxx11::basic_string", align 8
  %75 = alloca %"class.UnitTest::TestDetails", align 8
  %76 = alloca %"class.UnitTest::TestDetails", align 8
  %77 = alloca i32, align 4
  %78 = alloca %"class.UnitTest::TestDetails", align 8
  %79 = alloca %"class.UnitTest::TestDetails", align 8
  %80 = alloca i32, align 4
  %81 = alloca i64, align 8
  %82 = alloca %"class.UnitTest::TestDetails", align 8
  %83 = alloca %"class.UnitTest::TestDetails", align 8
  %84 = alloca %"class.std::__cxx11::basic_string", align 8
  %85 = alloca %"class.UnitTest::TestDetails", align 8
  %86 = alloca %"class.UnitTest::TestDetails", align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #9
  call void @_ZN15HtnGoalResolverC1Ev(ptr noundef nonnull align 8 dereferenceable(64) %2)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #9
  %87 = invoke noalias noundef nonnull dereferenceable(33088) ptr @_Znwm(i64 noundef 33088) #10
          to label %88 unwind label %127

88:                                               ; preds = %1
  invoke void @_ZN14HtnTermFactoryC1Ev(ptr noundef nonnull align 8 dereferenceable(33088) %87)
          to label %89 unwind label %129

89:                                               ; preds = %88
  invoke void @_ZNSt10shared_ptrI14HtnTermFactoryEC2IS0_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull %87)
          to label %90 unwind label %127

90:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  %91 = invoke noalias noundef nonnull dereferenceable(144) ptr @_Znwm(i64 noundef 144) #10
          to label %92 unwind label %131

92:                                               ; preds = %90
  invoke void @_ZN10HtnRuleSetC2Ev(ptr noundef nonnull align 8 dereferenceable(144) %91)
          to label %93 unwind label %133

93:                                               ; preds = %92
  invoke void @_ZNSt10shared_ptrI10HtnRuleSetEC2IS0_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull %91)
          to label %94 unwind label %131

94:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #9
  %95 = invoke noalias noundef nonnull dereferenceable(88) ptr @_Znwm(i64 noundef 88) #10
          to label %96 unwind label %135

96:                                               ; preds = %94
  %97 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #9
  %98 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #9
  call void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactoryP10HtnRuleSet(ptr noundef nonnull align 8 dereferenceable(88) %95, ptr noundef %97, ptr noundef %98)
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull %95)
          to label %99 unwind label %135

99:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #9
  call void @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #9
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  %100 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @.str.3)
          to label %101 unwind label %137

101:                                              ; preds = %99
  %102 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.4)
          to label %103 unwind label %137

103:                                              ; preds = %101
  %104 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  %105 = load ptr, ptr %104, align 8, !tbaa !5
  %106 = getelementptr inbounds i8, ptr %105, i64 32
  %107 = load ptr, ptr %106, align 8
  invoke void %107(ptr noundef nonnull align 8 dereferenceable(88) %104)
          to label %108 unwind label %137

108:                                              ; preds = %103
  %109 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.5)
          to label %110 unwind label %137

110:                                              ; preds = %108
  %111 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_SA_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %16, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %112 unwind label %139

112:                                              ; preds = %110
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_RKS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %15, ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %113 unwind label %141

113:                                              ; preds = %112
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_RKS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %14, ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %114 unwind label %143

114:                                              ; preds = %113
  %115 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %111, ptr noundef nonnull %14)
          to label %116 unwind label %145

116:                                              ; preds = %114
  %117 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %115)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #9
  br i1 %117, label %164, label %118

118:                                              ; preds = %116
  %119 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %120 unwind label %150

120:                                              ; preds = %118
  %121 = load ptr, ptr %119, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #9
  %122 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %123 unwind label %152

123:                                              ; preds = %120
  %124 = load ptr, ptr %122, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %17, ptr noundef nonnull align 8 dereferenceable(30) %124, i32 noundef 134)
          to label %125 unwind label %152

125:                                              ; preds = %123
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %121, ptr noundef nonnull align 8 dereferenceable(30) %17, ptr noundef nonnull @.str.6)
          to label %126 unwind label %152

126:                                              ; preds = %125
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #9
  br label %164

127:                                              ; preds = %89, %1
  %128 = landingpad { ptr, i32 }
          cleanup
  br label %811

129:                                              ; preds = %88
  %130 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %87, i64 noundef 33088) #11
  br label %811

131:                                              ; preds = %93, %90
  %132 = landingpad { ptr, i32 }
          cleanup
  br label %810

133:                                              ; preds = %92
  %134 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %91, i64 noundef 144) #11
  br label %810

135:                                              ; preds = %96, %94
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %809

137:                                              ; preds = %801, %769, %740, %712, %674, %626, %621, %620, %588, %559, %531, %493, %445, %440, %439, %407, %378, %350, %312, %264, %259, %258, %229, %201, %163, %108, %103, %101, %99
  %138 = landingpad { ptr, i32 }
          cleanup
  br label %808

139:                                              ; preds = %110
  %140 = landingpad { ptr, i32 }
          catch ptr null
  br label %149

141:                                              ; preds = %112
  %142 = landingpad { ptr, i32 }
          catch ptr null
  br label %148

143:                                              ; preds = %113
  %144 = landingpad { ptr, i32 }
          catch ptr null
  br label %147

145:                                              ; preds = %114
  %146 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  br label %147

147:                                              ; preds = %145, %143
  %.pn = phi { ptr, i32 } [ %146, %145 ], [ %144, %143 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  br label %148

148:                                              ; preds = %147, %141
  %.pn.pn = phi { ptr, i32 } [ %.pn, %147 ], [ %142, %141 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  br label %149

149:                                              ; preds = %148, %139
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %148 ], [ %140, %139 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #9
  br label %154

150:                                              ; preds = %118
  %151 = landingpad { ptr, i32 }
          catch ptr null
  br label %154

152:                                              ; preds = %125, %123, %120
  %153 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #9
  br label %154

154:                                              ; preds = %152, %150, %149
  %.pn44 = phi { ptr, i32 } [ %153, %152 ], [ %151, %150 ], [ %.pn.pn.pn, %149 ]
  %.324 = extractvalue { ptr, i32 } %.pn44, 0
  %155 = call ptr @__cxa_begin_catch(ptr %.324) #9
  %156 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %157 unwind label %179

157:                                              ; preds = %154
  %158 = load ptr, ptr %156, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #9
  %159 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %160 unwind label %181

160:                                              ; preds = %157
  %161 = load ptr, ptr %159, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %18, ptr noundef nonnull align 8 dereferenceable(30) %161, i32 noundef 134)
          to label %162 unwind label %181

162:                                              ; preds = %160
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %158, ptr noundef nonnull align 8 dereferenceable(30) %18, ptr noundef nonnull @.str.7)
          to label %163 unwind label %181

163:                                              ; preds = %162
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #9
  invoke void @__cxa_end_catch()
          to label %164 unwind label %137

164:                                              ; preds = %116, %126, %163
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #9
  %165 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE10SolveGoalsEP15HtnGoalResolveriPlPiPSt6vectorISt10shared_ptrI7HtnTermESaISA_EE(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.85") align 8 %19, ptr noundef nonnull align 8 dereferenceable(88) %165, ptr noundef nonnull %2, i32 noundef 1000000, ptr noundef null, ptr noundef nonnull %12, ptr noundef nonnull %13)
          to label %166 unwind label %184

166:                                              ; preds = %164
  %167 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %19) #9
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #9
  %168 = call noundef ptr @_ZNKSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %6) #9
  invoke void @_ZN15HtnGoalResolver8ToStringB5cxx11EPKSt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EEb(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %20, ptr noundef %168, i1 noundef zeroext false)
          to label %169 unwind label %186

169:                                              ; preds = %166
  %170 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %20) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #9
  %171 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %172 unwind label %188

172:                                              ; preds = %169
  %173 = load ptr, ptr %171, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #9
  %174 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %175 unwind label %190

175:                                              ; preds = %172
  %176 = load ptr, ptr %174, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %21, ptr noundef nonnull align 8 dereferenceable(30) %176, i32 noundef 137)
          to label %177 unwind label %190

177:                                              ; preds = %175
  invoke void @_ZN8UnitTest10CheckEqualINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA5_cEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %173, ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 1 dereferenceable(5) @.str.8, ptr noundef nonnull align 8 dereferenceable(30) %21)
          to label %178 unwind label %190

178:                                              ; preds = %177
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #9
  br label %202

179:                                              ; preds = %154
  %180 = landingpad { ptr, i32 }
          cleanup
  br label %183

181:                                              ; preds = %162, %160, %157
  %182 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #9
  br label %183

183:                                              ; preds = %181, %179
  %.pn45 = phi { ptr, i32 } [ %182, %181 ], [ %180, %179 ]
  invoke void @__cxa_end_catch()
          to label %808 unwind label %812

184:                                              ; preds = %164
  %185 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #9
  br label %808

186:                                              ; preds = %166
  %187 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #9
  br label %808

188:                                              ; preds = %169
  %189 = landingpad { ptr, i32 }
          catch ptr null
  br label %192

190:                                              ; preds = %177, %175, %172
  %191 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #9
  br label %192

192:                                              ; preds = %190, %188
  %.pn47 = phi { ptr, i32 } [ %191, %190 ], [ %189, %188 ]
  %.526 = extractvalue { ptr, i32 } %.pn47, 0
  %193 = call ptr @__cxa_begin_catch(ptr %.526) #9
  %194 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %195 unwind label %211

195:                                              ; preds = %192
  %196 = load ptr, ptr %194, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #9
  %197 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %198 unwind label %213

198:                                              ; preds = %195
  %199 = load ptr, ptr %197, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %22, ptr noundef nonnull align 8 dereferenceable(30) %199, i32 noundef 137)
          to label %200 unwind label %213

200:                                              ; preds = %198
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %196, ptr noundef nonnull align 8 dereferenceable(30) %22, ptr noundef nonnull @.str.9)
          to label %201 unwind label %213

201:                                              ; preds = %200
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #9
  invoke void @__cxa_end_catch()
          to label %202 unwind label %137

202:                                              ; preds = %178, %201
  %203 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %204 unwind label %216

204:                                              ; preds = %202
  %205 = load ptr, ptr %203, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #9
  store i32 1, ptr %23, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #9
  %206 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %207 unwind label %218

207:                                              ; preds = %204
  %208 = load ptr, ptr %206, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %24, ptr noundef nonnull align 8 dereferenceable(30) %208, i32 noundef 138)
          to label %209 unwind label %218

209:                                              ; preds = %207
  invoke void @_ZN8UnitTest10CheckEqualIiiEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %205, ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 8 dereferenceable(30) %24)
          to label %210 unwind label %218

210:                                              ; preds = %209
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #9
  br label %230

211:                                              ; preds = %192
  %212 = landingpad { ptr, i32 }
          cleanup
  br label %215

213:                                              ; preds = %200, %198, %195
  %214 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #9
  br label %215

215:                                              ; preds = %213, %211
  %.pn48 = phi { ptr, i32 } [ %214, %213 ], [ %212, %211 ]
  invoke void @__cxa_end_catch()
          to label %808 unwind label %812

216:                                              ; preds = %202
  %217 = landingpad { ptr, i32 }
          catch ptr null
  br label %220

218:                                              ; preds = %209, %207, %204
  %219 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #9
  br label %220

220:                                              ; preds = %218, %216
  %.pn50 = phi { ptr, i32 } [ %219, %218 ], [ %217, %216 ]
  %.728 = extractvalue { ptr, i32 } %.pn50, 0
  %221 = call ptr @__cxa_begin_catch(ptr %.728) #9
  %222 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %223 unwind label %240

223:                                              ; preds = %220
  %224 = load ptr, ptr %222, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %25) #9
  %225 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %226 unwind label %242

226:                                              ; preds = %223
  %227 = load ptr, ptr %225, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %25, ptr noundef nonnull align 8 dereferenceable(30) %227, i32 noundef 138)
          to label %228 unwind label %242

228:                                              ; preds = %226
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %224, ptr noundef nonnull align 8 dereferenceable(30) %25, ptr noundef nonnull @.str.10)
          to label %229 unwind label %242

229:                                              ; preds = %228
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #9
  invoke void @__cxa_end_catch()
          to label %230 unwind label %137

230:                                              ; preds = %210, %229
  %231 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %232 unwind label %245

232:                                              ; preds = %230
  %233 = load ptr, ptr %231, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %26) #9
  store i32 0, ptr %26, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #9
  %234 = call noundef i64 @_ZNKSt6vectorISt10shared_ptrI7HtnTermESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  store i64 %234, ptr %27, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %28) #9
  %235 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %236 unwind label %247

236:                                              ; preds = %232
  %237 = load ptr, ptr %235, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %28, ptr noundef nonnull align 8 dereferenceable(30) %237, i32 noundef 139)
          to label %238 unwind label %247

238:                                              ; preds = %236
  invoke void @_ZN8UnitTest10CheckEqualIimEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %233, ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(30) %28)
          to label %239 unwind label %247

239:                                              ; preds = %238
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #9
  br label %259

240:                                              ; preds = %220
  %241 = landingpad { ptr, i32 }
          cleanup
  br label %244

242:                                              ; preds = %228, %226, %223
  %243 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #9
  br label %244

244:                                              ; preds = %242, %240
  %.pn51 = phi { ptr, i32 } [ %243, %242 ], [ %241, %240 ]
  invoke void @__cxa_end_catch()
          to label %808 unwind label %812

245:                                              ; preds = %230
  %246 = landingpad { ptr, i32 }
          catch ptr null
  br label %249

247:                                              ; preds = %238, %236, %232
  %248 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #9
  br label %249

249:                                              ; preds = %247, %245
  %.pn53 = phi { ptr, i32 } [ %248, %247 ], [ %246, %245 ]
  %.930 = extractvalue { ptr, i32 } %.pn53, 0
  %250 = call ptr @__cxa_begin_catch(ptr %.930) #9
  %251 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %252 unwind label %283

252:                                              ; preds = %249
  %253 = load ptr, ptr %251, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %29) #9
  %254 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %255 unwind label %285

255:                                              ; preds = %252
  %256 = load ptr, ptr %254, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %29, ptr noundef nonnull align 8 dereferenceable(30) %256, i32 noundef 139)
          to label %257 unwind label %285

257:                                              ; preds = %255
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %253, ptr noundef nonnull align 8 dereferenceable(30) %29, ptr noundef nonnull @.str.11)
          to label %258 unwind label %285

258:                                              ; preds = %257
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #9
  invoke void @__cxa_end_catch()
          to label %259 unwind label %137

259:                                              ; preds = %258, %239
  %260 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  %261 = load ptr, ptr %260, align 8, !tbaa !5
  %262 = getelementptr inbounds i8, ptr %261, i64 32
  %263 = load ptr, ptr %262, align 8
  invoke void %263(ptr noundef nonnull align 8 dereferenceable(88) %260)
          to label %264 unwind label %137

264:                                              ; preds = %259
  %265 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.12)
          to label %266 unwind label %137

266:                                              ; preds = %264
  %267 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %31) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %32) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_SA_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %32, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %268 unwind label %288

268:                                              ; preds = %266
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_RKS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %31, ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %269 unwind label %290

269:                                              ; preds = %268
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_RKS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %30, ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %270 unwind label %292

270:                                              ; preds = %269
  %271 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %267, ptr noundef nonnull %30)
          to label %272 unwind label %294

272:                                              ; preds = %270
  %273 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %271)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %32) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #9
  br i1 %273, label %313, label %274

274:                                              ; preds = %272
  %275 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %276 unwind label %299

276:                                              ; preds = %274
  %277 = load ptr, ptr %275, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %33) #9
  %278 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %279 unwind label %301

279:                                              ; preds = %276
  %280 = load ptr, ptr %278, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %33, ptr noundef nonnull align 8 dereferenceable(30) %280, i32 noundef 144)
          to label %281 unwind label %301

281:                                              ; preds = %279
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %277, ptr noundef nonnull align 8 dereferenceable(30) %33, ptr noundef nonnull @.str.6)
          to label %282 unwind label %301

282:                                              ; preds = %281
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #9
  br label %313

283:                                              ; preds = %249
  %284 = landingpad { ptr, i32 }
          cleanup
  br label %287

285:                                              ; preds = %257, %255, %252
  %286 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #9
  br label %287

287:                                              ; preds = %285, %283
  %.pn54 = phi { ptr, i32 } [ %286, %285 ], [ %284, %283 ]
  invoke void @__cxa_end_catch()
          to label %808 unwind label %812

288:                                              ; preds = %266
  %289 = landingpad { ptr, i32 }
          catch ptr null
  br label %298

290:                                              ; preds = %268
  %291 = landingpad { ptr, i32 }
          catch ptr null
  br label %297

292:                                              ; preds = %269
  %293 = landingpad { ptr, i32 }
          catch ptr null
  br label %296

294:                                              ; preds = %270
  %295 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #9
  br label %296

296:                                              ; preds = %294, %292
  %.pn56 = phi { ptr, i32 } [ %295, %294 ], [ %293, %292 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  br label %297

297:                                              ; preds = %296, %290
  %.pn56.pn = phi { ptr, i32 } [ %.pn56, %296 ], [ %291, %290 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #9
  br label %298

298:                                              ; preds = %297, %288
  %.pn56.pn.pn = phi { ptr, i32 } [ %.pn56.pn, %297 ], [ %289, %288 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %32) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #9
  br label %303

299:                                              ; preds = %274
  %300 = landingpad { ptr, i32 }
          catch ptr null
  br label %303

301:                                              ; preds = %281, %279, %276
  %302 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #9
  br label %303

303:                                              ; preds = %301, %299, %298
  %.pn57 = phi { ptr, i32 } [ %302, %301 ], [ %300, %299 ], [ %.pn56.pn.pn, %298 ]
  %.1435 = extractvalue { ptr, i32 } %.pn57, 0
  %304 = call ptr @__cxa_begin_catch(ptr %.1435) #9
  %305 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %306 unwind label %328

306:                                              ; preds = %303
  %307 = load ptr, ptr %305, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %34) #9
  %308 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %309 unwind label %330

309:                                              ; preds = %306
  %310 = load ptr, ptr %308, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %34, ptr noundef nonnull align 8 dereferenceable(30) %310, i32 noundef 144)
          to label %311 unwind label %330

311:                                              ; preds = %309
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %307, ptr noundef nonnull align 8 dereferenceable(30) %34, ptr noundef nonnull @.str.7)
          to label %312 unwind label %330

312:                                              ; preds = %311
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #9
  invoke void @__cxa_end_catch()
          to label %313 unwind label %137

313:                                              ; preds = %272, %282, %312
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %35) #9
  %314 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE10SolveGoalsEP15HtnGoalResolveriPlPiPSt6vectorISt10shared_ptrI7HtnTermESaISA_EE(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.85") align 8 %35, ptr noundef nonnull align 8 dereferenceable(88) %314, ptr noundef nonnull %2, i32 noundef 1000000, ptr noundef null, ptr noundef nonnull %12, ptr noundef nonnull %13)
          to label %315 unwind label %333

315:                                              ; preds = %313
  %316 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %35) #9
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %35) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %36) #9
  %317 = call noundef ptr @_ZNKSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %6) #9
  invoke void @_ZN15HtnGoalResolver8ToStringB5cxx11EPKSt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EEb(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %36, ptr noundef %317, i1 noundef zeroext false)
          to label %318 unwind label %335

318:                                              ; preds = %315
  %319 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %36) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #9
  %320 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %321 unwind label %337

321:                                              ; preds = %318
  %322 = load ptr, ptr %320, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %37) #9
  %323 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %324 unwind label %339

324:                                              ; preds = %321
  %325 = load ptr, ptr %323, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %37, ptr noundef nonnull align 8 dereferenceable(30) %325, i32 noundef 147)
          to label %326 unwind label %339

326:                                              ; preds = %324
  invoke void @_ZN8UnitTest10CheckEqualINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA5_cEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %322, ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 1 dereferenceable(5) @.str.8, ptr noundef nonnull align 8 dereferenceable(30) %37)
          to label %327 unwind label %339

327:                                              ; preds = %326
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #9
  br label %351

328:                                              ; preds = %303
  %329 = landingpad { ptr, i32 }
          cleanup
  br label %332

330:                                              ; preds = %311, %309, %306
  %331 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #9
  br label %332

332:                                              ; preds = %330, %328
  %.pn58 = phi { ptr, i32 } [ %331, %330 ], [ %329, %328 ]
  invoke void @__cxa_end_catch()
          to label %808 unwind label %812

333:                                              ; preds = %313
  %334 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %35) #9
  br label %808

335:                                              ; preds = %315
  %336 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #9
  br label %808

337:                                              ; preds = %318
  %338 = landingpad { ptr, i32 }
          catch ptr null
  br label %341

339:                                              ; preds = %326, %324, %321
  %340 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #9
  br label %341

341:                                              ; preds = %339, %337
  %.pn60 = phi { ptr, i32 } [ %340, %339 ], [ %338, %337 ]
  %.1637 = extractvalue { ptr, i32 } %.pn60, 0
  %342 = call ptr @__cxa_begin_catch(ptr %.1637) #9
  %343 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %344 unwind label %360

344:                                              ; preds = %341
  %345 = load ptr, ptr %343, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %38) #9
  %346 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %347 unwind label %362

347:                                              ; preds = %344
  %348 = load ptr, ptr %346, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %38, ptr noundef nonnull align 8 dereferenceable(30) %348, i32 noundef 147)
          to label %349 unwind label %362

349:                                              ; preds = %347
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %345, ptr noundef nonnull align 8 dereferenceable(30) %38, ptr noundef nonnull @.str.9)
          to label %350 unwind label %362

350:                                              ; preds = %349
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %38) #9
  invoke void @__cxa_end_catch()
          to label %351 unwind label %137

351:                                              ; preds = %327, %350
  %352 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %353 unwind label %365

353:                                              ; preds = %351
  %354 = load ptr, ptr %352, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %39) #9
  store i32 1, ptr %39, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %40) #9
  %355 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %356 unwind label %367

356:                                              ; preds = %353
  %357 = load ptr, ptr %355, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %40, ptr noundef nonnull align 8 dereferenceable(30) %357, i32 noundef 148)
          to label %358 unwind label %367

358:                                              ; preds = %356
  invoke void @_ZN8UnitTest10CheckEqualIiiEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %354, ptr noundef nonnull align 4 dereferenceable(4) %39, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 8 dereferenceable(30) %40)
          to label %359 unwind label %367

359:                                              ; preds = %358
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %40) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %39) #9
  br label %379

360:                                              ; preds = %341
  %361 = landingpad { ptr, i32 }
          cleanup
  br label %364

362:                                              ; preds = %349, %347, %344
  %363 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %38) #9
  br label %364

364:                                              ; preds = %362, %360
  %.pn61 = phi { ptr, i32 } [ %363, %362 ], [ %361, %360 ]
  invoke void @__cxa_end_catch()
          to label %808 unwind label %812

365:                                              ; preds = %351
  %366 = landingpad { ptr, i32 }
          catch ptr null
  br label %369

367:                                              ; preds = %358, %356, %353
  %368 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %40) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %39) #9
  br label %369

369:                                              ; preds = %367, %365
  %.pn63 = phi { ptr, i32 } [ %368, %367 ], [ %366, %365 ]
  %.1839 = extractvalue { ptr, i32 } %.pn63, 0
  %370 = call ptr @__cxa_begin_catch(ptr %.1839) #9
  %371 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %372 unwind label %389

372:                                              ; preds = %369
  %373 = load ptr, ptr %371, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %41) #9
  %374 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %375 unwind label %391

375:                                              ; preds = %372
  %376 = load ptr, ptr %374, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %41, ptr noundef nonnull align 8 dereferenceable(30) %376, i32 noundef 148)
          to label %377 unwind label %391

377:                                              ; preds = %375
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %373, ptr noundef nonnull align 8 dereferenceable(30) %41, ptr noundef nonnull @.str.10)
          to label %378 unwind label %391

378:                                              ; preds = %377
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %41) #9
  invoke void @__cxa_end_catch()
          to label %379 unwind label %137

379:                                              ; preds = %359, %378
  %380 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %381 unwind label %394

381:                                              ; preds = %379
  %382 = load ptr, ptr %380, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %42) #9
  store i32 2, ptr %42, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %43) #9
  %383 = call noundef i64 @_ZNKSt6vectorISt10shared_ptrI7HtnTermESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  store i64 %383, ptr %43, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %44) #9
  %384 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %385 unwind label %396

385:                                              ; preds = %381
  %386 = load ptr, ptr %384, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %44, ptr noundef nonnull align 8 dereferenceable(30) %386, i32 noundef 149)
          to label %387 unwind label %396

387:                                              ; preds = %385
  invoke void @_ZN8UnitTest10CheckEqualIimEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %382, ptr noundef nonnull align 4 dereferenceable(4) %42, ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(30) %44)
          to label %388 unwind label %396

388:                                              ; preds = %387
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %44) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %43) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %42) #9
  br label %408

389:                                              ; preds = %369
  %390 = landingpad { ptr, i32 }
          cleanup
  br label %393

391:                                              ; preds = %377, %375, %372
  %392 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %41) #9
  br label %393

393:                                              ; preds = %391, %389
  %.pn64 = phi { ptr, i32 } [ %392, %391 ], [ %390, %389 ]
  invoke void @__cxa_end_catch()
          to label %808 unwind label %812

394:                                              ; preds = %379
  %395 = landingpad { ptr, i32 }
          catch ptr null
  br label %398

396:                                              ; preds = %387, %385, %381
  %397 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %44) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %43) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %42) #9
  br label %398

398:                                              ; preds = %396, %394
  %.pn66 = phi { ptr, i32 } [ %397, %396 ], [ %395, %394 ]
  %.2041 = extractvalue { ptr, i32 } %.pn66, 0
  %399 = call ptr @__cxa_begin_catch(ptr %.2041) #9
  %400 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %401 unwind label %418

401:                                              ; preds = %398
  %402 = load ptr, ptr %400, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %45) #9
  %403 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %404 unwind label %420

404:                                              ; preds = %401
  %405 = load ptr, ptr %403, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %45, ptr noundef nonnull align 8 dereferenceable(30) %405, i32 noundef 149)
          to label %406 unwind label %420

406:                                              ; preds = %404
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %402, ptr noundef nonnull align 8 dereferenceable(30) %45, ptr noundef nonnull @.str.13)
          to label %407 unwind label %420

407:                                              ; preds = %406
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %45) #9
  invoke void @__cxa_end_catch()
          to label %408 unwind label %137

408:                                              ; preds = %388, %407
  %409 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %410 unwind label %423

410:                                              ; preds = %408
  %411 = load ptr, ptr %409, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %46) #9
  invoke void @_ZN7HtnTerm8ToStringB5cxx11ERKSt6vectorISt10shared_ptrIS_ESaIS2_EEbb(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %46, ptr noundef nonnull align 8 dereferenceable(24) %13, i1 noundef zeroext false, i1 noundef zeroext true)
          to label %412 unwind label %425

412:                                              ; preds = %410
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %47) #9
  %413 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %414 unwind label %427

414:                                              ; preds = %412
  %415 = load ptr, ptr %413, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %47, ptr noundef nonnull align 8 dereferenceable(30) %415, i32 noundef 150)
          to label %416 unwind label %427

416:                                              ; preds = %414
  invoke void @_ZN8UnitTest10CheckEqualIA21_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %411, ptr noundef nonnull align 1 dereferenceable(21) @.str.14, ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef nonnull align 8 dereferenceable(30) %47)
          to label %417 unwind label %427

417:                                              ; preds = %416
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %47) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %46) #9
  br label %440

418:                                              ; preds = %398
  %419 = landingpad { ptr, i32 }
          cleanup
  br label %422

420:                                              ; preds = %406, %404, %401
  %421 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %45) #9
  br label %422

422:                                              ; preds = %420, %418
  %.pn67 = phi { ptr, i32 } [ %421, %420 ], [ %419, %418 ]
  invoke void @__cxa_end_catch()
          to label %808 unwind label %812

423:                                              ; preds = %408
  %424 = landingpad { ptr, i32 }
          catch ptr null
  br label %430

425:                                              ; preds = %410
  %426 = landingpad { ptr, i32 }
          catch ptr null
  br label %429

427:                                              ; preds = %416, %414, %412
  %428 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %47) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #9
  br label %429

429:                                              ; preds = %427, %425
  %.pn69 = phi { ptr, i32 } [ %428, %427 ], [ %426, %425 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %46) #9
  br label %430

430:                                              ; preds = %429, %423
  %.pn69.pn = phi { ptr, i32 } [ %.pn69, %429 ], [ %424, %423 ]
  %.23 = extractvalue { ptr, i32 } %.pn69.pn, 0
  %431 = call ptr @__cxa_begin_catch(ptr %.23) #9
  %432 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %433 unwind label %464

433:                                              ; preds = %430
  %434 = load ptr, ptr %432, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %48) #9
  %435 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %436 unwind label %466

436:                                              ; preds = %433
  %437 = load ptr, ptr %435, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %48, ptr noundef nonnull align 8 dereferenceable(30) %437, i32 noundef 150)
          to label %438 unwind label %466

438:                                              ; preds = %436
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %434, ptr noundef nonnull align 8 dereferenceable(30) %48, ptr noundef nonnull @.str.15)
          to label %439 unwind label %466

439:                                              ; preds = %438
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %48) #9
  invoke void @__cxa_end_catch()
          to label %440 unwind label %137

440:                                              ; preds = %439, %417
  %441 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  %442 = load ptr, ptr %441, align 8, !tbaa !5
  %443 = getelementptr inbounds i8, ptr %442, i64 32
  %444 = load ptr, ptr %443, align 8
  invoke void %444(ptr noundef nonnull align 8 dereferenceable(88) %441)
          to label %445 unwind label %137

445:                                              ; preds = %440
  %446 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.16)
          to label %447 unwind label %137

447:                                              ; preds = %445
  %448 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %50) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %51) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_SA_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %51, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %449 unwind label %469

449:                                              ; preds = %447
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_RKS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %50, ptr noundef nonnull align 8 dereferenceable(32) %51, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %450 unwind label %471

450:                                              ; preds = %449
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_RKS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %49, ptr noundef nonnull align 8 dereferenceable(32) %50, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %451 unwind label %473

451:                                              ; preds = %450
  %452 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %448, ptr noundef nonnull %49)
          to label %453 unwind label %475

453:                                              ; preds = %451
  %454 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %452)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %51) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %50) #9
  br i1 %454, label %494, label %455

455:                                              ; preds = %453
  %456 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %457 unwind label %480

457:                                              ; preds = %455
  %458 = load ptr, ptr %456, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %52) #9
  %459 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %460 unwind label %482

460:                                              ; preds = %457
  %461 = load ptr, ptr %459, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %52, ptr noundef nonnull align 8 dereferenceable(30) %461, i32 noundef 155)
          to label %462 unwind label %482

462:                                              ; preds = %460
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %458, ptr noundef nonnull align 8 dereferenceable(30) %52, ptr noundef nonnull @.str.6)
          to label %463 unwind label %482

463:                                              ; preds = %462
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %52) #9
  br label %494

464:                                              ; preds = %430
  %465 = landingpad { ptr, i32 }
          cleanup
  br label %468

466:                                              ; preds = %438, %436, %433
  %467 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %48) #9
  br label %468

468:                                              ; preds = %466, %464
  %.pn70 = phi { ptr, i32 } [ %467, %466 ], [ %465, %464 ]
  invoke void @__cxa_end_catch()
          to label %808 unwind label %812

469:                                              ; preds = %447
  %470 = landingpad { ptr, i32 }
          catch ptr null
  br label %479

471:                                              ; preds = %449
  %472 = landingpad { ptr, i32 }
          catch ptr null
  br label %478

473:                                              ; preds = %450
  %474 = landingpad { ptr, i32 }
          catch ptr null
  br label %477

475:                                              ; preds = %451
  %476 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #9
  br label %477

477:                                              ; preds = %475, %473
  %.pn72 = phi { ptr, i32 } [ %476, %475 ], [ %474, %473 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #9
  br label %478

478:                                              ; preds = %477, %471
  %.pn72.pn = phi { ptr, i32 } [ %.pn72, %477 ], [ %472, %471 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #9
  br label %479

479:                                              ; preds = %478, %469
  %.pn72.pn.pn = phi { ptr, i32 } [ %.pn72.pn, %478 ], [ %470, %469 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %51) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %50) #9
  br label %484

480:                                              ; preds = %455
  %481 = landingpad { ptr, i32 }
          catch ptr null
  br label %484

482:                                              ; preds = %462, %460, %457
  %483 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %52) #9
  br label %484

484:                                              ; preds = %482, %480, %479
  %.pn73 = phi { ptr, i32 } [ %483, %482 ], [ %481, %480 ], [ %.pn72.pn.pn, %479 ]
  %.28 = extractvalue { ptr, i32 } %.pn73, 0
  %485 = call ptr @__cxa_begin_catch(ptr %.28) #9
  %486 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %487 unwind label %509

487:                                              ; preds = %484
  %488 = load ptr, ptr %486, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %53) #9
  %489 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %490 unwind label %511

490:                                              ; preds = %487
  %491 = load ptr, ptr %489, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %53, ptr noundef nonnull align 8 dereferenceable(30) %491, i32 noundef 155)
          to label %492 unwind label %511

492:                                              ; preds = %490
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %488, ptr noundef nonnull align 8 dereferenceable(30) %53, ptr noundef nonnull @.str.7)
          to label %493 unwind label %511

493:                                              ; preds = %492
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %53) #9
  invoke void @__cxa_end_catch()
          to label %494 unwind label %137

494:                                              ; preds = %453, %463, %493
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %54) #9
  %495 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE10SolveGoalsEP15HtnGoalResolveriPlPiPSt6vectorISt10shared_ptrI7HtnTermESaISA_EE(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.85") align 8 %54, ptr noundef nonnull align 8 dereferenceable(88) %495, ptr noundef nonnull %2, i32 noundef 1000000, ptr noundef null, ptr noundef nonnull %12, ptr noundef nonnull %13)
          to label %496 unwind label %514

496:                                              ; preds = %494
  %497 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %54) #9
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %54) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %54) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %55) #9
  %498 = call noundef ptr @_ZNKSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %6) #9
  invoke void @_ZN15HtnGoalResolver8ToStringB5cxx11EPKSt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EEb(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %55, ptr noundef %498, i1 noundef zeroext false)
          to label %499 unwind label %516

499:                                              ; preds = %496
  %500 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %55) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %55) #9
  %501 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %502 unwind label %518

502:                                              ; preds = %499
  %503 = load ptr, ptr %501, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %56) #9
  %504 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %505 unwind label %520

505:                                              ; preds = %502
  %506 = load ptr, ptr %504, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %56, ptr noundef nonnull align 8 dereferenceable(30) %506, i32 noundef 158)
          to label %507 unwind label %520

507:                                              ; preds = %505
  invoke void @_ZN8UnitTest10CheckEqualINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA5_cEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %503, ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 1 dereferenceable(5) @.str.8, ptr noundef nonnull align 8 dereferenceable(30) %56)
          to label %508 unwind label %520

508:                                              ; preds = %507
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %56) #9
  br label %532

509:                                              ; preds = %484
  %510 = landingpad { ptr, i32 }
          cleanup
  br label %513

511:                                              ; preds = %492, %490, %487
  %512 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %53) #9
  br label %513

513:                                              ; preds = %511, %509
  %.pn74 = phi { ptr, i32 } [ %512, %511 ], [ %510, %509 ]
  invoke void @__cxa_end_catch()
          to label %808 unwind label %812

514:                                              ; preds = %494
  %515 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %54) #9
  br label %808

516:                                              ; preds = %496
  %517 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %55) #9
  br label %808

518:                                              ; preds = %499
  %519 = landingpad { ptr, i32 }
          catch ptr null
  br label %522

520:                                              ; preds = %507, %505, %502
  %521 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %56) #9
  br label %522

522:                                              ; preds = %520, %518
  %.pn76 = phi { ptr, i32 } [ %521, %520 ], [ %519, %518 ]
  %.30 = extractvalue { ptr, i32 } %.pn76, 0
  %523 = call ptr @__cxa_begin_catch(ptr %.30) #9
  %524 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %525 unwind label %541

525:                                              ; preds = %522
  %526 = load ptr, ptr %524, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %57) #9
  %527 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %528 unwind label %543

528:                                              ; preds = %525
  %529 = load ptr, ptr %527, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %57, ptr noundef nonnull align 8 dereferenceable(30) %529, i32 noundef 158)
          to label %530 unwind label %543

530:                                              ; preds = %528
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %526, ptr noundef nonnull align 8 dereferenceable(30) %57, ptr noundef nonnull @.str.9)
          to label %531 unwind label %543

531:                                              ; preds = %530
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %57) #9
  invoke void @__cxa_end_catch()
          to label %532 unwind label %137

532:                                              ; preds = %508, %531
  %533 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %534 unwind label %546

534:                                              ; preds = %532
  %535 = load ptr, ptr %533, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %58) #9
  store i32 1, ptr %58, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %59) #9
  %536 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %537 unwind label %548

537:                                              ; preds = %534
  %538 = load ptr, ptr %536, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %59, ptr noundef nonnull align 8 dereferenceable(30) %538, i32 noundef 159)
          to label %539 unwind label %548

539:                                              ; preds = %537
  invoke void @_ZN8UnitTest10CheckEqualIiiEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %535, ptr noundef nonnull align 4 dereferenceable(4) %58, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 8 dereferenceable(30) %59)
          to label %540 unwind label %548

540:                                              ; preds = %539
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %59) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %58) #9
  br label %560

541:                                              ; preds = %522
  %542 = landingpad { ptr, i32 }
          cleanup
  br label %545

543:                                              ; preds = %530, %528, %525
  %544 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %57) #9
  br label %545

545:                                              ; preds = %543, %541
  %.pn77 = phi { ptr, i32 } [ %544, %543 ], [ %542, %541 ]
  invoke void @__cxa_end_catch()
          to label %808 unwind label %812

546:                                              ; preds = %532
  %547 = landingpad { ptr, i32 }
          catch ptr null
  br label %550

548:                                              ; preds = %539, %537, %534
  %549 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %59) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %58) #9
  br label %550

550:                                              ; preds = %548, %546
  %.pn79 = phi { ptr, i32 } [ %549, %548 ], [ %547, %546 ]
  %.32 = extractvalue { ptr, i32 } %.pn79, 0
  %551 = call ptr @__cxa_begin_catch(ptr %.32) #9
  %552 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %553 unwind label %570

553:                                              ; preds = %550
  %554 = load ptr, ptr %552, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %60) #9
  %555 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %556 unwind label %572

556:                                              ; preds = %553
  %557 = load ptr, ptr %555, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %60, ptr noundef nonnull align 8 dereferenceable(30) %557, i32 noundef 159)
          to label %558 unwind label %572

558:                                              ; preds = %556
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %554, ptr noundef nonnull align 8 dereferenceable(30) %60, ptr noundef nonnull @.str.10)
          to label %559 unwind label %572

559:                                              ; preds = %558
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %60) #9
  invoke void @__cxa_end_catch()
          to label %560 unwind label %137

560:                                              ; preds = %540, %559
  %561 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %562 unwind label %575

562:                                              ; preds = %560
  %563 = load ptr, ptr %561, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %61) #9
  store i32 2, ptr %61, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %62) #9
  %564 = call noundef i64 @_ZNKSt6vectorISt10shared_ptrI7HtnTermESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  store i64 %564, ptr %62, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %63) #9
  %565 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %566 unwind label %577

566:                                              ; preds = %562
  %567 = load ptr, ptr %565, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %63, ptr noundef nonnull align 8 dereferenceable(30) %567, i32 noundef 160)
          to label %568 unwind label %577

568:                                              ; preds = %566
  invoke void @_ZN8UnitTest10CheckEqualIimEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %563, ptr noundef nonnull align 4 dereferenceable(4) %61, ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef nonnull align 8 dereferenceable(30) %63)
          to label %569 unwind label %577

569:                                              ; preds = %568
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %63) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %62) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %61) #9
  br label %589

570:                                              ; preds = %550
  %571 = landingpad { ptr, i32 }
          cleanup
  br label %574

572:                                              ; preds = %558, %556, %553
  %573 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %60) #9
  br label %574

574:                                              ; preds = %572, %570
  %.pn80 = phi { ptr, i32 } [ %573, %572 ], [ %571, %570 ]
  invoke void @__cxa_end_catch()
          to label %808 unwind label %812

575:                                              ; preds = %560
  %576 = landingpad { ptr, i32 }
          catch ptr null
  br label %579

577:                                              ; preds = %568, %566, %562
  %578 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %63) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %62) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %61) #9
  br label %579

579:                                              ; preds = %577, %575
  %.pn82 = phi { ptr, i32 } [ %578, %577 ], [ %576, %575 ]
  %.34 = extractvalue { ptr, i32 } %.pn82, 0
  %580 = call ptr @__cxa_begin_catch(ptr %.34) #9
  %581 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %582 unwind label %599

582:                                              ; preds = %579
  %583 = load ptr, ptr %581, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %64) #9
  %584 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %585 unwind label %601

585:                                              ; preds = %582
  %586 = load ptr, ptr %584, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %64, ptr noundef nonnull align 8 dereferenceable(30) %586, i32 noundef 160)
          to label %587 unwind label %601

587:                                              ; preds = %585
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %583, ptr noundef nonnull align 8 dereferenceable(30) %64, ptr noundef nonnull @.str.13)
          to label %588 unwind label %601

588:                                              ; preds = %587
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %64) #9
  invoke void @__cxa_end_catch()
          to label %589 unwind label %137

589:                                              ; preds = %569, %588
  %590 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %591 unwind label %604

591:                                              ; preds = %589
  %592 = load ptr, ptr %590, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %65) #9
  invoke void @_ZN7HtnTerm8ToStringB5cxx11ERKSt6vectorISt10shared_ptrIS_ESaIS2_EEbb(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %65, ptr noundef nonnull align 8 dereferenceable(24) %13, i1 noundef zeroext false, i1 noundef zeroext true)
          to label %593 unwind label %606

593:                                              ; preds = %591
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %66) #9
  %594 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %595 unwind label %608

595:                                              ; preds = %593
  %596 = load ptr, ptr %594, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %66, ptr noundef nonnull align 8 dereferenceable(30) %596, i32 noundef 161)
          to label %597 unwind label %608

597:                                              ; preds = %595
  invoke void @_ZN8UnitTest10CheckEqualIA22_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %592, ptr noundef nonnull align 1 dereferenceable(22) @.str.17, ptr noundef nonnull align 8 dereferenceable(32) %65, ptr noundef nonnull align 8 dereferenceable(30) %66)
          to label %598 unwind label %608

598:                                              ; preds = %597
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %66) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %65) #9
  br label %621

599:                                              ; preds = %579
  %600 = landingpad { ptr, i32 }
          cleanup
  br label %603

601:                                              ; preds = %587, %585, %582
  %602 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %64) #9
  br label %603

603:                                              ; preds = %601, %599
  %.pn83 = phi { ptr, i32 } [ %602, %601 ], [ %600, %599 ]
  invoke void @__cxa_end_catch()
          to label %808 unwind label %812

604:                                              ; preds = %589
  %605 = landingpad { ptr, i32 }
          catch ptr null
  br label %611

606:                                              ; preds = %591
  %607 = landingpad { ptr, i32 }
          catch ptr null
  br label %610

608:                                              ; preds = %597, %595, %593
  %609 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %66) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #9
  br label %610

610:                                              ; preds = %608, %606
  %.pn85 = phi { ptr, i32 } [ %609, %608 ], [ %607, %606 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %65) #9
  br label %611

611:                                              ; preds = %610, %604
  %.pn85.pn = phi { ptr, i32 } [ %.pn85, %610 ], [ %605, %604 ]
  %.37 = extractvalue { ptr, i32 } %.pn85.pn, 0
  %612 = call ptr @__cxa_begin_catch(ptr %.37) #9
  %613 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %614 unwind label %645

614:                                              ; preds = %611
  %615 = load ptr, ptr %613, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %67) #9
  %616 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %617 unwind label %647

617:                                              ; preds = %614
  %618 = load ptr, ptr %616, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %67, ptr noundef nonnull align 8 dereferenceable(30) %618, i32 noundef 161)
          to label %619 unwind label %647

619:                                              ; preds = %617
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %615, ptr noundef nonnull align 8 dereferenceable(30) %67, ptr noundef nonnull @.str.18)
          to label %620 unwind label %647

620:                                              ; preds = %619
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %67) #9
  invoke void @__cxa_end_catch()
          to label %621 unwind label %137

621:                                              ; preds = %620, %598
  %622 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  %623 = load ptr, ptr %622, align 8, !tbaa !5
  %624 = getelementptr inbounds i8, ptr %623, i64 32
  %625 = load ptr, ptr %624, align 8
  invoke void %625(ptr noundef nonnull align 8 dereferenceable(88) %622)
          to label %626 unwind label %137

626:                                              ; preds = %621
  %627 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.19)
          to label %628 unwind label %137

628:                                              ; preds = %626
  %629 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %69) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %70) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_SA_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %70, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %630 unwind label %650

630:                                              ; preds = %628
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_RKS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %69, ptr noundef nonnull align 8 dereferenceable(32) %70, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %631 unwind label %652

631:                                              ; preds = %630
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_RKS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %68, ptr noundef nonnull align 8 dereferenceable(32) %69, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %632 unwind label %654

632:                                              ; preds = %631
  %633 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %629, ptr noundef nonnull %68)
          to label %634 unwind label %656

634:                                              ; preds = %632
  %635 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %633)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %70) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %70) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %69) #9
  br i1 %635, label %675, label %636

636:                                              ; preds = %634
  %637 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %638 unwind label %661

638:                                              ; preds = %636
  %639 = load ptr, ptr %637, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %71) #9
  %640 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %641 unwind label %663

641:                                              ; preds = %638
  %642 = load ptr, ptr %640, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %71, ptr noundef nonnull align 8 dereferenceable(30) %642, i32 noundef 166)
          to label %643 unwind label %663

643:                                              ; preds = %641
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %639, ptr noundef nonnull align 8 dereferenceable(30) %71, ptr noundef nonnull @.str.6)
          to label %644 unwind label %663

644:                                              ; preds = %643
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %71) #9
  br label %675

645:                                              ; preds = %611
  %646 = landingpad { ptr, i32 }
          cleanup
  br label %649

647:                                              ; preds = %619, %617, %614
  %648 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %67) #9
  br label %649

649:                                              ; preds = %647, %645
  %.pn86 = phi { ptr, i32 } [ %648, %647 ], [ %646, %645 ]
  invoke void @__cxa_end_catch()
          to label %808 unwind label %812

650:                                              ; preds = %628
  %651 = landingpad { ptr, i32 }
          catch ptr null
  br label %660

652:                                              ; preds = %630
  %653 = landingpad { ptr, i32 }
          catch ptr null
  br label %659

654:                                              ; preds = %631
  %655 = landingpad { ptr, i32 }
          catch ptr null
  br label %658

656:                                              ; preds = %632
  %657 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #9
  br label %658

658:                                              ; preds = %656, %654
  %.pn88 = phi { ptr, i32 } [ %657, %656 ], [ %655, %654 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #9
  br label %659

659:                                              ; preds = %658, %652
  %.pn88.pn = phi { ptr, i32 } [ %.pn88, %658 ], [ %653, %652 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %70) #9
  br label %660

660:                                              ; preds = %659, %650
  %.pn88.pn.pn = phi { ptr, i32 } [ %.pn88.pn, %659 ], [ %651, %650 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %70) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %69) #9
  br label %665

661:                                              ; preds = %636
  %662 = landingpad { ptr, i32 }
          catch ptr null
  br label %665

663:                                              ; preds = %643, %641, %638
  %664 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %71) #9
  br label %665

665:                                              ; preds = %663, %661, %660
  %.pn89 = phi { ptr, i32 } [ %664, %663 ], [ %662, %661 ], [ %.pn88.pn.pn, %660 ]
  %.42 = extractvalue { ptr, i32 } %.pn89, 0
  %666 = call ptr @__cxa_begin_catch(ptr %.42) #9
  %667 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %668 unwind label %690

668:                                              ; preds = %665
  %669 = load ptr, ptr %667, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %72) #9
  %670 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %671 unwind label %692

671:                                              ; preds = %668
  %672 = load ptr, ptr %670, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %72, ptr noundef nonnull align 8 dereferenceable(30) %672, i32 noundef 166)
          to label %673 unwind label %692

673:                                              ; preds = %671
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %669, ptr noundef nonnull align 8 dereferenceable(30) %72, ptr noundef nonnull @.str.7)
          to label %674 unwind label %692

674:                                              ; preds = %673
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %72) #9
  invoke void @__cxa_end_catch()
          to label %675 unwind label %137

675:                                              ; preds = %634, %644, %674
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %73) #9
  %676 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE10SolveGoalsEP15HtnGoalResolveriPlPiPSt6vectorISt10shared_ptrI7HtnTermESaISA_EE(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.85") align 8 %73, ptr noundef nonnull align 8 dereferenceable(88) %676, ptr noundef nonnull %2, i32 noundef 1000000, ptr noundef null, ptr noundef nonnull %12, ptr noundef nonnull %13)
          to label %677 unwind label %695

677:                                              ; preds = %675
  %678 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %73) #9
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %73) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %73) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %74) #9
  %679 = call noundef ptr @_ZNKSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %6) #9
  invoke void @_ZN15HtnGoalResolver8ToStringB5cxx11EPKSt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EEb(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %74, ptr noundef %679, i1 noundef zeroext false)
          to label %680 unwind label %697

680:                                              ; preds = %677
  %681 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %74) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %74) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %74) #9
  %682 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %683 unwind label %699

683:                                              ; preds = %680
  %684 = load ptr, ptr %682, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %75) #9
  %685 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %686 unwind label %701

686:                                              ; preds = %683
  %687 = load ptr, ptr %685, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %75, ptr noundef nonnull align 8 dereferenceable(30) %687, i32 noundef 169)
          to label %688 unwind label %701

688:                                              ; preds = %686
  invoke void @_ZN8UnitTest10CheckEqualIA5_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %684, ptr noundef nonnull align 1 dereferenceable(5) @.str.8, ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(30) %75)
          to label %689 unwind label %701

689:                                              ; preds = %688
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %75) #9
  br label %713

690:                                              ; preds = %665
  %691 = landingpad { ptr, i32 }
          cleanup
  br label %694

692:                                              ; preds = %673, %671, %668
  %693 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %72) #9
  br label %694

694:                                              ; preds = %692, %690
  %.pn90 = phi { ptr, i32 } [ %693, %692 ], [ %691, %690 ]
  invoke void @__cxa_end_catch()
          to label %808 unwind label %812

695:                                              ; preds = %675
  %696 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %73) #9
  br label %808

697:                                              ; preds = %677
  %698 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %74) #9
  br label %808

699:                                              ; preds = %680
  %700 = landingpad { ptr, i32 }
          catch ptr null
  br label %703

701:                                              ; preds = %688, %686, %683
  %702 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %75) #9
  br label %703

703:                                              ; preds = %701, %699
  %.pn92 = phi { ptr, i32 } [ %702, %701 ], [ %700, %699 ]
  %.44 = extractvalue { ptr, i32 } %.pn92, 0
  %704 = call ptr @__cxa_begin_catch(ptr %.44) #9
  %705 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %706 unwind label %722

706:                                              ; preds = %703
  %707 = load ptr, ptr %705, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %76) #9
  %708 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %709 unwind label %724

709:                                              ; preds = %706
  %710 = load ptr, ptr %708, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %76, ptr noundef nonnull align 8 dereferenceable(30) %710, i32 noundef 169)
          to label %711 unwind label %724

711:                                              ; preds = %709
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %707, ptr noundef nonnull align 8 dereferenceable(30) %76, ptr noundef nonnull @.str.20)
          to label %712 unwind label %724

712:                                              ; preds = %711
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %76) #9
  invoke void @__cxa_end_catch()
          to label %713 unwind label %137

713:                                              ; preds = %689, %712
  %714 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %715 unwind label %727

715:                                              ; preds = %713
  %716 = load ptr, ptr %714, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %77) #9
  store i32 2, ptr %77, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %78) #9
  %717 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %718 unwind label %729

718:                                              ; preds = %715
  %719 = load ptr, ptr %717, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %78, ptr noundef nonnull align 8 dereferenceable(30) %719, i32 noundef 170)
          to label %720 unwind label %729

720:                                              ; preds = %718
  invoke void @_ZN8UnitTest10CheckEqualIiiEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %716, ptr noundef nonnull align 4 dereferenceable(4) %77, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 8 dereferenceable(30) %78)
          to label %721 unwind label %729

721:                                              ; preds = %720
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %78) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %77) #9
  br label %741

722:                                              ; preds = %703
  %723 = landingpad { ptr, i32 }
          cleanup
  br label %726

724:                                              ; preds = %711, %709, %706
  %725 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %76) #9
  br label %726

726:                                              ; preds = %724, %722
  %.pn93 = phi { ptr, i32 } [ %725, %724 ], [ %723, %722 ]
  invoke void @__cxa_end_catch()
          to label %808 unwind label %812

727:                                              ; preds = %713
  %728 = landingpad { ptr, i32 }
          catch ptr null
  br label %731

729:                                              ; preds = %720, %718, %715
  %730 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %78) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %77) #9
  br label %731

731:                                              ; preds = %729, %727
  %.pn95 = phi { ptr, i32 } [ %730, %729 ], [ %728, %727 ]
  %.46 = extractvalue { ptr, i32 } %.pn95, 0
  %732 = call ptr @__cxa_begin_catch(ptr %.46) #9
  %733 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %734 unwind label %751

734:                                              ; preds = %731
  %735 = load ptr, ptr %733, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %79) #9
  %736 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %737 unwind label %753

737:                                              ; preds = %734
  %738 = load ptr, ptr %736, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %79, ptr noundef nonnull align 8 dereferenceable(30) %738, i32 noundef 170)
          to label %739 unwind label %753

739:                                              ; preds = %737
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %735, ptr noundef nonnull align 8 dereferenceable(30) %79, ptr noundef nonnull @.str.21)
          to label %740 unwind label %753

740:                                              ; preds = %739
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %79) #9
  invoke void @__cxa_end_catch()
          to label %741 unwind label %137

741:                                              ; preds = %721, %740
  %742 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %743 unwind label %756

743:                                              ; preds = %741
  %744 = load ptr, ptr %742, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %80) #9
  store i32 2, ptr %80, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %81) #9
  %745 = call noundef i64 @_ZNKSt6vectorISt10shared_ptrI7HtnTermESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  store i64 %745, ptr %81, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %82) #9
  %746 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %747 unwind label %758

747:                                              ; preds = %743
  %748 = load ptr, ptr %746, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %82, ptr noundef nonnull align 8 dereferenceable(30) %748, i32 noundef 171)
          to label %749 unwind label %758

749:                                              ; preds = %747
  invoke void @_ZN8UnitTest10CheckEqualIimEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %744, ptr noundef nonnull align 4 dereferenceable(4) %80, ptr noundef nonnull align 8 dereferenceable(8) %81, ptr noundef nonnull align 8 dereferenceable(30) %82)
          to label %750 unwind label %758

750:                                              ; preds = %749
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %82) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %81) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %80) #9
  br label %770

751:                                              ; preds = %731
  %752 = landingpad { ptr, i32 }
          cleanup
  br label %755

753:                                              ; preds = %739, %737, %734
  %754 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %79) #9
  br label %755

755:                                              ; preds = %753, %751
  %.pn96 = phi { ptr, i32 } [ %754, %753 ], [ %752, %751 ]
  invoke void @__cxa_end_catch()
          to label %808 unwind label %812

756:                                              ; preds = %741
  %757 = landingpad { ptr, i32 }
          catch ptr null
  br label %760

758:                                              ; preds = %749, %747, %743
  %759 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %82) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %81) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %80) #9
  br label %760

760:                                              ; preds = %758, %756
  %.pn98 = phi { ptr, i32 } [ %759, %758 ], [ %757, %756 ]
  %.48 = extractvalue { ptr, i32 } %.pn98, 0
  %761 = call ptr @__cxa_begin_catch(ptr %.48) #9
  %762 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %763 unwind label %780

763:                                              ; preds = %760
  %764 = load ptr, ptr %762, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %83) #9
  %765 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %766 unwind label %782

766:                                              ; preds = %763
  %767 = load ptr, ptr %765, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %83, ptr noundef nonnull align 8 dereferenceable(30) %767, i32 noundef 171)
          to label %768 unwind label %782

768:                                              ; preds = %766
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %764, ptr noundef nonnull align 8 dereferenceable(30) %83, ptr noundef nonnull @.str.13)
          to label %769 unwind label %782

769:                                              ; preds = %768
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %83) #9
  invoke void @__cxa_end_catch()
          to label %770 unwind label %137

770:                                              ; preds = %750, %769
  %771 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %772 unwind label %785

772:                                              ; preds = %770
  %773 = load ptr, ptr %771, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %84) #9
  invoke void @_ZN7HtnTerm8ToStringB5cxx11ERKSt6vectorISt10shared_ptrIS_ESaIS2_EEbb(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %84, ptr noundef nonnull align 8 dereferenceable(24) %13, i1 noundef zeroext false, i1 noundef zeroext true)
          to label %774 unwind label %787

774:                                              ; preds = %772
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %85) #9
  %775 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %776 unwind label %789

776:                                              ; preds = %774
  %777 = load ptr, ptr %775, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %85, ptr noundef nonnull align 8 dereferenceable(30) %777, i32 noundef 172)
          to label %778 unwind label %789

778:                                              ; preds = %776
  invoke void @_ZN8UnitTest10CheckEqualIA22_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %773, ptr noundef nonnull align 1 dereferenceable(22) @.str.17, ptr noundef nonnull align 8 dereferenceable(32) %84, ptr noundef nonnull align 8 dereferenceable(30) %85)
          to label %779 unwind label %789

779:                                              ; preds = %778
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %85) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %84) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %84) #9
  br label %802

780:                                              ; preds = %760
  %781 = landingpad { ptr, i32 }
          cleanup
  br label %784

782:                                              ; preds = %768, %766, %763
  %783 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %83) #9
  br label %784

784:                                              ; preds = %782, %780
  %.pn99 = phi { ptr, i32 } [ %783, %782 ], [ %781, %780 ]
  invoke void @__cxa_end_catch()
          to label %808 unwind label %812

785:                                              ; preds = %770
  %786 = landingpad { ptr, i32 }
          catch ptr null
  br label %792

787:                                              ; preds = %772
  %788 = landingpad { ptr, i32 }
          catch ptr null
  br label %791

789:                                              ; preds = %778, %776, %774
  %790 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %85) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %84) #9
  br label %791

791:                                              ; preds = %789, %787
  %.pn101 = phi { ptr, i32 } [ %790, %789 ], [ %788, %787 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %84) #9
  br label %792

792:                                              ; preds = %791, %785
  %.pn101.pn = phi { ptr, i32 } [ %.pn101, %791 ], [ %786, %785 ]
  %.51 = extractvalue { ptr, i32 } %.pn101.pn, 0
  %793 = call ptr @__cxa_begin_catch(ptr %.51) #9
  %794 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %795 unwind label %803

795:                                              ; preds = %792
  %796 = load ptr, ptr %794, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %86) #9
  %797 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %798 unwind label %805

798:                                              ; preds = %795
  %799 = load ptr, ptr %797, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %86, ptr noundef nonnull align 8 dereferenceable(30) %799, i32 noundef 172)
          to label %800 unwind label %805

800:                                              ; preds = %798
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %796, ptr noundef nonnull align 8 dereferenceable(30) %86, ptr noundef nonnull @.str.18)
          to label %801 unwind label %805

801:                                              ; preds = %800
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %86) #9
  invoke void @__cxa_end_catch()
          to label %802 unwind label %137

802:                                              ; preds = %801, %779
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #9
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #9
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #9
  call void @_ZNSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @_ZNSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #9
  call void @_ZN15HtnGoalResolverD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %2) #9
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #9
  ret void

803:                                              ; preds = %792
  %804 = landingpad { ptr, i32 }
          cleanup
  br label %807

805:                                              ; preds = %800, %798, %795
  %806 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %86) #9
  br label %807

807:                                              ; preds = %805, %803
  %.pn102 = phi { ptr, i32 } [ %806, %805 ], [ %804, %803 ]
  invoke void @__cxa_end_catch()
          to label %808 unwind label %812

808:                                              ; preds = %807, %784, %755, %726, %694, %649, %603, %574, %545, %513, %468, %422, %393, %364, %332, %287, %244, %215, %183, %697, %695, %516, %514, %335, %333, %186, %184, %137
  %.pn104 = phi { ptr, i32 } [ %138, %137 ], [ %.pn102, %807 ], [ %.pn99, %784 ], [ %.pn96, %755 ], [ %.pn93, %726 ], [ %698, %697 ], [ %696, %695 ], [ %.pn90, %694 ], [ %.pn86, %649 ], [ %.pn83, %603 ], [ %.pn80, %574 ], [ %.pn77, %545 ], [ %517, %516 ], [ %515, %514 ], [ %.pn74, %513 ], [ %.pn70, %468 ], [ %.pn67, %422 ], [ %.pn64, %393 ], [ %.pn61, %364 ], [ %336, %335 ], [ %334, %333 ], [ %.pn58, %332 ], [ %.pn54, %287 ], [ %.pn51, %244 ], [ %.pn48, %215 ], [ %187, %186 ], [ %185, %184 ], [ %.pn45, %183 ]
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #9
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #9
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #9
  br label %809

809:                                              ; preds = %808, %135
  %.pn104.pn = phi { ptr, i32 } [ %.pn104, %808 ], [ %136, %135 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #9
  call void @_ZNSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #9
  br label %810

810:                                              ; preds = %809, %133, %131
  %.pn104.pn.pn = phi { ptr, i32 } [ %.pn104.pn, %809 ], [ %132, %131 ], [ %134, %133 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @_ZNSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #9
  br label %811

811:                                              ; preds = %810, %129, %127
  %.pn104.pn.pn.pn = phi { ptr, i32 } [ %.pn104.pn.pn, %810 ], [ %128, %127 ], [ %130, %129 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #9
  call void @_ZN15HtnGoalResolverD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %2) #9
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #9
  resume { ptr, i32 } %.pn104.pn.pn.pn

812:                                              ; preds = %807, %784, %755, %726, %694, %649, %603, %574, %545, %513, %468, %422, %393, %364, %332, %287, %244, %215, %183
  %813 = landingpad { ptr, i32 }
          catch ptr null
  %814 = extractvalue { ptr, i32 } %813, 0
  call void @__clang_call_terminate(ptr %814) #12
  unreachable
}

declare void @_ZN15HtnGoalResolverC1Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #2

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

declare void @_ZN14HtnTermFactoryC1Ev(ptr noundef nonnull align 8 dereferenceable(33088)) unnamed_addr #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10HtnRuleSetC2Ev(ptr noundef nonnull align 8 dereferenceable(144)) unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext) local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_RKS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_SA_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv() local_unnamed_addr #2

declare void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21), ptr noundef nonnull align 8 dereferenceable(30), ptr noundef) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv() local_unnamed_addr #2

declare void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30), ptr noundef nonnull align 8 dereferenceable(30), i32 noundef) unnamed_addr #2

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: mustprogress uwtable
declare dso_local void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE10SolveGoalsEP15HtnGoalResolveriPlPiPSt6vectorISt10shared_ptrI7HtnTermESaISA_EE(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.85") align 8, ptr noundef nonnull align 8 dereferenceable(88), ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8UnitTest10CheckEqualINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA5_cEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(5), ptr noundef nonnull align 8 dereferenceable(30)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8UnitTest10CheckEqualIiiEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(30)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8UnitTest10CheckEqualIimEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(30)) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8UnitTest10CheckEqualIA21_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21), ptr noundef nonnull align 1 dereferenceable(21), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(30)) local_unnamed_addr #1

declare void @_ZN7HtnTerm8ToStringB5cxx11ERKSt6vectorISt10shared_ptrIS_ESaIS2_EEbb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8UnitTest10CheckEqualIA22_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21), ptr noundef nonnull align 1 dereferenceable(22), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(30)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8UnitTest10CheckEqualIA5_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21), ptr noundef nonnull align 1 dereferenceable(5), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(30)) local_unnamed_addr #1

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "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 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 #4 = { 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 #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 = { inlinehint 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 #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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { builtin nounwind }
attributes #12 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !10, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !10, i64 0}


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