; 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.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::shared_ptr.85" = type { %"class.std::__shared_ptr.86" }
%"class.std::__shared_ptr.86" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%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_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.UnitTest::TestDetails" = type <{ ptr, ptr, ptr, i32, i8, i8, [2 x i8] }>
%"class.std::allocator.88" = type { i8 }

@.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.34 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.188 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.189 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.250 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.251 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.325 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.326 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.327 = external hidden unnamed_addr constant [107 x i8], align 1
@.str.328 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.329 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.330 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.331 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.332 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.333 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.334 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.335 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.336 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.337 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.338 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.339 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.340 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.341 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.342 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.343 = external hidden unnamed_addr constant [39 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(...)

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

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

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

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

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

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

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

; 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() #1

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE10SolveGoalsEv(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.85") align 8, ptr noundef nonnull align 8 dereferenceable(88)) #4 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN25SuiteHtnGoalResolverTests37TestHtnGoalResolverAssertRetractTests7RunImplEv(ptr noundef nonnull align 8 dereferenceable(49) %0) unnamed_addr #4 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::__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 %"class.std::shared_ptr.85", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", 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.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.UnitTest::TestDetails", align 8
  %19 = alloca %"class.UnitTest::TestDetails", align 8
  %20 = alloca %"class.std::shared_ptr.85", align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.UnitTest::TestDetails", align 8
  %23 = alloca %"class.UnitTest::TestDetails", align 8
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::allocator.88", align 1
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"class.std::allocator.88", align 1
  %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.std::__cxx11::basic_string", align 8
  %34 = alloca %"class.std::__cxx11::basic_string", align 8
  %35 = alloca %"class.UnitTest::TestDetails", align 8
  %36 = alloca %"class.UnitTest::TestDetails", align 8
  %37 = alloca %"class.std::shared_ptr.85", align 8
  %38 = alloca %"class.std::__cxx11::basic_string", align 8
  %39 = alloca %"class.UnitTest::TestDetails", align 8
  %40 = alloca %"class.UnitTest::TestDetails", align 8
  %41 = alloca %"class.std::__cxx11::basic_string", align 8
  %42 = alloca %"class.std::allocator.88", align 1
  %43 = alloca %"class.std::__cxx11::basic_string", align 8
  %44 = alloca %"class.std::allocator.88", align 1
  %45 = alloca %"class.UnitTest::TestDetails", align 8
  %46 = alloca %"class.UnitTest::TestDetails", align 8
  %47 = alloca %"class.std::__cxx11::basic_string", align 8
  %48 = alloca %"class.std::__cxx11::basic_string", 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 %"class.std::__cxx11::basic_string", align 8
  %59 = alloca %"class.std::allocator.88", align 1
  %60 = alloca %"class.std::__cxx11::basic_string", align 8
  %61 = alloca %"class.std::allocator.88", align 1
  %62 = alloca %"class.UnitTest::TestDetails", align 8
  %63 = alloca %"class.UnitTest::TestDetails", align 8
  %64 = alloca %"class.std::__cxx11::basic_string", align 8
  %65 = alloca %"class.std::__cxx11::basic_string", align 8
  %66 = alloca %"class.std::__cxx11::basic_string", align 8
  %67 = alloca %"class.std::__cxx11::basic_string", 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::shared_ptr.85", align 8
  %72 = alloca %"class.std::__cxx11::basic_string", align 8
  %73 = alloca %"class.UnitTest::TestDetails", align 8
  %74 = alloca %"class.UnitTest::TestDetails", align 8
  %75 = alloca %"class.std::__cxx11::basic_string", align 8
  %76 = alloca %"class.std::allocator.88", align 1
  %77 = alloca %"class.std::__cxx11::basic_string", align 8
  %78 = alloca %"class.std::allocator.88", align 1
  %79 = alloca %"class.UnitTest::TestDetails", align 8
  %80 = alloca %"class.UnitTest::TestDetails", align 8
  %81 = alloca %"class.std::__cxx11::basic_string", align 8
  %82 = alloca %"class.std::__cxx11::basic_string", align 8
  %83 = alloca %"class.std::__cxx11::basic_string", align 8
  %84 = alloca %"class.std::__cxx11::basic_string", align 8
  %85 = alloca %"class.std::__cxx11::basic_string", align 8
  %86 = alloca %"class.UnitTest::TestDetails", align 8
  %87 = alloca %"class.UnitTest::TestDetails", align 8
  %88 = alloca %"class.std::shared_ptr.85", align 8
  %89 = alloca %"class.std::__cxx11::basic_string", align 8
  %90 = alloca %"class.UnitTest::TestDetails", align 8
  %91 = alloca %"class.UnitTest::TestDetails", align 8
  %92 = alloca %"class.std::__cxx11::basic_string", align 8
  %93 = alloca %"class.std::allocator.88", align 1
  %94 = alloca %"class.std::__cxx11::basic_string", align 8
  %95 = alloca %"class.std::allocator.88", align 1
  %96 = alloca %"class.UnitTest::TestDetails", align 8
  %97 = alloca %"class.UnitTest::TestDetails", align 8
  %98 = alloca %"class.std::__cxx11::basic_string", align 8
  %99 = alloca %"class.std::allocator.88", align 1
  %100 = alloca %"class.std::__cxx11::basic_string", align 8
  %101 = alloca %"class.std::allocator.88", align 1
  %102 = alloca %"class.UnitTest::TestDetails", align 8
  %103 = alloca %"class.UnitTest::TestDetails", align 8
  %104 = alloca %"class.std::__cxx11::basic_string", align 8
  %105 = alloca %"class.std::__cxx11::basic_string", align 8
  %106 = alloca %"class.std::__cxx11::basic_string", align 8
  %107 = alloca %"class.std::__cxx11::basic_string", align 8
  %108 = alloca %"class.std::__cxx11::basic_string", align 8
  %109 = alloca %"class.UnitTest::TestDetails", align 8
  %110 = alloca %"class.UnitTest::TestDetails", align 8
  %111 = alloca %"class.std::shared_ptr.85", align 8
  %112 = alloca %"class.std::__cxx11::basic_string", align 8
  %113 = alloca %"class.UnitTest::TestDetails", align 8
  %114 = alloca %"class.UnitTest::TestDetails", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %115 = 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
  %116 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 33088) #10
          to label %117 unwind label %156

117:                                              ; preds = %1
  invoke void @_ZN14HtnTermFactoryC1Ev(ptr noundef nonnull align 8 dereferenceable(33088) %116)
          to label %118 unwind label %160

118:                                              ; preds = %117
  invoke void @_ZNSt10shared_ptrI14HtnTermFactoryEC2IS0_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef %116)
          to label %119 unwind label %156

119:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #9
  %120 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 144) #10
          to label %121 unwind label %164

121:                                              ; preds = %119
  invoke void @_ZN10HtnRuleSetC2Ev(ptr noundef nonnull align 8 dereferenceable(144) %120)
          to label %122 unwind label %168

122:                                              ; preds = %121
  invoke void @_ZNSt10shared_ptrI10HtnRuleSetEC2IS0_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef %120)
          to label %123 unwind label %164

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

125:                                              ; preds = %123
  %126 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #9
  %127 = 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) %124, ptr noundef %126, ptr noundef %127)
          to label %128 unwind label %176

128:                                              ; preds = %125
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef %124)
          to label %129 unwind label %172

129:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 32, ptr %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 %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 16, ptr %12) #9
  call void @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #9
  %130 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  %131 = load ptr, ptr %130, align 8, !tbaa !9
  %132 = getelementptr inbounds ptr, ptr %131, i64 4
  %133 = load ptr, ptr %132, align 8
  invoke void %133(ptr noundef nonnull align 8 dereferenceable(88) %130)
          to label %134 unwind label %180

134:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %15, ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef @.str.250)
          to label %135 unwind label %184

135:                                              ; preds = %134
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %14, ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef @.str.251)
          to label %136 unwind label %188

136:                                              ; preds = %135
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %13, ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef @.str.325)
          to label %137 unwind label %192

137:                                              ; preds = %136
  %138 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  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 %16) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #9
  br label %139

139:                                              ; preds = %137
  %140 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %141 unwind label %198

141:                                              ; preds = %139
  %142 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %140, ptr noundef %17)
          to label %143 unwind label %202

143:                                              ; preds = %141
  %144 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %142)
          to label %145 unwind label %202

145:                                              ; preds = %143
  %146 = xor i1 %144, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  br i1 %146, label %147, label %240

147:                                              ; preds = %145
  %148 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %149 unwind label %198

149:                                              ; preds = %147
  %150 = load ptr, ptr %148, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #9
  %151 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %152 unwind label %206

152:                                              ; preds = %149
  %153 = load ptr, ptr %151, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %18, ptr noundef nonnull align 8 dereferenceable(30) %153, i32 noundef 1333)
          to label %154 unwind label %206

154:                                              ; preds = %152
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %150, ptr noundef nonnull align 8 dereferenceable(30) %18, ptr noundef @.str.59)
          to label %155 unwind label %206

155:                                              ; preds = %154
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #9
  br label %240

156:                                              ; preds = %118, %1
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %5, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %6, align 4
  br label %1365

160:                                              ; preds = %117
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %5, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %116, i64 noundef 33088) #11
  br label %1365

164:                                              ; preds = %122, %119
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %5, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %6, align 4
  br label %1364

168:                                              ; preds = %121
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %5, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %120, i64 noundef 144) #11
  br label %1364

172:                                              ; preds = %128, %123
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %5, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %6, align 4
  br label %1363

176:                                              ; preds = %125
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %5, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %124, i64 noundef 88) #11
  br label %1363

180:                                              ; preds = %1347, %1290, %1216, %1212, %1145, %1079, %1022, %948, %944, %878, %821, %747, %743, %677, %620, %546, %542, %477, %420, %346, %342, %277, %220, %129
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %5, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %6, align 4
  br label %1362

184:                                              ; preds = %134
  %185 = landingpad { ptr, i32 }
          cleanup
  %186 = extractvalue { ptr, i32 } %185, 0
  store ptr %186, ptr %5, align 8
  %187 = extractvalue { ptr, i32 } %185, 1
  store i32 %187, ptr %6, align 4
  br label %197

188:                                              ; preds = %135
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %5, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %6, align 4
  br label %196

192:                                              ; preds = %136
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %5, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  br label %196

196:                                              ; preds = %192, %188
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  br label %197

197:                                              ; preds = %196, %184
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #9
  br label %1362

198:                                              ; preds = %147, %139
  %199 = landingpad { ptr, i32 }
          catch ptr null
  %200 = extractvalue { ptr, i32 } %199, 0
  store ptr %200, ptr %5, align 8
  %201 = extractvalue { ptr, i32 } %199, 1
  store i32 %201, ptr %6, align 4
  br label %210

202:                                              ; preds = %143, %141
  %203 = landingpad { ptr, i32 }
          catch ptr null
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %5, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  br label %210

206:                                              ; preds = %154, %152, %149
  %207 = landingpad { ptr, i32 }
          catch ptr null
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %5, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #9
  br label %210

210:                                              ; preds = %206, %202, %198
  %211 = load ptr, ptr %5, align 8
  %212 = call ptr @__cxa_begin_catch(ptr %211) #9
  %213 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %214 unwind label %241

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

217:                                              ; preds = %214
  %218 = load ptr, ptr %216, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %19, ptr noundef nonnull align 8 dereferenceable(30) %218, i32 noundef 1333)
          to label %219 unwind label %245

219:                                              ; preds = %217
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %215, ptr noundef nonnull align 8 dereferenceable(30) %19, ptr noundef @.str.60)
          to label %220 unwind label %245

220:                                              ; preds = %219
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #9
  invoke void @__cxa_end_catch()
          to label %221 unwind label %180

221:                                              ; preds = %220
  br label %222

222:                                              ; preds = %240, %221
  br label %223

223:                                              ; preds = %222
  br label %224

224:                                              ; preds = %223
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #9
  %225 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE10SolveGoalsEv(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.85") align 8 %20, ptr noundef nonnull align 8 dereferenceable(88) %225)
          to label %226 unwind label %251

226:                                              ; preds = %224
  %227 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %20) #9
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #9
  %228 = call noundef ptr @_ZNKSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %12) #9
  invoke void @_ZN15HtnGoalResolver8ToStringB5cxx11EPKSt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %21, ptr noundef %228, i1 noundef zeroext false)
          to label %229 unwind label %255

229:                                              ; preds = %226
  %230 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #9
  br label %231

231:                                              ; preds = %229
  %232 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %233 unwind label %259

233:                                              ; preds = %231
  %234 = load ptr, ptr %232, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #9
  %235 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %236 unwind label %263

236:                                              ; preds = %233
  %237 = load ptr, ptr %235, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %22, ptr noundef nonnull align 8 dereferenceable(30) %237, i32 noundef 1336)
          to label %238 unwind label %263

238:                                              ; preds = %236
  invoke void @_ZN8UnitTest10CheckEqualINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA55_cEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %234, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 1 dereferenceable(55) @.str.326, ptr noundef nonnull align 8 dereferenceable(30) %22)
          to label %239 unwind label %263

239:                                              ; preds = %238
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #9
  br label %279

240:                                              ; preds = %155, %145
  br label %222

241:                                              ; preds = %210
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %5, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %6, align 4
  br label %249

245:                                              ; preds = %219, %217, %214
  %246 = landingpad { ptr, i32 }
          cleanup
  %247 = extractvalue { ptr, i32 } %246, 0
  store ptr %247, ptr %5, align 8
  %248 = extractvalue { ptr, i32 } %246, 1
  store i32 %248, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #9
  br label %249

249:                                              ; preds = %245, %241
  invoke void @__cxa_end_catch()
          to label %250 unwind label %1371

250:                                              ; preds = %249
  br label %1362

251:                                              ; preds = %224
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %5, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #9
  br label %1362

255:                                              ; preds = %226
  %256 = landingpad { ptr, i32 }
          cleanup
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %5, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #9
  br label %1362

259:                                              ; preds = %231
  %260 = landingpad { ptr, i32 }
          catch ptr null
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %5, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %6, align 4
  br label %267

263:                                              ; preds = %238, %236, %233
  %264 = landingpad { ptr, i32 }
          catch ptr null
  %265 = extractvalue { ptr, i32 } %264, 0
  store ptr %265, ptr %5, align 8
  %266 = extractvalue { ptr, i32 } %264, 1
  store i32 %266, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #9
  br label %267

267:                                              ; preds = %263, %259
  %268 = load ptr, ptr %5, align 8
  %269 = call ptr @__cxa_begin_catch(ptr %268) #9
  %270 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %271 unwind label %300

271:                                              ; preds = %267
  %272 = load ptr, ptr %270, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #9
  %273 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %274 unwind label %304

274:                                              ; preds = %271
  %275 = load ptr, ptr %273, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %23, ptr noundef nonnull align 8 dereferenceable(30) %275, i32 noundef 1336)
          to label %276 unwind label %304

276:                                              ; preds = %274
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %272, ptr noundef nonnull align 8 dereferenceable(30) %23, ptr noundef @.str.327)
          to label %277 unwind label %304

277:                                              ; preds = %276
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #9
  invoke void @__cxa_end_catch()
          to label %278 unwind label %180

278:                                              ; preds = %277
  br label %279

279:                                              ; preds = %278, %239
  br label %280

280:                                              ; preds = %279
  br label %281

281:                                              ; preds = %280
  br label %282

282:                                              ; preds = %281
  %283 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef @.str.328, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %284 unwind label %310

284:                                              ; preds = %282
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef @.str.34, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %285 unwind label %314

285:                                              ; preds = %284
  %286 = invoke noundef zeroext i1 @_ZNK10HtnRuleSet12DebugHasRuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_(ptr noundef nonnull align 8 dereferenceable(144) %283, ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(32) %26)
          to label %287 unwind label %318

287:                                              ; preds = %285
  %288 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %286)
          to label %289 unwind label %318

289:                                              ; preds = %287
  %290 = xor i1 %288, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #9
  br i1 %290, label %291, label %373

291:                                              ; preds = %289
  %292 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %293 unwind label %324

293:                                              ; preds = %291
  %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 %328

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 1338)
          to label %298 unwind label %328

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.329)
          to label %299 unwind label %328

299:                                              ; preds = %298
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #9
  br label %373

300:                                              ; preds = %267
  %301 = landingpad { ptr, i32 }
          cleanup
  %302 = extractvalue { ptr, i32 } %301, 0
  store ptr %302, ptr %5, align 8
  %303 = extractvalue { ptr, i32 } %301, 1
  store i32 %303, ptr %6, align 4
  br label %308

304:                                              ; preds = %276, %274, %271
  %305 = landingpad { ptr, i32 }
          cleanup
  %306 = extractvalue { ptr, i32 } %305, 0
  store ptr %306, ptr %5, align 8
  %307 = extractvalue { ptr, i32 } %305, 1
  store i32 %307, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #9
  br label %308

308:                                              ; preds = %304, %300
  invoke void @__cxa_end_catch()
          to label %309 unwind label %1371

309:                                              ; preds = %308
  br label %1362

310:                                              ; preds = %282
  %311 = landingpad { ptr, i32 }
          catch ptr null
  %312 = extractvalue { ptr, i32 } %311, 0
  store ptr %312, ptr %5, align 8
  %313 = extractvalue { ptr, i32 } %311, 1
  store i32 %313, ptr %6, align 4
  br label %323

314:                                              ; preds = %284
  %315 = landingpad { ptr, i32 }
          catch ptr null
  %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 = %287, %285
  %319 = landingpad { ptr, i32 }
          catch ptr null
  %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 @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #9
  br label %322

322:                                              ; preds = %318, %314
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #9
  br label %323

323:                                              ; preds = %322, %310
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #9
  br label %332

324:                                              ; preds = %291
  %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 = %298, %296, %293
  %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 %28) #9
  br label %332

332:                                              ; preds = %328, %324, %323
  %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 %374

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

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

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

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

343:                                              ; preds = %342
  br label %344

344:                                              ; preds = %373, %343
  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 %180

351:                                              ; preds = %346
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %33) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %32, ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef @.str.250)
          to label %352 unwind label %384

352:                                              ; preds = %351
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %31, ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef @.str.251)
          to label %353 unwind label %388

353:                                              ; preds = %352
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %30, ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef @.str.331)
          to label %354 unwind label %392

354:                                              ; preds = %353
  %355 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %30) #9
  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 @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #9
  br label %356

356:                                              ; preds = %354
  %357 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %358 unwind label %398

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

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

362:                                              ; preds = %360
  %363 = xor i1 %361, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %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 %398

366:                                              ; preds = %364
  %367 = load ptr, ptr %365, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %35) #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) %35, ptr noundef nonnull align 8 dereferenceable(30) %370, i32 noundef 1348)
          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) %35, ptr noundef @.str.59)
          to label %372 unwind label %406

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

373:                                              ; preds = %299, %289
  br label %344

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

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

382:                                              ; preds = %378, %374
  invoke void @__cxa_end_catch()
          to label %383 unwind label %1371

383:                                              ; preds = %382
  br label %1362

384:                                              ; preds = %351
  %385 = landingpad { ptr, i32 }
          cleanup
  %386 = extractvalue { ptr, i32 } %385, 0
  store ptr %386, ptr %5, align 8
  %387 = extractvalue { ptr, i32 } %385, 1
  store i32 %387, ptr %6, align 4
  br label %397

388:                                              ; preds = %352
  %389 = landingpad { ptr, i32 }
          cleanup
  %390 = extractvalue { ptr, i32 } %389, 0
  store ptr %390, ptr %5, align 8
  %391 = extractvalue { ptr, i32 } %389, 1
  store i32 %391, ptr %6, align 4
  br label %396

392:                                              ; preds = %353
  %393 = landingpad { ptr, i32 }
          cleanup
  %394 = extractvalue { ptr, i32 } %393, 0
  store ptr %394, ptr %5, align 8
  %395 = extractvalue { ptr, i32 } %393, 1
  store i32 %395, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  br label %396

396:                                              ; preds = %392, %388
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #9
  br label %397

397:                                              ; preds = %396, %384
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #9
  br label %1362

398:                                              ; preds = %364, %356
  %399 = landingpad { ptr, i32 }
          catch ptr null
  %400 = extractvalue { ptr, i32 } %399, 0
  store ptr %400, ptr %5, align 8
  %401 = extractvalue { ptr, i32 } %399, 1
  store i32 %401, ptr %6, align 4
  br label %410

402:                                              ; preds = %360, %358
  %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
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #9
  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 %35) #9
  br label %410

410:                                              ; preds = %406, %402, %398
  %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 %36) #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) %36, ptr noundef nonnull align 8 dereferenceable(30) %418, i32 noundef 1348)
          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) %36, ptr noundef @.str.60)
          to label %420 unwind label %445

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

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 %37) #9
  %425 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE10SolveGoalsEv(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.85") align 8 %37, ptr noundef nonnull align 8 dereferenceable(88) %425)
          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) %12, ptr noundef nonnull align 8 dereferenceable(16) %37) #9
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %37) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %38) #9
  %428 = call noundef ptr @_ZNKSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %12) #9
  invoke void @_ZN15HtnGoalResolver8ToStringB5cxx11EPKSt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %38, 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) %11, ptr noundef nonnull align 8 dereferenceable(32) %38) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #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 %39) #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) %39, ptr noundef nonnull align 8 dereferenceable(30) %437, i32 noundef 1351)
          to label %438 unwind label %463

438:                                              ; preds = %436
  invoke void @_ZN8UnitTest10CheckEqualINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA55_cEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %434, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 1 dereferenceable(55) @.str.326, ptr noundef nonnull align 8 dereferenceable(30) %39)
          to label %439 unwind label %463

439:                                              ; preds = %438
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #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 %36) #9
  br label %449

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

450:                                              ; preds = %449
  br label %1362

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 %37) #9
  br label %1362

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 %38) #9
  br label %1362

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 %39) #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 %500

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

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

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

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

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 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %41) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef @.str.328, ptr noundef nonnull align 1 dereferenceable(1) %42)
          to label %484 unwind label %510

484:                                              ; preds = %482
  call void @llvm.lifetime.start.p0(i64 32, ptr %43) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef @.str.34, ptr noundef nonnull align 1 dereferenceable(1) %44)
          to label %485 unwind label %514

485:                                              ; preds = %484
  %486 = invoke noundef zeroext i1 @_ZNK10HtnRuleSet12DebugHasRuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_(ptr noundef nonnull align 8 dereferenceable(144) %483, ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef nonnull align 8 dereferenceable(32) %43)
          to label %487 unwind label %518

487:                                              ; preds = %485
  %488 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %486)
          to label %489 unwind label %518

489:                                              ; preds = %487
  %490 = xor i1 %488, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #9
  br i1 %490, label %491, label %573

491:                                              ; preds = %489
  %492 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %493 unwind label %524

493:                                              ; preds = %491
  %494 = load ptr, ptr %492, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %45) #9
  %495 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %496 unwind label %528

496:                                              ; preds = %493
  %497 = load ptr, ptr %495, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %45, ptr noundef nonnull align 8 dereferenceable(30) %497, i32 noundef 1353)
          to label %498 unwind label %528

498:                                              ; preds = %496
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %494, ptr noundef nonnull align 8 dereferenceable(30) %45, ptr noundef @.str.329)
          to label %499 unwind label %528

499:                                              ; preds = %498
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #9
  br label %573

500:                                              ; preds = %467
  %501 = landingpad { ptr, i32 }
          cleanup
  %502 = extractvalue { ptr, i32 } %501, 0
  store ptr %502, ptr %5, align 8
  %503 = extractvalue { ptr, i32 } %501, 1
  store i32 %503, ptr %6, align 4
  br label %508

504:                                              ; preds = %476, %474, %471
  %505 = landingpad { ptr, i32 }
          cleanup
  %506 = extractvalue { ptr, i32 } %505, 0
  store ptr %506, ptr %5, align 8
  %507 = extractvalue { ptr, i32 } %505, 1
  store i32 %507, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #9
  br label %508

508:                                              ; preds = %504, %500
  invoke void @__cxa_end_catch()
          to label %509 unwind label %1371

509:                                              ; preds = %508
  br label %1362

510:                                              ; preds = %482
  %511 = landingpad { ptr, i32 }
          catch ptr null
  %512 = extractvalue { ptr, i32 } %511, 0
  store ptr %512, ptr %5, align 8
  %513 = extractvalue { ptr, i32 } %511, 1
  store i32 %513, ptr %6, align 4
  br label %523

514:                                              ; preds = %484
  %515 = landingpad { ptr, i32 }
          catch ptr null
  %516 = extractvalue { ptr, i32 } %515, 0
  store ptr %516, ptr %5, align 8
  %517 = extractvalue { ptr, i32 } %515, 1
  store i32 %517, ptr %6, align 4
  br label %522

518:                                              ; preds = %487, %485
  %519 = landingpad { ptr, i32 }
          catch ptr null
  %520 = extractvalue { ptr, i32 } %519, 0
  store ptr %520, ptr %5, align 8
  %521 = extractvalue { ptr, i32 } %519, 1
  store i32 %521, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #9
  br label %522

522:                                              ; preds = %518, %514
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #9
  br label %523

523:                                              ; preds = %522, %510
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #9
  br label %532

524:                                              ; preds = %491
  %525 = landingpad { ptr, i32 }
          catch ptr null
  %526 = extractvalue { ptr, i32 } %525, 0
  store ptr %526, ptr %5, align 8
  %527 = extractvalue { ptr, i32 } %525, 1
  store i32 %527, ptr %6, align 4
  br label %532

528:                                              ; preds = %498, %496, %493
  %529 = landingpad { ptr, i32 }
          catch ptr null
  %530 = extractvalue { ptr, i32 } %529, 0
  store ptr %530, ptr %5, align 8
  %531 = extractvalue { ptr, i32 } %529, 1
  store i32 %531, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #9
  br label %532

532:                                              ; preds = %528, %524, %523
  %533 = load ptr, ptr %5, align 8
  %534 = call ptr @__cxa_begin_catch(ptr %533) #9
  %535 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %536 unwind label %574

536:                                              ; preds = %532
  %537 = load ptr, ptr %535, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %46) #9
  %538 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %539 unwind label %578

539:                                              ; preds = %536
  %540 = load ptr, ptr %538, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %46, ptr noundef nonnull align 8 dereferenceable(30) %540, i32 noundef 1353)
          to label %541 unwind label %578

541:                                              ; preds = %539
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %537, ptr noundef nonnull align 8 dereferenceable(30) %46, ptr noundef @.str.330)
          to label %542 unwind label %578

542:                                              ; preds = %541
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #9
  invoke void @__cxa_end_catch()
          to label %543 unwind label %180

543:                                              ; preds = %542
  br label %544

544:                                              ; preds = %573, %543
  br label %545

545:                                              ; preds = %544
  br label %546

546:                                              ; preds = %545
  %547 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  %548 = load ptr, ptr %547, align 8, !tbaa !9
  %549 = getelementptr inbounds ptr, ptr %548, i64 4
  %550 = load ptr, ptr %549, align 8
  invoke void %550(ptr noundef nonnull align 8 dereferenceable(88) %547)
          to label %551 unwind label %180

551:                                              ; preds = %546
  call void @llvm.lifetime.start.p0(i64 32, ptr %47) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %48) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %49) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %50) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %49, ptr noundef nonnull align 8 dereferenceable(32) %50, ptr noundef @.str.250)
          to label %552 unwind label %584

552:                                              ; preds = %551
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %48, ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef @.str.251)
          to label %553 unwind label %588

553:                                              ; preds = %552
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %47, ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef @.str.332)
          to label %554 unwind label %592

554:                                              ; preds = %553
  %555 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %47) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #9
  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 @llvm.lifetime.end.p0(i64 32, ptr %50) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %49) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #9
  br label %556

556:                                              ; preds = %554
  %557 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %51, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %558 unwind label %598

558:                                              ; preds = %556
  %559 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %557, ptr noundef %51)
          to label %560 unwind label %602

560:                                              ; preds = %558
  %561 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %559)
          to label %562 unwind label %602

562:                                              ; preds = %560
  %563 = xor i1 %561, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #9
  br i1 %563, label %564, label %640

564:                                              ; preds = %562
  %565 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %566 unwind label %598

566:                                              ; preds = %564
  %567 = load ptr, ptr %565, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %52) #9
  %568 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %569 unwind label %606

569:                                              ; preds = %566
  %570 = load ptr, ptr %568, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %52, ptr noundef nonnull align 8 dereferenceable(30) %570, i32 noundef 1362)
          to label %571 unwind label %606

571:                                              ; preds = %569
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %567, ptr noundef nonnull align 8 dereferenceable(30) %52, ptr noundef @.str.59)
          to label %572 unwind label %606

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

573:                                              ; preds = %499, %489
  br label %544

574:                                              ; preds = %532
  %575 = landingpad { ptr, i32 }
          cleanup
  %576 = extractvalue { ptr, i32 } %575, 0
  store ptr %576, ptr %5, align 8
  %577 = extractvalue { ptr, i32 } %575, 1
  store i32 %577, ptr %6, align 4
  br label %582

578:                                              ; preds = %541, %539, %536
  %579 = landingpad { ptr, i32 }
          cleanup
  %580 = extractvalue { ptr, i32 } %579, 0
  store ptr %580, ptr %5, align 8
  %581 = extractvalue { ptr, i32 } %579, 1
  store i32 %581, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #9
  br label %582

582:                                              ; preds = %578, %574
  invoke void @__cxa_end_catch()
          to label %583 unwind label %1371

583:                                              ; preds = %582
  br label %1362

584:                                              ; preds = %551
  %585 = landingpad { ptr, i32 }
          cleanup
  %586 = extractvalue { ptr, i32 } %585, 0
  store ptr %586, ptr %5, align 8
  %587 = extractvalue { ptr, i32 } %585, 1
  store i32 %587, ptr %6, align 4
  br label %597

588:                                              ; preds = %552
  %589 = landingpad { ptr, i32 }
          cleanup
  %590 = extractvalue { ptr, i32 } %589, 0
  store ptr %590, ptr %5, align 8
  %591 = extractvalue { ptr, i32 } %589, 1
  store i32 %591, ptr %6, align 4
  br label %596

592:                                              ; preds = %553
  %593 = landingpad { ptr, i32 }
          cleanup
  %594 = extractvalue { ptr, i32 } %593, 0
  store ptr %594, ptr %5, align 8
  %595 = extractvalue { ptr, i32 } %593, 1
  store i32 %595, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #9
  br label %596

596:                                              ; preds = %592, %588
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #9
  br label %597

597:                                              ; preds = %596, %584
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %50) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %49) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #9
  br label %1362

598:                                              ; preds = %564, %556
  %599 = landingpad { ptr, i32 }
          catch ptr null
  %600 = extractvalue { ptr, i32 } %599, 0
  store ptr %600, ptr %5, align 8
  %601 = extractvalue { ptr, i32 } %599, 1
  store i32 %601, ptr %6, align 4
  br label %610

602:                                              ; preds = %560, %558
  %603 = landingpad { ptr, i32 }
          catch ptr null
  %604 = extractvalue { ptr, i32 } %603, 0
  store ptr %604, ptr %5, align 8
  %605 = extractvalue { ptr, i32 } %603, 1
  store i32 %605, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #9
  br label %610

606:                                              ; preds = %571, %569, %566
  %607 = landingpad { ptr, i32 }
          catch ptr null
  %608 = extractvalue { ptr, i32 } %607, 0
  store ptr %608, ptr %5, align 8
  %609 = extractvalue { ptr, i32 } %607, 1
  store i32 %609, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %52) #9
  br label %610

610:                                              ; preds = %606, %602, %598
  %611 = load ptr, ptr %5, align 8
  %612 = call ptr @__cxa_begin_catch(ptr %611) #9
  %613 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %614 unwind label %641

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

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

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

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

621:                                              ; preds = %620
  br label %622

622:                                              ; preds = %640, %621
  br label %623

623:                                              ; preds = %622
  br label %624

624:                                              ; preds = %623
  call void @llvm.lifetime.start.p0(i64 16, ptr %54) #9
  %625 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE10SolveGoalsEv(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.85") align 8 %54, ptr noundef nonnull align 8 dereferenceable(88) %625)
          to label %626 unwind label %651

626:                                              ; preds = %624
  %627 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %12, 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 %54) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %55) #9
  %628 = call noundef ptr @_ZNKSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %12) #9
  invoke void @_ZN15HtnGoalResolver8ToStringB5cxx11EPKSt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %55, ptr noundef %628, i1 noundef zeroext false)
          to label %629 unwind label %655

629:                                              ; preds = %626
  %630 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %11, 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 %55) #9
  br label %631

631:                                              ; preds = %629
  %632 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %633 unwind label %659

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

636:                                              ; preds = %633
  %637 = load ptr, ptr %635, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %56, ptr noundef nonnull align 8 dereferenceable(30) %637, i32 noundef 1365)
          to label %638 unwind label %663

638:                                              ; preds = %636
  invoke void @_ZN8UnitTest10CheckEqualINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA19_cEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %634, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 1 dereferenceable(19) @.str.333, ptr noundef nonnull align 8 dereferenceable(30) %56)
          to label %639 unwind label %663

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

640:                                              ; preds = %572, %562
  br label %622

641:                                              ; preds = %610
  %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 = %619, %617, %614
  %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 %53) #9
  br label %649

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

650:                                              ; preds = %649
  br label %1362

651:                                              ; preds = %624
  %652 = landingpad { ptr, i32 }
          cleanup
  %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
  call void @llvm.lifetime.end.p0(i64 16, ptr %54) #9
  br label %1362

655:                                              ; preds = %626
  %656 = landingpad { ptr, i32 }
          cleanup
  %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
  call void @llvm.lifetime.end.p0(i64 32, ptr %55) #9
  br label %1362

659:                                              ; preds = %631
  %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 = %638, %636, %633
  %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 @llvm.lifetime.end.p0(i64 32, ptr %56) #9
  br label %667

667:                                              ; preds = %663, %659
  %668 = load ptr, ptr %5, align 8
  %669 = call ptr @__cxa_begin_catch(ptr %668) #9
  %670 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %671 unwind label %701

671:                                              ; preds = %667
  %672 = load ptr, ptr %670, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %57) #9
  %673 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %674 unwind label %705

674:                                              ; preds = %671
  %675 = load ptr, ptr %673, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %57, ptr noundef nonnull align 8 dereferenceable(30) %675, i32 noundef 1365)
          to label %676 unwind label %705

676:                                              ; preds = %674
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %672, ptr noundef nonnull align 8 dereferenceable(30) %57, ptr noundef @.str.334)
          to label %677 unwind label %705

677:                                              ; preds = %676
  call void @llvm.lifetime.end.p0(i64 32, ptr %57) #9
  invoke void @__cxa_end_catch()
          to label %678 unwind label %180

678:                                              ; preds = %677
  br label %679

679:                                              ; preds = %678, %639
  br label %680

680:                                              ; preds = %679
  br label %681

681:                                              ; preds = %680
  br label %682

682:                                              ; preds = %681
  %683 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %58) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %59) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %58, ptr noundef @.str.335, ptr noundef nonnull align 1 dereferenceable(1) %59)
          to label %684 unwind label %711

684:                                              ; preds = %682
  call void @llvm.lifetime.start.p0(i64 32, ptr %60) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %61) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %60, ptr noundef @.str.34, ptr noundef nonnull align 1 dereferenceable(1) %61)
          to label %685 unwind label %715

685:                                              ; preds = %684
  %686 = invoke noundef zeroext i1 @_ZNK10HtnRuleSet12DebugHasRuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_(ptr noundef nonnull align 8 dereferenceable(144) %683, ptr noundef nonnull align 8 dereferenceable(32) %58, ptr noundef nonnull align 8 dereferenceable(32) %60)
          to label %687 unwind label %719

687:                                              ; preds = %685
  %688 = xor i1 %686, true
  %689 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %688)
          to label %690 unwind label %719

690:                                              ; preds = %687
  %691 = xor i1 %689, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %61) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %60) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %59) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %58) #9
  br i1 %691, label %692, label %774

692:                                              ; preds = %690
  %693 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %694 unwind label %725

694:                                              ; preds = %692
  %695 = load ptr, ptr %693, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %62) #9
  %696 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %697 unwind label %729

697:                                              ; preds = %694
  %698 = load ptr, ptr %696, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %62, ptr noundef nonnull align 8 dereferenceable(30) %698, i32 noundef 1367)
          to label %699 unwind label %729

699:                                              ; preds = %697
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %695, ptr noundef nonnull align 8 dereferenceable(30) %62, ptr noundef @.str.336)
          to label %700 unwind label %729

700:                                              ; preds = %699
  call void @llvm.lifetime.end.p0(i64 32, ptr %62) #9
  br label %774

701:                                              ; preds = %667
  %702 = landingpad { ptr, i32 }
          cleanup
  %703 = extractvalue { ptr, i32 } %702, 0
  store ptr %703, ptr %5, align 8
  %704 = extractvalue { ptr, i32 } %702, 1
  store i32 %704, ptr %6, align 4
  br label %709

705:                                              ; preds = %676, %674, %671
  %706 = landingpad { ptr, i32 }
          cleanup
  %707 = extractvalue { ptr, i32 } %706, 0
  store ptr %707, ptr %5, align 8
  %708 = extractvalue { ptr, i32 } %706, 1
  store i32 %708, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %57) #9
  br label %709

709:                                              ; preds = %705, %701
  invoke void @__cxa_end_catch()
          to label %710 unwind label %1371

710:                                              ; preds = %709
  br label %1362

711:                                              ; preds = %682
  %712 = landingpad { ptr, i32 }
          catch ptr null
  %713 = extractvalue { ptr, i32 } %712, 0
  store ptr %713, ptr %5, align 8
  %714 = extractvalue { ptr, i32 } %712, 1
  store i32 %714, ptr %6, align 4
  br label %724

715:                                              ; preds = %684
  %716 = landingpad { ptr, i32 }
          catch ptr null
  %717 = extractvalue { ptr, i32 } %716, 0
  store ptr %717, ptr %5, align 8
  %718 = extractvalue { ptr, i32 } %716, 1
  store i32 %718, ptr %6, align 4
  br label %723

719:                                              ; preds = %687, %685
  %720 = landingpad { ptr, i32 }
          catch ptr null
  %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 @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #9
  br label %723

723:                                              ; preds = %719, %715
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %61) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %60) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #9
  br label %724

724:                                              ; preds = %723, %711
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %59) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %58) #9
  br label %733

725:                                              ; preds = %692
  %726 = landingpad { ptr, i32 }
          catch ptr null
  %727 = extractvalue { ptr, i32 } %726, 0
  store ptr %727, ptr %5, align 8
  %728 = extractvalue { ptr, i32 } %726, 1
  store i32 %728, ptr %6, align 4
  br label %733

729:                                              ; preds = %699, %697, %694
  %730 = landingpad { ptr, i32 }
          catch ptr null
  %731 = extractvalue { ptr, i32 } %730, 0
  store ptr %731, ptr %5, align 8
  %732 = extractvalue { ptr, i32 } %730, 1
  store i32 %732, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %62) #9
  br label %733

733:                                              ; preds = %729, %725, %724
  %734 = load ptr, ptr %5, align 8
  %735 = call ptr @__cxa_begin_catch(ptr %734) #9
  %736 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %737 unwind label %775

737:                                              ; preds = %733
  %738 = load ptr, ptr %736, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %63) #9
  %739 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %740 unwind label %779

740:                                              ; preds = %737
  %741 = load ptr, ptr %739, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %63, ptr noundef nonnull align 8 dereferenceable(30) %741, i32 noundef 1367)
          to label %742 unwind label %779

742:                                              ; preds = %740
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %738, ptr noundef nonnull align 8 dereferenceable(30) %63, ptr noundef @.str.337)
          to label %743 unwind label %779

743:                                              ; preds = %742
  call void @llvm.lifetime.end.p0(i64 32, ptr %63) #9
  invoke void @__cxa_end_catch()
          to label %744 unwind label %180

744:                                              ; preds = %743
  br label %745

745:                                              ; preds = %774, %744
  br label %746

746:                                              ; preds = %745
  br label %747

747:                                              ; preds = %746
  %748 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  %749 = load ptr, ptr %748, align 8, !tbaa !9
  %750 = getelementptr inbounds ptr, ptr %749, i64 4
  %751 = load ptr, ptr %750, align 8
  invoke void %751(ptr noundef nonnull align 8 dereferenceable(88) %748)
          to label %752 unwind label %180

752:                                              ; preds = %747
  call void @llvm.lifetime.start.p0(i64 32, ptr %64) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %65) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %66) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %67) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %66, ptr noundef nonnull align 8 dereferenceable(32) %67, ptr noundef @.str.250)
          to label %753 unwind label %785

753:                                              ; preds = %752
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %65, ptr noundef nonnull align 8 dereferenceable(32) %66, ptr noundef @.str.251)
          to label %754 unwind label %789

754:                                              ; preds = %753
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %64, ptr noundef nonnull align 8 dereferenceable(32) %65, ptr noundef @.str.338)
          to label %755 unwind label %793

755:                                              ; preds = %754
  %756 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %64) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %67) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %66) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %65) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %64) #9
  br label %757

757:                                              ; preds = %755
  %758 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %68, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %759 unwind label %799

759:                                              ; preds = %757
  %760 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %758, ptr noundef %68)
          to label %761 unwind label %803

761:                                              ; preds = %759
  %762 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %760)
          to label %763 unwind label %803

763:                                              ; preds = %761
  %764 = xor i1 %762, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #9
  br i1 %764, label %765, label %841

765:                                              ; preds = %763
  %766 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %767 unwind label %799

767:                                              ; preds = %765
  %768 = load ptr, ptr %766, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %69) #9
  %769 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %770 unwind label %807

770:                                              ; preds = %767
  %771 = load ptr, ptr %769, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %69, ptr noundef nonnull align 8 dereferenceable(30) %771, i32 noundef 1377)
          to label %772 unwind label %807

772:                                              ; preds = %770
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %768, ptr noundef nonnull align 8 dereferenceable(30) %69, ptr noundef @.str.59)
          to label %773 unwind label %807

773:                                              ; preds = %772
  call void @llvm.lifetime.end.p0(i64 32, ptr %69) #9
  br label %841

774:                                              ; preds = %700, %690
  br label %745

775:                                              ; preds = %733
  %776 = landingpad { ptr, i32 }
          cleanup
  %777 = extractvalue { ptr, i32 } %776, 0
  store ptr %777, ptr %5, align 8
  %778 = extractvalue { ptr, i32 } %776, 1
  store i32 %778, ptr %6, align 4
  br label %783

779:                                              ; preds = %742, %740, %737
  %780 = landingpad { ptr, i32 }
          cleanup
  %781 = extractvalue { ptr, i32 } %780, 0
  store ptr %781, ptr %5, align 8
  %782 = extractvalue { ptr, i32 } %780, 1
  store i32 %782, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %63) #9
  br label %783

783:                                              ; preds = %779, %775
  invoke void @__cxa_end_catch()
          to label %784 unwind label %1371

784:                                              ; preds = %783
  br label %1362

785:                                              ; preds = %752
  %786 = landingpad { ptr, i32 }
          cleanup
  %787 = extractvalue { ptr, i32 } %786, 0
  store ptr %787, ptr %5, align 8
  %788 = extractvalue { ptr, i32 } %786, 1
  store i32 %788, ptr %6, align 4
  br label %798

789:                                              ; preds = %753
  %790 = landingpad { ptr, i32 }
          cleanup
  %791 = extractvalue { ptr, i32 } %790, 0
  store ptr %791, ptr %5, align 8
  %792 = extractvalue { ptr, i32 } %790, 1
  store i32 %792, ptr %6, align 4
  br label %797

793:                                              ; preds = %754
  %794 = landingpad { ptr, i32 }
          cleanup
  %795 = extractvalue { ptr, i32 } %794, 0
  store ptr %795, ptr %5, align 8
  %796 = extractvalue { ptr, i32 } %794, 1
  store i32 %796, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #9
  br label %797

797:                                              ; preds = %793, %789
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #9
  br label %798

798:                                              ; preds = %797, %785
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %67) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %66) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %65) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %64) #9
  br label %1362

799:                                              ; preds = %765, %757
  %800 = landingpad { ptr, i32 }
          catch ptr null
  %801 = extractvalue { ptr, i32 } %800, 0
  store ptr %801, ptr %5, align 8
  %802 = extractvalue { ptr, i32 } %800, 1
  store i32 %802, ptr %6, align 4
  br label %811

803:                                              ; preds = %761, %759
  %804 = landingpad { ptr, i32 }
          catch ptr null
  %805 = extractvalue { ptr, i32 } %804, 0
  store ptr %805, ptr %5, align 8
  %806 = extractvalue { ptr, i32 } %804, 1
  store i32 %806, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #9
  br label %811

807:                                              ; preds = %772, %770, %767
  %808 = landingpad { ptr, i32 }
          catch ptr null
  %809 = extractvalue { ptr, i32 } %808, 0
  store ptr %809, ptr %5, align 8
  %810 = extractvalue { ptr, i32 } %808, 1
  store i32 %810, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %69) #9
  br label %811

811:                                              ; preds = %807, %803, %799
  %812 = load ptr, ptr %5, align 8
  %813 = call ptr @__cxa_begin_catch(ptr %812) #9
  %814 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %815 unwind label %842

815:                                              ; preds = %811
  %816 = load ptr, ptr %814, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %70) #9
  %817 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %818 unwind label %846

818:                                              ; preds = %815
  %819 = load ptr, ptr %817, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %70, ptr noundef nonnull align 8 dereferenceable(30) %819, i32 noundef 1377)
          to label %820 unwind label %846

820:                                              ; preds = %818
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %816, ptr noundef nonnull align 8 dereferenceable(30) %70, ptr noundef @.str.60)
          to label %821 unwind label %846

821:                                              ; preds = %820
  call void @llvm.lifetime.end.p0(i64 32, ptr %70) #9
  invoke void @__cxa_end_catch()
          to label %822 unwind label %180

822:                                              ; preds = %821
  br label %823

823:                                              ; preds = %841, %822
  br label %824

824:                                              ; preds = %823
  br label %825

825:                                              ; preds = %824
  call void @llvm.lifetime.start.p0(i64 16, ptr %71) #9
  %826 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE10SolveGoalsEv(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.85") align 8 %71, ptr noundef nonnull align 8 dereferenceable(88) %826)
          to label %827 unwind label %852

827:                                              ; preds = %825
  %828 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %71) #9
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %71) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %71) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %72) #9
  %829 = call noundef ptr @_ZNKSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %12) #9
  invoke void @_ZN15HtnGoalResolver8ToStringB5cxx11EPKSt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %72, ptr noundef %829, i1 noundef zeroext false)
          to label %830 unwind label %856

830:                                              ; preds = %827
  %831 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %72) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %72) #9
  br label %832

832:                                              ; preds = %830
  %833 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %834 unwind label %860

834:                                              ; preds = %832
  %835 = load ptr, ptr %833, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %73) #9
  %836 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %837 unwind label %864

837:                                              ; preds = %834
  %838 = load ptr, ptr %836, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %73, ptr noundef nonnull align 8 dereferenceable(30) %838, i32 noundef 1380)
          to label %839 unwind label %864

839:                                              ; preds = %837
  invoke void @_ZN8UnitTest10CheckEqualINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA19_cEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %835, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 1 dereferenceable(19) @.str.333, ptr noundef nonnull align 8 dereferenceable(30) %73)
          to label %840 unwind label %864

840:                                              ; preds = %839
  call void @llvm.lifetime.end.p0(i64 32, ptr %73) #9
  br label %880

841:                                              ; preds = %773, %763
  br label %823

842:                                              ; preds = %811
  %843 = landingpad { ptr, i32 }
          cleanup
  %844 = extractvalue { ptr, i32 } %843, 0
  store ptr %844, ptr %5, align 8
  %845 = extractvalue { ptr, i32 } %843, 1
  store i32 %845, ptr %6, align 4
  br label %850

846:                                              ; preds = %820, %818, %815
  %847 = landingpad { ptr, i32 }
          cleanup
  %848 = extractvalue { ptr, i32 } %847, 0
  store ptr %848, ptr %5, align 8
  %849 = extractvalue { ptr, i32 } %847, 1
  store i32 %849, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %70) #9
  br label %850

850:                                              ; preds = %846, %842
  invoke void @__cxa_end_catch()
          to label %851 unwind label %1371

851:                                              ; preds = %850
  br label %1362

852:                                              ; preds = %825
  %853 = landingpad { ptr, i32 }
          cleanup
  %854 = extractvalue { ptr, i32 } %853, 0
  store ptr %854, ptr %5, align 8
  %855 = extractvalue { ptr, i32 } %853, 1
  store i32 %855, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %71) #9
  br label %1362

856:                                              ; preds = %827
  %857 = landingpad { ptr, i32 }
          cleanup
  %858 = extractvalue { ptr, i32 } %857, 0
  store ptr %858, ptr %5, align 8
  %859 = extractvalue { ptr, i32 } %857, 1
  store i32 %859, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %72) #9
  br label %1362

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

864:                                              ; preds = %839, %837, %834
  %865 = landingpad { ptr, i32 }
          catch ptr null
  %866 = extractvalue { ptr, i32 } %865, 0
  store ptr %866, ptr %5, align 8
  %867 = extractvalue { ptr, i32 } %865, 1
  store i32 %867, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %73) #9
  br label %868

868:                                              ; preds = %864, %860
  %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 %902

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

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

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

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

879:                                              ; preds = %878
  br label %880

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

881:                                              ; preds = %880
  br label %882

882:                                              ; preds = %881
  br label %883

883:                                              ; preds = %882
  %884 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %75) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %76) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %76) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %75, ptr noundef @.str.335, ptr noundef nonnull align 1 dereferenceable(1) %76)
          to label %885 unwind label %912

885:                                              ; preds = %883
  call void @llvm.lifetime.start.p0(i64 32, ptr %77) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %78) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %78) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %77, ptr noundef @.str.34, ptr noundef nonnull align 1 dereferenceable(1) %78)
          to label %886 unwind label %916

886:                                              ; preds = %885
  %887 = invoke noundef zeroext i1 @_ZNK10HtnRuleSet12DebugHasRuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_(ptr noundef nonnull align 8 dereferenceable(144) %884, ptr noundef nonnull align 8 dereferenceable(32) %75, ptr noundef nonnull align 8 dereferenceable(32) %77)
          to label %888 unwind label %920

888:                                              ; preds = %886
  %889 = xor i1 %887, true
  %890 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %889)
          to label %891 unwind label %920

891:                                              ; preds = %888
  %892 = xor i1 %890, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %77) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %78) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %78) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %77) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %75) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %76) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %76) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %75) #9
  br i1 %892, label %893, label %975

893:                                              ; preds = %891
  %894 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %895 unwind label %926

895:                                              ; preds = %893
  %896 = load ptr, ptr %894, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %79) #9
  %897 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %898 unwind label %930

898:                                              ; preds = %895
  %899 = load ptr, ptr %897, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %79, ptr noundef nonnull align 8 dereferenceable(30) %899, i32 noundef 1381)
          to label %900 unwind label %930

900:                                              ; preds = %898
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %896, ptr noundef nonnull align 8 dereferenceable(30) %79, ptr noundef @.str.336)
          to label %901 unwind label %930

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

902:                                              ; preds = %868
  %903 = landingpad { ptr, i32 }
          cleanup
  %904 = extractvalue { ptr, i32 } %903, 0
  store ptr %904, ptr %5, align 8
  %905 = extractvalue { ptr, i32 } %903, 1
  store i32 %905, ptr %6, align 4
  br label %910

906:                                              ; preds = %877, %875, %872
  %907 = landingpad { ptr, i32 }
          cleanup
  %908 = extractvalue { ptr, i32 } %907, 0
  store ptr %908, ptr %5, align 8
  %909 = extractvalue { ptr, i32 } %907, 1
  store i32 %909, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %74) #9
  br label %910

910:                                              ; preds = %906, %902
  invoke void @__cxa_end_catch()
          to label %911 unwind label %1371

911:                                              ; preds = %910
  br label %1362

912:                                              ; preds = %883
  %913 = landingpad { ptr, i32 }
          catch ptr null
  %914 = extractvalue { ptr, i32 } %913, 0
  store ptr %914, ptr %5, align 8
  %915 = extractvalue { ptr, i32 } %913, 1
  store i32 %915, ptr %6, align 4
  br label %925

916:                                              ; preds = %885
  %917 = landingpad { ptr, i32 }
          catch ptr null
  %918 = extractvalue { ptr, i32 } %917, 0
  store ptr %918, ptr %5, align 8
  %919 = extractvalue { ptr, i32 } %917, 1
  store i32 %919, ptr %6, align 4
  br label %924

920:                                              ; preds = %888, %886
  %921 = landingpad { ptr, i32 }
          catch ptr null
  %922 = extractvalue { ptr, i32 } %921, 0
  store ptr %922, ptr %5, align 8
  %923 = extractvalue { ptr, i32 } %921, 1
  store i32 %923, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %77) #9
  br label %924

924:                                              ; preds = %920, %916
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %78) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %78) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %77) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %75) #9
  br label %925

925:                                              ; preds = %924, %912
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %76) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %76) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %75) #9
  br label %934

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

930:                                              ; preds = %900, %898, %895
  %931 = landingpad { ptr, i32 }
          catch ptr null
  %932 = extractvalue { ptr, i32 } %931, 0
  store ptr %932, ptr %5, align 8
  %933 = extractvalue { ptr, i32 } %931, 1
  store i32 %933, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %79) #9
  br label %934

934:                                              ; preds = %930, %926, %925
  %935 = load ptr, ptr %5, align 8
  %936 = call ptr @__cxa_begin_catch(ptr %935) #9
  %937 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %938 unwind label %976

938:                                              ; preds = %934
  %939 = load ptr, ptr %937, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %80) #9
  %940 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %941 unwind label %980

941:                                              ; preds = %938
  %942 = load ptr, ptr %940, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %80, ptr noundef nonnull align 8 dereferenceable(30) %942, i32 noundef 1381)
          to label %943 unwind label %980

943:                                              ; preds = %941
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %939, ptr noundef nonnull align 8 dereferenceable(30) %80, ptr noundef @.str.337)
          to label %944 unwind label %980

944:                                              ; preds = %943
  call void @llvm.lifetime.end.p0(i64 32, ptr %80) #9
  invoke void @__cxa_end_catch()
          to label %945 unwind label %180

945:                                              ; preds = %944
  br label %946

946:                                              ; preds = %975, %945
  br label %947

947:                                              ; preds = %946
  br label %948

948:                                              ; preds = %947
  %949 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  %950 = load ptr, ptr %949, align 8, !tbaa !9
  %951 = getelementptr inbounds ptr, ptr %950, i64 4
  %952 = load ptr, ptr %951, align 8
  invoke void %952(ptr noundef nonnull align 8 dereferenceable(88) %949)
          to label %953 unwind label %180

953:                                              ; preds = %948
  call void @llvm.lifetime.start.p0(i64 32, ptr %81) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %82) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %83) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %84) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %84) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %83, ptr noundef nonnull align 8 dereferenceable(32) %84, ptr noundef @.str.250)
          to label %954 unwind label %986

954:                                              ; preds = %953
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %82, ptr noundef nonnull align 8 dereferenceable(32) %83, ptr noundef @.str.251)
          to label %955 unwind label %990

955:                                              ; preds = %954
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %81, ptr noundef nonnull align 8 dereferenceable(32) %82, ptr noundef @.str.339)
          to label %956 unwind label %994

956:                                              ; preds = %955
  %957 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %81) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %81) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %82) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %83) #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 %84) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %83) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %82) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %81) #9
  br label %958

958:                                              ; preds = %956
  %959 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %85, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %960 unwind label %1000

960:                                              ; preds = %958
  %961 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %959, ptr noundef %85)
          to label %962 unwind label %1004

962:                                              ; preds = %960
  %963 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %961)
          to label %964 unwind label %1004

964:                                              ; preds = %962
  %965 = xor i1 %963, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %85) #9
  br i1 %965, label %966, label %1042

966:                                              ; preds = %964
  %967 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %968 unwind label %1000

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

971:                                              ; preds = %968
  %972 = load ptr, ptr %970, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %86, ptr noundef nonnull align 8 dereferenceable(30) %972, i32 noundef 1389)
          to label %973 unwind label %1008

973:                                              ; preds = %971
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %969, ptr noundef nonnull align 8 dereferenceable(30) %86, ptr noundef @.str.59)
          to label %974 unwind label %1008

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

975:                                              ; preds = %901, %891
  br label %946

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

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

984:                                              ; preds = %980, %976
  invoke void @__cxa_end_catch()
          to label %985 unwind label %1371

985:                                              ; preds = %984
  br label %1362

986:                                              ; preds = %953
  %987 = landingpad { ptr, i32 }
          cleanup
  %988 = extractvalue { ptr, i32 } %987, 0
  store ptr %988, ptr %5, align 8
  %989 = extractvalue { ptr, i32 } %987, 1
  store i32 %989, ptr %6, align 4
  br label %999

990:                                              ; preds = %954
  %991 = landingpad { ptr, i32 }
          cleanup
  %992 = extractvalue { ptr, i32 } %991, 0
  store ptr %992, ptr %5, align 8
  %993 = extractvalue { ptr, i32 } %991, 1
  store i32 %993, ptr %6, align 4
  br label %998

994:                                              ; preds = %955
  %995 = landingpad { ptr, i32 }
          cleanup
  %996 = extractvalue { ptr, i32 } %995, 0
  store ptr %996, ptr %5, align 8
  %997 = extractvalue { ptr, i32 } %995, 1
  store i32 %997, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %82) #9
  br label %998

998:                                              ; preds = %994, %990
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %83) #9
  br label %999

999:                                              ; preds = %998, %986
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %84) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %84) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %83) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %82) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %81) #9
  br label %1362

1000:                                             ; preds = %966, %958
  %1001 = landingpad { ptr, i32 }
          catch ptr null
  %1002 = extractvalue { ptr, i32 } %1001, 0
  store ptr %1002, ptr %5, align 8
  %1003 = extractvalue { ptr, i32 } %1001, 1
  store i32 %1003, ptr %6, align 4
  br label %1012

1004:                                             ; preds = %962, %960
  %1005 = landingpad { ptr, i32 }
          catch ptr null
  %1006 = extractvalue { ptr, i32 } %1005, 0
  store ptr %1006, ptr %5, align 8
  %1007 = extractvalue { ptr, i32 } %1005, 1
  store i32 %1007, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %85) #9
  br label %1012

1008:                                             ; preds = %973, %971, %968
  %1009 = landingpad { ptr, i32 }
          catch ptr null
  %1010 = extractvalue { ptr, i32 } %1009, 0
  store ptr %1010, ptr %5, align 8
  %1011 = extractvalue { ptr, i32 } %1009, 1
  store i32 %1011, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %86) #9
  br label %1012

1012:                                             ; preds = %1008, %1004, %1000
  %1013 = load ptr, ptr %5, align 8
  %1014 = call ptr @__cxa_begin_catch(ptr %1013) #9
  %1015 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1016 unwind label %1043

1016:                                             ; preds = %1012
  %1017 = load ptr, ptr %1015, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %87) #9
  %1018 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1019 unwind label %1047

1019:                                             ; preds = %1016
  %1020 = load ptr, ptr %1018, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %87, ptr noundef nonnull align 8 dereferenceable(30) %1020, i32 noundef 1389)
          to label %1021 unwind label %1047

1021:                                             ; preds = %1019
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1017, ptr noundef nonnull align 8 dereferenceable(30) %87, ptr noundef @.str.60)
          to label %1022 unwind label %1047

1022:                                             ; preds = %1021
  call void @llvm.lifetime.end.p0(i64 32, ptr %87) #9
  invoke void @__cxa_end_catch()
          to label %1023 unwind label %180

1023:                                             ; preds = %1022
  br label %1024

1024:                                             ; preds = %1042, %1023
  br label %1025

1025:                                             ; preds = %1024
  br label %1026

1026:                                             ; preds = %1025
  call void @llvm.lifetime.start.p0(i64 16, ptr %88) #9
  %1027 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE10SolveGoalsEv(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.85") align 8 %88, ptr noundef nonnull align 8 dereferenceable(88) %1027)
          to label %1028 unwind label %1053

1028:                                             ; preds = %1026
  %1029 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %88) #9
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %88) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %88) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %89) #9
  %1030 = call noundef ptr @_ZNKSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %12) #9
  invoke void @_ZN15HtnGoalResolver8ToStringB5cxx11EPKSt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %89, ptr noundef %1030, i1 noundef zeroext false)
          to label %1031 unwind label %1057

1031:                                             ; preds = %1028
  %1032 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %89) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %89) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %89) #9
  br label %1033

1033:                                             ; preds = %1031
  %1034 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1035 unwind label %1061

1035:                                             ; preds = %1033
  %1036 = load ptr, ptr %1034, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %90) #9
  %1037 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1038 unwind label %1065

1038:                                             ; preds = %1035
  %1039 = load ptr, ptr %1037, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %90, ptr noundef nonnull align 8 dereferenceable(30) %1039, i32 noundef 1392)
          to label %1040 unwind label %1065

1040:                                             ; preds = %1038
  invoke void @_ZN8UnitTest10CheckEqualINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA5_cEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %1036, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 1 dereferenceable(5) @.str.188, ptr noundef nonnull align 8 dereferenceable(30) %90)
          to label %1041 unwind label %1065

1041:                                             ; preds = %1040
  call void @llvm.lifetime.end.p0(i64 32, ptr %90) #9
  br label %1081

1042:                                             ; preds = %974, %964
  br label %1024

1043:                                             ; preds = %1012
  %1044 = landingpad { ptr, i32 }
          cleanup
  %1045 = extractvalue { ptr, i32 } %1044, 0
  store ptr %1045, ptr %5, align 8
  %1046 = extractvalue { ptr, i32 } %1044, 1
  store i32 %1046, ptr %6, align 4
  br label %1051

1047:                                             ; preds = %1021, %1019, %1016
  %1048 = landingpad { ptr, i32 }
          cleanup
  %1049 = extractvalue { ptr, i32 } %1048, 0
  store ptr %1049, ptr %5, align 8
  %1050 = extractvalue { ptr, i32 } %1048, 1
  store i32 %1050, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %87) #9
  br label %1051

1051:                                             ; preds = %1047, %1043
  invoke void @__cxa_end_catch()
          to label %1052 unwind label %1371

1052:                                             ; preds = %1051
  br label %1362

1053:                                             ; preds = %1026
  %1054 = landingpad { ptr, i32 }
          cleanup
  %1055 = extractvalue { ptr, i32 } %1054, 0
  store ptr %1055, ptr %5, align 8
  %1056 = extractvalue { ptr, i32 } %1054, 1
  store i32 %1056, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %88) #9
  br label %1362

1057:                                             ; preds = %1028
  %1058 = landingpad { ptr, i32 }
          cleanup
  %1059 = extractvalue { ptr, i32 } %1058, 0
  store ptr %1059, ptr %5, align 8
  %1060 = extractvalue { ptr, i32 } %1058, 1
  store i32 %1060, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %89) #9
  br label %1362

1061:                                             ; preds = %1033
  %1062 = landingpad { ptr, i32 }
          catch ptr null
  %1063 = extractvalue { ptr, i32 } %1062, 0
  store ptr %1063, ptr %5, align 8
  %1064 = extractvalue { ptr, i32 } %1062, 1
  store i32 %1064, ptr %6, align 4
  br label %1069

1065:                                             ; preds = %1040, %1038, %1035
  %1066 = landingpad { ptr, i32 }
          catch ptr null
  %1067 = extractvalue { ptr, i32 } %1066, 0
  store ptr %1067, ptr %5, align 8
  %1068 = extractvalue { ptr, i32 } %1066, 1
  store i32 %1068, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %90) #9
  br label %1069

1069:                                             ; preds = %1065, %1061
  %1070 = load ptr, ptr %5, align 8
  %1071 = call ptr @__cxa_begin_catch(ptr %1070) #9
  %1072 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1073 unwind label %1103

1073:                                             ; preds = %1069
  %1074 = load ptr, ptr %1072, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %91) #9
  %1075 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1076 unwind label %1107

1076:                                             ; preds = %1073
  %1077 = load ptr, ptr %1075, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %91, ptr noundef nonnull align 8 dereferenceable(30) %1077, i32 noundef 1392)
          to label %1078 unwind label %1107

1078:                                             ; preds = %1076
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1074, ptr noundef nonnull align 8 dereferenceable(30) %91, ptr noundef @.str.189)
          to label %1079 unwind label %1107

1079:                                             ; preds = %1078
  call void @llvm.lifetime.end.p0(i64 32, ptr %91) #9
  invoke void @__cxa_end_catch()
          to label %1080 unwind label %180

1080:                                             ; preds = %1079
  br label %1081

1081:                                             ; preds = %1080, %1041
  br label %1082

1082:                                             ; preds = %1081
  br label %1083

1083:                                             ; preds = %1082
  br label %1084

1084:                                             ; preds = %1083
  %1085 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %92) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %93) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %93) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %92, ptr noundef @.str.335, ptr noundef nonnull align 1 dereferenceable(1) %93)
          to label %1086 unwind label %1113

1086:                                             ; preds = %1084
  call void @llvm.lifetime.start.p0(i64 32, ptr %94) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %95) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %95) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %94, ptr noundef @.str.34, ptr noundef nonnull align 1 dereferenceable(1) %95)
          to label %1087 unwind label %1117

1087:                                             ; preds = %1086
  %1088 = invoke noundef zeroext i1 @_ZNK10HtnRuleSet12DebugHasRuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_(ptr noundef nonnull align 8 dereferenceable(144) %1085, ptr noundef nonnull align 8 dereferenceable(32) %92, ptr noundef nonnull align 8 dereferenceable(32) %94)
          to label %1089 unwind label %1121

1089:                                             ; preds = %1087
  %1090 = xor i1 %1088, true
  %1091 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %1090)
          to label %1092 unwind label %1121

1092:                                             ; preds = %1089
  %1093 = xor i1 %1091, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %94) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %95) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %95) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %94) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %92) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %93) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %93) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %92) #9
  br i1 %1093, label %1094, label %1169

1094:                                             ; preds = %1092
  %1095 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1096 unwind label %1127

1096:                                             ; preds = %1094
  %1097 = load ptr, ptr %1095, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %96) #9
  %1098 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1099 unwind label %1131

1099:                                             ; preds = %1096
  %1100 = load ptr, ptr %1098, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %96, ptr noundef nonnull align 8 dereferenceable(30) %1100, i32 noundef 1393)
          to label %1101 unwind label %1131

1101:                                             ; preds = %1099
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1097, ptr noundef nonnull align 8 dereferenceable(30) %96, ptr noundef @.str.336)
          to label %1102 unwind label %1131

1102:                                             ; preds = %1101
  call void @llvm.lifetime.end.p0(i64 32, ptr %96) #9
  br label %1169

1103:                                             ; preds = %1069
  %1104 = landingpad { ptr, i32 }
          cleanup
  %1105 = extractvalue { ptr, i32 } %1104, 0
  store ptr %1105, ptr %5, align 8
  %1106 = extractvalue { ptr, i32 } %1104, 1
  store i32 %1106, ptr %6, align 4
  br label %1111

1107:                                             ; preds = %1078, %1076, %1073
  %1108 = landingpad { ptr, i32 }
          cleanup
  %1109 = extractvalue { ptr, i32 } %1108, 0
  store ptr %1109, ptr %5, align 8
  %1110 = extractvalue { ptr, i32 } %1108, 1
  store i32 %1110, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %91) #9
  br label %1111

1111:                                             ; preds = %1107, %1103
  invoke void @__cxa_end_catch()
          to label %1112 unwind label %1371

1112:                                             ; preds = %1111
  br label %1362

1113:                                             ; preds = %1084
  %1114 = landingpad { ptr, i32 }
          catch ptr null
  %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 %1126

1117:                                             ; preds = %1086
  %1118 = landingpad { ptr, i32 }
          catch ptr null
  %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
  br label %1125

1121:                                             ; preds = %1089, %1087
  %1122 = landingpad { ptr, i32 }
          catch ptr null
  %1123 = extractvalue { ptr, i32 } %1122, 0
  store ptr %1123, ptr %5, align 8
  %1124 = extractvalue { ptr, i32 } %1122, 1
  store i32 %1124, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %94) #9
  br label %1125

1125:                                             ; preds = %1121, %1117
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %95) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %95) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %94) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %92) #9
  br label %1126

1126:                                             ; preds = %1125, %1113
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %93) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %93) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %92) #9
  br label %1135

1127:                                             ; preds = %1094
  %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 = %1101, %1099, %1096
  %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 %96) #9
  br label %1135

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

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

1142:                                             ; preds = %1139
  %1143 = load ptr, ptr %1141, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %97, ptr noundef nonnull align 8 dereferenceable(30) %1143, i32 noundef 1393)
          to label %1144 unwind label %1174

1144:                                             ; preds = %1142
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1140, ptr noundef nonnull align 8 dereferenceable(30) %97, ptr noundef @.str.337)
          to label %1145 unwind label %1174

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

1146:                                             ; preds = %1145
  br label %1147

1147:                                             ; preds = %1169, %1146
  br label %1148

1148:                                             ; preds = %1147
  br label %1149

1149:                                             ; preds = %1148
  br label %1150

1150:                                             ; preds = %1149
  %1151 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %98) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %99) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %99) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %98, ptr noundef @.str.340, ptr noundef nonnull align 1 dereferenceable(1) %99)
          to label %1152 unwind label %1180

1152:                                             ; preds = %1150
  call void @llvm.lifetime.start.p0(i64 32, ptr %100) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %101) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %101) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %100, ptr noundef @.str.34, ptr noundef nonnull align 1 dereferenceable(1) %101)
          to label %1153 unwind label %1184

1153:                                             ; preds = %1152
  %1154 = invoke noundef zeroext i1 @_ZNK10HtnRuleSet12DebugHasRuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_(ptr noundef nonnull align 8 dereferenceable(144) %1151, ptr noundef nonnull align 8 dereferenceable(32) %98, ptr noundef nonnull align 8 dereferenceable(32) %100)
          to label %1155 unwind label %1188

1155:                                             ; preds = %1153
  %1156 = xor i1 %1154, true
  %1157 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %1156)
          to label %1158 unwind label %1188

1158:                                             ; preds = %1155
  %1159 = xor i1 %1157, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %100) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %101) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %101) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %100) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %98) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %99) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %99) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %98) #9
  br i1 %1159, label %1160, label %1243

1160:                                             ; preds = %1158
  %1161 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1162 unwind label %1194

1162:                                             ; preds = %1160
  %1163 = load ptr, ptr %1161, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %102) #9
  %1164 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1165 unwind label %1198

1165:                                             ; preds = %1162
  %1166 = load ptr, ptr %1164, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %102, ptr noundef nonnull align 8 dereferenceable(30) %1166, i32 noundef 1394)
          to label %1167 unwind label %1198

1167:                                             ; preds = %1165
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1163, ptr noundef nonnull align 8 dereferenceable(30) %102, ptr noundef @.str.341)
          to label %1168 unwind label %1198

1168:                                             ; preds = %1167
  call void @llvm.lifetime.end.p0(i64 32, ptr %102) #9
  br label %1243

1169:                                             ; preds = %1102, %1092
  br label %1147

1170:                                             ; preds = %1135
  %1171 = landingpad { ptr, i32 }
          cleanup
  %1172 = extractvalue { ptr, i32 } %1171, 0
  store ptr %1172, ptr %5, align 8
  %1173 = extractvalue { ptr, i32 } %1171, 1
  store i32 %1173, ptr %6, align 4
  br label %1178

1174:                                             ; preds = %1144, %1142, %1139
  %1175 = landingpad { ptr, i32 }
          cleanup
  %1176 = extractvalue { ptr, i32 } %1175, 0
  store ptr %1176, ptr %5, align 8
  %1177 = extractvalue { ptr, i32 } %1175, 1
  store i32 %1177, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %97) #9
  br label %1178

1178:                                             ; preds = %1174, %1170
  invoke void @__cxa_end_catch()
          to label %1179 unwind label %1371

1179:                                             ; preds = %1178
  br label %1362

1180:                                             ; preds = %1150
  %1181 = landingpad { ptr, i32 }
          catch ptr null
  %1182 = extractvalue { ptr, i32 } %1181, 0
  store ptr %1182, ptr %5, align 8
  %1183 = extractvalue { ptr, i32 } %1181, 1
  store i32 %1183, ptr %6, align 4
  br label %1193

1184:                                             ; preds = %1152
  %1185 = landingpad { ptr, i32 }
          catch ptr null
  %1186 = extractvalue { ptr, i32 } %1185, 0
  store ptr %1186, ptr %5, align 8
  %1187 = extractvalue { ptr, i32 } %1185, 1
  store i32 %1187, ptr %6, align 4
  br label %1192

1188:                                             ; preds = %1155, %1153
  %1189 = landingpad { ptr, i32 }
          catch ptr null
  %1190 = extractvalue { ptr, i32 } %1189, 0
  store ptr %1190, ptr %5, align 8
  %1191 = extractvalue { ptr, i32 } %1189, 1
  store i32 %1191, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %100) #9
  br label %1192

1192:                                             ; preds = %1188, %1184
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %101) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %101) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %100) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %98) #9
  br label %1193

1193:                                             ; preds = %1192, %1180
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %99) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %99) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %98) #9
  br label %1202

1194:                                             ; preds = %1160
  %1195 = landingpad { ptr, i32 }
          catch ptr null
  %1196 = extractvalue { ptr, i32 } %1195, 0
  store ptr %1196, ptr %5, align 8
  %1197 = extractvalue { ptr, i32 } %1195, 1
  store i32 %1197, ptr %6, align 4
  br label %1202

1198:                                             ; preds = %1167, %1165, %1162
  %1199 = landingpad { ptr, i32 }
          catch ptr null
  %1200 = extractvalue { ptr, i32 } %1199, 0
  store ptr %1200, ptr %5, align 8
  %1201 = extractvalue { ptr, i32 } %1199, 1
  store i32 %1201, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %102) #9
  br label %1202

1202:                                             ; preds = %1198, %1194, %1193
  %1203 = load ptr, ptr %5, align 8
  %1204 = call ptr @__cxa_begin_catch(ptr %1203) #9
  %1205 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1206 unwind label %1244

1206:                                             ; preds = %1202
  %1207 = load ptr, ptr %1205, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %103) #9
  %1208 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1209 unwind label %1248

1209:                                             ; preds = %1206
  %1210 = load ptr, ptr %1208, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %103, ptr noundef nonnull align 8 dereferenceable(30) %1210, i32 noundef 1394)
          to label %1211 unwind label %1248

1211:                                             ; preds = %1209
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1207, ptr noundef nonnull align 8 dereferenceable(30) %103, ptr noundef @.str.342)
          to label %1212 unwind label %1248

1212:                                             ; preds = %1211
  call void @llvm.lifetime.end.p0(i64 32, ptr %103) #9
  invoke void @__cxa_end_catch()
          to label %1213 unwind label %180

1213:                                             ; preds = %1212
  br label %1214

1214:                                             ; preds = %1243, %1213
  br label %1215

1215:                                             ; preds = %1214
  br label %1216

1216:                                             ; preds = %1215
  %1217 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  %1218 = load ptr, ptr %1217, align 8, !tbaa !9
  %1219 = getelementptr inbounds ptr, ptr %1218, i64 4
  %1220 = load ptr, ptr %1219, align 8
  invoke void %1220(ptr noundef nonnull align 8 dereferenceable(88) %1217)
          to label %1221 unwind label %180

1221:                                             ; preds = %1216
  call void @llvm.lifetime.start.p0(i64 32, ptr %104) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %105) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %106) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %107) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %107) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %106, ptr noundef nonnull align 8 dereferenceable(32) %107, ptr noundef @.str.250)
          to label %1222 unwind label %1254

1222:                                             ; preds = %1221
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %105, ptr noundef nonnull align 8 dereferenceable(32) %106, ptr noundef @.str.251)
          to label %1223 unwind label %1258

1223:                                             ; preds = %1222
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %104, ptr noundef nonnull align 8 dereferenceable(32) %105, ptr noundef @.str.343)
          to label %1224 unwind label %1262

1224:                                             ; preds = %1223
  %1225 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %104) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %104) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %105) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %106) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %107) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %107) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %106) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %105) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %104) #9
  br label %1226

1226:                                             ; preds = %1224
  %1227 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %108, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %1228 unwind label %1268

1228:                                             ; preds = %1226
  %1229 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %1227, ptr noundef %108)
          to label %1230 unwind label %1272

1230:                                             ; preds = %1228
  %1231 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %1229)
          to label %1232 unwind label %1272

1232:                                             ; preds = %1230
  %1233 = xor i1 %1231, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %108) #9
  br i1 %1233, label %1234, label %1310

1234:                                             ; preds = %1232
  %1235 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1236 unwind label %1268

1236:                                             ; preds = %1234
  %1237 = load ptr, ptr %1235, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %109) #9
  %1238 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1239 unwind label %1276

1239:                                             ; preds = %1236
  %1240 = load ptr, ptr %1238, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %109, ptr noundef nonnull align 8 dereferenceable(30) %1240, i32 noundef 1402)
          to label %1241 unwind label %1276

1241:                                             ; preds = %1239
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1237, ptr noundef nonnull align 8 dereferenceable(30) %109, ptr noundef @.str.59)
          to label %1242 unwind label %1276

1242:                                             ; preds = %1241
  call void @llvm.lifetime.end.p0(i64 32, ptr %109) #9
  br label %1310

1243:                                             ; preds = %1168, %1158
  br label %1214

1244:                                             ; preds = %1202
  %1245 = landingpad { ptr, i32 }
          cleanup
  %1246 = extractvalue { ptr, i32 } %1245, 0
  store ptr %1246, ptr %5, align 8
  %1247 = extractvalue { ptr, i32 } %1245, 1
  store i32 %1247, ptr %6, align 4
  br label %1252

1248:                                             ; preds = %1211, %1209, %1206
  %1249 = landingpad { ptr, i32 }
          cleanup
  %1250 = extractvalue { ptr, i32 } %1249, 0
  store ptr %1250, ptr %5, align 8
  %1251 = extractvalue { ptr, i32 } %1249, 1
  store i32 %1251, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %103) #9
  br label %1252

1252:                                             ; preds = %1248, %1244
  invoke void @__cxa_end_catch()
          to label %1253 unwind label %1371

1253:                                             ; preds = %1252
  br label %1362

1254:                                             ; preds = %1221
  %1255 = landingpad { ptr, i32 }
          cleanup
  %1256 = extractvalue { ptr, i32 } %1255, 0
  store ptr %1256, ptr %5, align 8
  %1257 = extractvalue { ptr, i32 } %1255, 1
  store i32 %1257, ptr %6, align 4
  br label %1267

1258:                                             ; preds = %1222
  %1259 = landingpad { ptr, i32 }
          cleanup
  %1260 = extractvalue { ptr, i32 } %1259, 0
  store ptr %1260, ptr %5, align 8
  %1261 = extractvalue { ptr, i32 } %1259, 1
  store i32 %1261, ptr %6, align 4
  br label %1266

1262:                                             ; preds = %1223
  %1263 = landingpad { ptr, i32 }
          cleanup
  %1264 = extractvalue { ptr, i32 } %1263, 0
  store ptr %1264, ptr %5, align 8
  %1265 = extractvalue { ptr, i32 } %1263, 1
  store i32 %1265, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %105) #9
  br label %1266

1266:                                             ; preds = %1262, %1258
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %106) #9
  br label %1267

1267:                                             ; preds = %1266, %1254
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %107) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %107) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %106) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %105) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %104) #9
  br label %1362

1268:                                             ; preds = %1234, %1226
  %1269 = landingpad { ptr, i32 }
          catch ptr null
  %1270 = extractvalue { ptr, i32 } %1269, 0
  store ptr %1270, ptr %5, align 8
  %1271 = extractvalue { ptr, i32 } %1269, 1
  store i32 %1271, ptr %6, align 4
  br label %1280

1272:                                             ; preds = %1230, %1228
  %1273 = landingpad { ptr, i32 }
          catch ptr null
  %1274 = extractvalue { ptr, i32 } %1273, 0
  store ptr %1274, ptr %5, align 8
  %1275 = extractvalue { ptr, i32 } %1273, 1
  store i32 %1275, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %108) #9
  br label %1280

1276:                                             ; preds = %1241, %1239, %1236
  %1277 = landingpad { ptr, i32 }
          catch ptr null
  %1278 = extractvalue { ptr, i32 } %1277, 0
  store ptr %1278, ptr %5, align 8
  %1279 = extractvalue { ptr, i32 } %1277, 1
  store i32 %1279, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %109) #9
  br label %1280

1280:                                             ; preds = %1276, %1272, %1268
  %1281 = load ptr, ptr %5, align 8
  %1282 = call ptr @__cxa_begin_catch(ptr %1281) #9
  %1283 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1284 unwind label %1311

1284:                                             ; preds = %1280
  %1285 = load ptr, ptr %1283, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %110) #9
  %1286 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1287 unwind label %1315

1287:                                             ; preds = %1284
  %1288 = load ptr, ptr %1286, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %110, ptr noundef nonnull align 8 dereferenceable(30) %1288, i32 noundef 1402)
          to label %1289 unwind label %1315

1289:                                             ; preds = %1287
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1285, ptr noundef nonnull align 8 dereferenceable(30) %110, ptr noundef @.str.60)
          to label %1290 unwind label %1315

1290:                                             ; preds = %1289
  call void @llvm.lifetime.end.p0(i64 32, ptr %110) #9
  invoke void @__cxa_end_catch()
          to label %1291 unwind label %180

1291:                                             ; preds = %1290
  br label %1292

1292:                                             ; preds = %1310, %1291
  br label %1293

1293:                                             ; preds = %1292
  br label %1294

1294:                                             ; preds = %1293
  call void @llvm.lifetime.start.p0(i64 16, ptr %111) #9
  %1295 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE10SolveGoalsEv(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.85") align 8 %111, ptr noundef nonnull align 8 dereferenceable(88) %1295)
          to label %1296 unwind label %1321

1296:                                             ; preds = %1294
  %1297 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %111) #9
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %111) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %111) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %112) #9
  %1298 = call noundef ptr @_ZNKSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %12) #9
  invoke void @_ZN15HtnGoalResolver8ToStringB5cxx11EPKSt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %112, ptr noundef %1298, i1 noundef zeroext false)
          to label %1299 unwind label %1325

1299:                                             ; preds = %1296
  %1300 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %112) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %112) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %112) #9
  br label %1301

1301:                                             ; preds = %1299
  %1302 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1303 unwind label %1329

1303:                                             ; preds = %1301
  %1304 = load ptr, ptr %1302, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %113) #9
  %1305 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1306 unwind label %1333

1306:                                             ; preds = %1303
  %1307 = load ptr, ptr %1305, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %113, ptr noundef nonnull align 8 dereferenceable(30) %1307, i32 noundef 1405)
          to label %1308 unwind label %1333

1308:                                             ; preds = %1306
  invoke void @_ZN8UnitTest10CheckEqualINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA5_cEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %1304, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 1 dereferenceable(5) @.str.8, ptr noundef nonnull align 8 dereferenceable(30) %113)
          to label %1309 unwind label %1333

1309:                                             ; preds = %1308
  call void @llvm.lifetime.end.p0(i64 32, ptr %113) #9
  br label %1349

1310:                                             ; preds = %1242, %1232
  br label %1292

1311:                                             ; preds = %1280
  %1312 = landingpad { ptr, i32 }
          cleanup
  %1313 = extractvalue { ptr, i32 } %1312, 0
  store ptr %1313, ptr %5, align 8
  %1314 = extractvalue { ptr, i32 } %1312, 1
  store i32 %1314, ptr %6, align 4
  br label %1319

1315:                                             ; preds = %1289, %1287, %1284
  %1316 = landingpad { ptr, i32 }
          cleanup
  %1317 = extractvalue { ptr, i32 } %1316, 0
  store ptr %1317, ptr %5, align 8
  %1318 = extractvalue { ptr, i32 } %1316, 1
  store i32 %1318, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %110) #9
  br label %1319

1319:                                             ; preds = %1315, %1311
  invoke void @__cxa_end_catch()
          to label %1320 unwind label %1371

1320:                                             ; preds = %1319
  br label %1362

1321:                                             ; preds = %1294
  %1322 = landingpad { ptr, i32 }
          cleanup
  %1323 = extractvalue { ptr, i32 } %1322, 0
  store ptr %1323, ptr %5, align 8
  %1324 = extractvalue { ptr, i32 } %1322, 1
  store i32 %1324, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %111) #9
  br label %1362

1325:                                             ; preds = %1296
  %1326 = landingpad { ptr, i32 }
          cleanup
  %1327 = extractvalue { ptr, i32 } %1326, 0
  store ptr %1327, ptr %5, align 8
  %1328 = extractvalue { ptr, i32 } %1326, 1
  store i32 %1328, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %112) #9
  br label %1362

1329:                                             ; preds = %1301
  %1330 = landingpad { ptr, i32 }
          catch ptr null
  %1331 = extractvalue { ptr, i32 } %1330, 0
  store ptr %1331, ptr %5, align 8
  %1332 = extractvalue { ptr, i32 } %1330, 1
  store i32 %1332, ptr %6, align 4
  br label %1337

1333:                                             ; preds = %1308, %1306, %1303
  %1334 = landingpad { ptr, i32 }
          catch ptr null
  %1335 = extractvalue { ptr, i32 } %1334, 0
  store ptr %1335, ptr %5, align 8
  %1336 = extractvalue { ptr, i32 } %1334, 1
  store i32 %1336, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %113) #9
  br label %1337

1337:                                             ; preds = %1333, %1329
  %1338 = load ptr, ptr %5, align 8
  %1339 = call ptr @__cxa_begin_catch(ptr %1338) #9
  %1340 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1341 unwind label %1352

1341:                                             ; preds = %1337
  %1342 = load ptr, ptr %1340, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %114) #9
  %1343 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1344 unwind label %1356

1344:                                             ; preds = %1341
  %1345 = load ptr, ptr %1343, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %114, ptr noundef nonnull align 8 dereferenceable(30) %1345, i32 noundef 1405)
          to label %1346 unwind label %1356

1346:                                             ; preds = %1344
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1342, ptr noundef nonnull align 8 dereferenceable(30) %114, ptr noundef @.str.9)
          to label %1347 unwind label %1356

1347:                                             ; preds = %1346
  call void @llvm.lifetime.end.p0(i64 32, ptr %114) #9
  invoke void @__cxa_end_catch()
          to label %1348 unwind label %180

1348:                                             ; preds = %1347
  br label %1349

1349:                                             ; preds = %1348, %1309
  br label %1350

1350:                                             ; preds = %1349
  br label %1351

1351:                                             ; preds = %1350
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #9
  call void @llvm.lifetime.end.p0(i64 16, 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 @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  call void @llvm.lifetime.end.p0(i64 32, 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

1352:                                             ; preds = %1337
  %1353 = landingpad { ptr, i32 }
          cleanup
  %1354 = extractvalue { ptr, i32 } %1353, 0
  store ptr %1354, ptr %5, align 8
  %1355 = extractvalue { ptr, i32 } %1353, 1
  store i32 %1355, ptr %6, align 4
  br label %1360

1356:                                             ; preds = %1346, %1344, %1341
  %1357 = landingpad { ptr, i32 }
          cleanup
  %1358 = extractvalue { ptr, i32 } %1357, 0
  store ptr %1358, ptr %5, align 8
  %1359 = extractvalue { ptr, i32 } %1357, 1
  store i32 %1359, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %114) #9
  br label %1360

1360:                                             ; preds = %1356, %1352
  invoke void @__cxa_end_catch()
          to label %1361 unwind label %1371

1361:                                             ; preds = %1360
  br label %1362

1362:                                             ; preds = %1361, %1325, %1321, %1320, %1267, %1253, %1179, %1112, %1057, %1053, %1052, %999, %985, %911, %856, %852, %851, %798, %784, %710, %655, %651, %650, %597, %583, %509, %455, %451, %450, %397, %383, %309, %255, %251, %250, %197, %180
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #9
  call void @llvm.lifetime.end.p0(i64 16, 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 @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #9
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #9
  br label %1363

1363:                                             ; preds = %1362, %176, %172
  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 %1364

1364:                                             ; preds = %1363, %168, %164
  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 %1365

1365:                                             ; preds = %1364, %160, %156
  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 %1366

1366:                                             ; preds = %1365
  %1367 = load ptr, ptr %5, align 8
  %1368 = load i32, ptr %6, align 4
  %1369 = insertvalue { ptr, i32 } poison, ptr %1367, 0
  %1370 = insertvalue { ptr, i32 } %1369, i32 %1368, 1
  resume { ptr, i32 } %1370

1371:                                             ; preds = %1360, %1319, %1252, %1178, %1111, %1051, %984, %910, %850, %783, %709, %649, %582, %508, %449, %382, %308, %249
  %1372 = landingpad { ptr, i32 }
          catch ptr null
  %1373 = extractvalue { ptr, i32 } %1372, 0
  call void @__clang_call_terminate(ptr %1373) #12
  unreachable
}

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

declare noundef zeroext i1 @_ZNK10HtnRuleSet12DebugHasRuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { 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 #8 = { 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 #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}


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::shared_ptr.85" = type { %"class.std::__shared_ptr.86" }
%"class.std::__shared_ptr.86" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%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_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.UnitTest::TestDetails" = type <{ ptr, ptr, ptr, i32, i8, i8, [2 x i8] }>
%"class.std::allocator.88" = type { i8 }

@.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.34 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.188 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.189 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.250 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.251 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.325 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.326 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.327 = external hidden unnamed_addr constant [107 x i8], align 1
@.str.328 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.329 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.330 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.331 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.332 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.333 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.334 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.335 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.336 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.337 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.338 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.339 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.340 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.341 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.342 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.343 = external hidden unnamed_addr constant [39 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(...)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE10SolveGoalsEv(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.85") align 8, ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8UnitTest10CheckEqualINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA19_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(19), ptr noundef nonnull align 8 dereferenceable(30)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8UnitTest10CheckEqualINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA55_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(55), ptr noundef nonnull align 8 dereferenceable(30)) local_unnamed_addr #4

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN25SuiteHtnGoalResolverTests37TestHtnGoalResolverAssertRetractTests7RunImplEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(49) %0) unnamed_addr #4 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::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", 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 %"class.UnitTest::TestDetails", align 8
  %16 = alloca %"class.UnitTest::TestDetails", align 8
  %17 = alloca %"class.std::shared_ptr.85", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.UnitTest::TestDetails", align 8
  %20 = alloca %"class.UnitTest::TestDetails", align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::allocator.88", align 1
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator.88", align 1
  %25 = alloca %"class.UnitTest::TestDetails", align 8
  %26 = alloca %"class.UnitTest::TestDetails", align 8
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::__cxx11::basic_string", align 8
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca %"class.UnitTest::TestDetails", align 8
  %33 = alloca %"class.UnitTest::TestDetails", align 8
  %34 = alloca %"class.std::shared_ptr.85", 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::__cxx11::basic_string", align 8
  %39 = alloca %"class.std::allocator.88", align 1
  %40 = alloca %"class.std::__cxx11::basic_string", align 8
  %41 = alloca %"class.std::allocator.88", align 1
  %42 = alloca %"class.UnitTest::TestDetails", align 8
  %43 = alloca %"class.UnitTest::TestDetails", align 8
  %44 = alloca %"class.std::__cxx11::basic_string", align 8
  %45 = alloca %"class.std::__cxx11::basic_string", align 8
  %46 = alloca %"class.std::__cxx11::basic_string", align 8
  %47 = alloca %"class.std::__cxx11::basic_string", align 8
  %48 = alloca %"class.std::__cxx11::basic_string", align 8
  %49 = alloca %"class.UnitTest::TestDetails", align 8
  %50 = alloca %"class.UnitTest::TestDetails", align 8
  %51 = alloca %"class.std::shared_ptr.85", align 8
  %52 = alloca %"class.std::__cxx11::basic_string", align 8
  %53 = alloca %"class.UnitTest::TestDetails", align 8
  %54 = alloca %"class.UnitTest::TestDetails", align 8
  %55 = alloca %"class.std::__cxx11::basic_string", align 8
  %56 = alloca %"class.std::allocator.88", align 1
  %57 = alloca %"class.std::__cxx11::basic_string", align 8
  %58 = alloca %"class.std::allocator.88", align 1
  %59 = alloca %"class.UnitTest::TestDetails", align 8
  %60 = alloca %"class.UnitTest::TestDetails", align 8
  %61 = alloca %"class.std::__cxx11::basic_string", align 8
  %62 = alloca %"class.std::__cxx11::basic_string", align 8
  %63 = alloca %"class.std::__cxx11::basic_string", align 8
  %64 = alloca %"class.std::__cxx11::basic_string", 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::shared_ptr.85", align 8
  %69 = alloca %"class.std::__cxx11::basic_string", align 8
  %70 = alloca %"class.UnitTest::TestDetails", align 8
  %71 = alloca %"class.UnitTest::TestDetails", align 8
  %72 = alloca %"class.std::__cxx11::basic_string", align 8
  %73 = alloca %"class.std::allocator.88", align 1
  %74 = alloca %"class.std::__cxx11::basic_string", align 8
  %75 = alloca %"class.std::allocator.88", align 1
  %76 = alloca %"class.UnitTest::TestDetails", align 8
  %77 = alloca %"class.UnitTest::TestDetails", align 8
  %78 = alloca %"class.std::__cxx11::basic_string", align 8
  %79 = alloca %"class.std::__cxx11::basic_string", align 8
  %80 = alloca %"class.std::__cxx11::basic_string", align 8
  %81 = alloca %"class.std::__cxx11::basic_string", align 8
  %82 = alloca %"class.std::__cxx11::basic_string", align 8
  %83 = alloca %"class.UnitTest::TestDetails", align 8
  %84 = alloca %"class.UnitTest::TestDetails", align 8
  %85 = alloca %"class.std::shared_ptr.85", align 8
  %86 = alloca %"class.std::__cxx11::basic_string", align 8
  %87 = alloca %"class.UnitTest::TestDetails", align 8
  %88 = alloca %"class.UnitTest::TestDetails", align 8
  %89 = alloca %"class.std::__cxx11::basic_string", align 8
  %90 = alloca %"class.std::allocator.88", align 1
  %91 = alloca %"class.std::__cxx11::basic_string", align 8
  %92 = alloca %"class.std::allocator.88", align 1
  %93 = alloca %"class.UnitTest::TestDetails", align 8
  %94 = alloca %"class.UnitTest::TestDetails", align 8
  %95 = alloca %"class.std::__cxx11::basic_string", align 8
  %96 = alloca %"class.std::allocator.88", align 1
  %97 = alloca %"class.std::__cxx11::basic_string", align 8
  %98 = alloca %"class.std::allocator.88", align 1
  %99 = alloca %"class.UnitTest::TestDetails", align 8
  %100 = alloca %"class.UnitTest::TestDetails", align 8
  %101 = alloca %"class.std::__cxx11::basic_string", align 8
  %102 = alloca %"class.std::__cxx11::basic_string", align 8
  %103 = alloca %"class.std::__cxx11::basic_string", align 8
  %104 = alloca %"class.std::__cxx11::basic_string", align 8
  %105 = alloca %"class.std::__cxx11::basic_string", align 8
  %106 = alloca %"class.UnitTest::TestDetails", align 8
  %107 = alloca %"class.UnitTest::TestDetails", align 8
  %108 = alloca %"class.std::shared_ptr.85", align 8
  %109 = alloca %"class.std::__cxx11::basic_string", align 8
  %110 = alloca %"class.UnitTest::TestDetails", align 8
  %111 = 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
  %112 = invoke noalias noundef nonnull dereferenceable(33088) ptr @_Znwm(i64 noundef 33088) #10
          to label %113 unwind label %148

113:                                              ; preds = %1
  invoke void @_ZN14HtnTermFactoryC1Ev(ptr noundef nonnull align 8 dereferenceable(33088) %112)
          to label %114 unwind label %150

114:                                              ; preds = %113
  invoke void @_ZNSt10shared_ptrI14HtnTermFactoryEC2IS0_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull %112)
          to label %115 unwind label %148

115:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  %116 = invoke noalias noundef nonnull dereferenceable(144) ptr @_Znwm(i64 noundef 144) #10
          to label %117 unwind label %152

117:                                              ; preds = %115
  invoke void @_ZN10HtnRuleSetC2Ev(ptr noundef nonnull align 8 dereferenceable(144) %116)
          to label %118 unwind label %154

118:                                              ; preds = %117
  invoke void @_ZNSt10shared_ptrI10HtnRuleSetEC2IS0_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull %116)
          to label %119 unwind label %152

119:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #9
  %120 = invoke noalias noundef nonnull dereferenceable(88) ptr @_Znwm(i64 noundef 88) #10
          to label %121 unwind label %156

121:                                              ; preds = %119
  %122 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #9
  %123 = 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) %120, ptr noundef %122, ptr noundef %123)
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull %120)
          to label %124 unwind label %156

124:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %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 16, ptr nonnull %9) #9
  call void @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #9
  %125 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  %126 = load ptr, ptr %125, align 8, !tbaa !5
  %127 = getelementptr inbounds i8, ptr %126, i64 32
  %128 = load ptr, ptr %127, align 8
  invoke void %128(ptr noundef nonnull align 8 dereferenceable(88) %125)
          to label %129 unwind label %158

129:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %12, ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull @.str.250)
          to label %130 unwind label %160

130:                                              ; preds = %129
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %11, ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull @.str.251)
          to label %131 unwind label %162

131:                                              ; preds = %130
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %10, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @.str.325)
          to label %132 unwind label %164

132:                                              ; preds = %131
  %133 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #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 nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #9
  %134 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %135 unwind label %168

135:                                              ; preds = %132
  %136 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %134, ptr noundef nonnull %14)
          to label %137 unwind label %170

137:                                              ; preds = %135
  %138 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %136)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  br i1 %138, label %184, label %139

139:                                              ; preds = %137
  %140 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %141 unwind label %168

141:                                              ; preds = %139
  %142 = load ptr, ptr %140, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #9
  %143 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %144 unwind label %172

144:                                              ; preds = %141
  %145 = load ptr, ptr %143, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %15, ptr noundef nonnull align 8 dereferenceable(30) %145, i32 noundef 1333)
          to label %146 unwind label %172

146:                                              ; preds = %144
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %142, ptr noundef nonnull align 8 dereferenceable(30) %15, ptr noundef nonnull @.str.59)
          to label %147 unwind label %172

147:                                              ; preds = %146
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #9
  br label %184

148:                                              ; preds = %114, %1
  %149 = landingpad { ptr, i32 }
          cleanup
  br label %948

150:                                              ; preds = %113
  %151 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %112, i64 noundef 33088) #11
  br label %948

152:                                              ; preds = %118, %115
  %153 = landingpad { ptr, i32 }
          cleanup
  br label %947

154:                                              ; preds = %117
  %155 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %116, i64 noundef 144) #11
  br label %947

156:                                              ; preds = %121, %119
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %946

158:                                              ; preds = %938, %900, %848, %847, %803, %759, %721, %669, %668, %624, %586, %534, %533, %489, %451, %399, %398, %355, %317, %265, %264, %221, %183, %124
  %159 = landingpad { ptr, i32 }
          cleanup
  br label %945

160:                                              ; preds = %129
  %161 = landingpad { ptr, i32 }
          cleanup
  br label %167

162:                                              ; preds = %130
  %163 = landingpad { ptr, i32 }
          cleanup
  br label %166

164:                                              ; preds = %131
  %165 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  br label %166

166:                                              ; preds = %164, %162
  %.pn = phi { ptr, i32 } [ %165, %164 ], [ %163, %162 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #9
  br label %167

167:                                              ; preds = %166, %160
  %.pn.pn = phi { ptr, i32 } [ %.pn, %166 ], [ %161, %160 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #9
  br label %945

168:                                              ; preds = %139, %132
  %169 = landingpad { ptr, i32 }
          catch ptr null
  br label %174

170:                                              ; preds = %135
  %171 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  br label %174

172:                                              ; preds = %146, %144, %141
  %173 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #9
  br label %174

174:                                              ; preds = %172, %170, %168
  %.pn56 = phi { ptr, i32 } [ %173, %172 ], [ %169, %168 ], [ %171, %170 ]
  %.222 = extractvalue { ptr, i32 } %.pn56, 0
  %175 = call ptr @__cxa_begin_catch(ptr %.222) #9
  %176 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %177 unwind label %199

177:                                              ; preds = %174
  %178 = load ptr, ptr %176, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #9
  %179 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %180 unwind label %201

180:                                              ; preds = %177
  %181 = load ptr, ptr %179, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %16, ptr noundef nonnull align 8 dereferenceable(30) %181, i32 noundef 1333)
          to label %182 unwind label %201

182:                                              ; preds = %180
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %178, ptr noundef nonnull align 8 dereferenceable(30) %16, ptr noundef nonnull @.str.60)
          to label %183 unwind label %201

183:                                              ; preds = %182
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #9
  invoke void @__cxa_end_catch()
          to label %184 unwind label %158

184:                                              ; preds = %137, %147, %183
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #9
  %185 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE10SolveGoalsEv(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.85") align 8 %17, ptr noundef nonnull align 8 dereferenceable(88) %185)
          to label %186 unwind label %204

186:                                              ; preds = %184
  %187 = 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) %17) #9
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #9
  %188 = 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 nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %18, ptr noundef %188, i1 noundef zeroext false)
          to label %189 unwind label %206

189:                                              ; preds = %186
  %190 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %18) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #9
  %191 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %192 unwind label %208

192:                                              ; preds = %189
  %193 = load ptr, ptr %191, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #9
  %194 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %195 unwind label %210

195:                                              ; preds = %192
  %196 = load ptr, ptr %194, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %19, ptr noundef nonnull align 8 dereferenceable(30) %196, i32 noundef 1336)
          to label %197 unwind label %210

197:                                              ; preds = %195
  invoke void @_ZN8UnitTest10CheckEqualINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA55_cEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %193, ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 1 dereferenceable(55) @.str.326, ptr noundef nonnull align 8 dereferenceable(30) %19)
          to label %198 unwind label %210

198:                                              ; preds = %197
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #9
  br label %222

199:                                              ; preds = %174
  %200 = landingpad { ptr, i32 }
          cleanup
  br label %203

201:                                              ; preds = %182, %180, %177
  %202 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #9
  br label %203

203:                                              ; preds = %201, %199
  %.pn57 = phi { ptr, i32 } [ %202, %201 ], [ %200, %199 ]
  invoke void @__cxa_end_catch()
          to label %945 unwind label %949

204:                                              ; preds = %184
  %205 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #9
  br label %945

206:                                              ; preds = %186
  %207 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #9
  br label %945

208:                                              ; preds = %189
  %209 = landingpad { ptr, i32 }
          catch ptr null
  br label %212

210:                                              ; preds = %197, %195, %192
  %211 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #9
  br label %212

212:                                              ; preds = %210, %208
  %.pn59 = phi { ptr, i32 } [ %211, %210 ], [ %209, %208 ]
  %.424 = extractvalue { ptr, i32 } %.pn59, 0
  %213 = call ptr @__cxa_begin_catch(ptr %.424) #9
  %214 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %215 unwind label %238

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

218:                                              ; preds = %215
  %219 = load ptr, ptr %217, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %20, ptr noundef nonnull align 8 dereferenceable(30) %219, i32 noundef 1336)
          to label %220 unwind label %240

220:                                              ; preds = %218
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %216, ptr noundef nonnull align 8 dereferenceable(30) %20, ptr noundef nonnull @.str.327)
          to label %221 unwind label %240

221:                                              ; preds = %220
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #9
  invoke void @__cxa_end_catch()
          to label %222 unwind label %158

222:                                              ; preds = %198, %221
  %223 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull @.str.328, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %224 unwind label %243

224:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %24) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull @.str.34, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %225 unwind label %245

225:                                              ; preds = %224
  %226 = invoke noundef zeroext i1 @_ZNK10HtnRuleSet12DebugHasRuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_(ptr noundef nonnull align 8 dereferenceable(144) %223, ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %227 unwind label %247

227:                                              ; preds = %225
  %228 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %226)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #9
  br i1 %228, label %265, label %229

229:                                              ; preds = %227
  %230 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %231 unwind label %251

231:                                              ; preds = %229
  %232 = load ptr, ptr %230, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %25) #9
  %233 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %234 unwind label %253

234:                                              ; preds = %231
  %235 = load ptr, ptr %233, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %25, ptr noundef nonnull align 8 dereferenceable(30) %235, i32 noundef 1338)
          to label %236 unwind label %253

236:                                              ; preds = %234
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %232, ptr noundef nonnull align 8 dereferenceable(30) %25, ptr noundef nonnull @.str.329)
          to label %237 unwind label %253

237:                                              ; preds = %236
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #9
  br label %265

238:                                              ; preds = %212
  %239 = landingpad { ptr, i32 }
          cleanup
  br label %242

240:                                              ; preds = %220, %218, %215
  %241 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #9
  br label %242

242:                                              ; preds = %240, %238
  %.pn60 = phi { ptr, i32 } [ %241, %240 ], [ %239, %238 ]
  invoke void @__cxa_end_catch()
          to label %945 unwind label %949

243:                                              ; preds = %222
  %244 = landingpad { ptr, i32 }
          catch ptr null
  br label %250

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

247:                                              ; preds = %225
  %248 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #9
  br label %249

249:                                              ; preds = %247, %245
  %.pn62 = phi { ptr, i32 } [ %248, %247 ], [ %246, %245 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  br label %250

250:                                              ; preds = %249, %243
  %.pn62.pn = phi { ptr, i32 } [ %.pn62, %249 ], [ %244, %243 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #9
  br label %255

251:                                              ; preds = %229
  %252 = landingpad { ptr, i32 }
          catch ptr null
  br label %255

253:                                              ; preds = %236, %234, %231
  %254 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #9
  br label %255

255:                                              ; preds = %253, %251, %250
  %.pn63 = phi { ptr, i32 } [ %254, %253 ], [ %252, %251 ], [ %.pn62.pn, %250 ]
  %.828 = extractvalue { ptr, i32 } %.pn63, 0
  %256 = call ptr @__cxa_begin_catch(ptr %.828) #9
  %257 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %258 unwind label %289

258:                                              ; preds = %255
  %259 = load ptr, ptr %257, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %26) #9
  %260 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %261 unwind label %291

261:                                              ; preds = %258
  %262 = load ptr, ptr %260, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %26, ptr noundef nonnull align 8 dereferenceable(30) %262, i32 noundef 1338)
          to label %263 unwind label %291

263:                                              ; preds = %261
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %259, ptr noundef nonnull align 8 dereferenceable(30) %26, ptr noundef nonnull @.str.330)
          to label %264 unwind label %291

264:                                              ; preds = %263
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #9
  invoke void @__cxa_end_catch()
          to label %265 unwind label %158

265:                                              ; preds = %227, %237, %264
  %266 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  %267 = load ptr, ptr %266, align 8, !tbaa !5
  %268 = getelementptr inbounds i8, ptr %267, i64 32
  %269 = load ptr, ptr %268, align 8
  invoke void %269(ptr noundef nonnull align 8 dereferenceable(88) %266)
          to label %270 unwind label %158

270:                                              ; preds = %265
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %27) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %28) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %29) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %30) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %29, ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull @.str.250)
          to label %271 unwind label %294

271:                                              ; preds = %270
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %28, ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull @.str.251)
          to label %272 unwind label %296

272:                                              ; preds = %271
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %27, ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull @.str.331)
          to label %273 unwind label %298

273:                                              ; preds = %272
  %274 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %30) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #9
  %275 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %276 unwind label %302

276:                                              ; preds = %273
  %277 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %275, ptr noundef nonnull %31)
          to label %278 unwind label %304

278:                                              ; preds = %276
  %279 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %277)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  br i1 %279, label %318, label %280

280:                                              ; preds = %278
  %281 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %282 unwind label %302

282:                                              ; preds = %280
  %283 = load ptr, ptr %281, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %32) #9
  %284 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %285 unwind label %306

285:                                              ; preds = %282
  %286 = load ptr, ptr %284, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %32, ptr noundef nonnull align 8 dereferenceable(30) %286, i32 noundef 1348)
          to label %287 unwind label %306

287:                                              ; preds = %285
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %283, ptr noundef nonnull align 8 dereferenceable(30) %32, ptr noundef nonnull @.str.59)
          to label %288 unwind label %306

288:                                              ; preds = %287
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %32) #9
  br label %318

289:                                              ; preds = %255
  %290 = landingpad { ptr, i32 }
          cleanup
  br label %293

291:                                              ; preds = %263, %261, %258
  %292 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #9
  br label %293

293:                                              ; preds = %291, %289
  %.pn64 = phi { ptr, i32 } [ %292, %291 ], [ %290, %289 ]
  invoke void @__cxa_end_catch()
          to label %945 unwind label %949

294:                                              ; preds = %270
  %295 = landingpad { ptr, i32 }
          cleanup
  br label %301

296:                                              ; preds = %271
  %297 = landingpad { ptr, i32 }
          cleanup
  br label %300

298:                                              ; preds = %272
  %299 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #9
  br label %300

300:                                              ; preds = %298, %296
  %.pn66 = phi { ptr, i32 } [ %299, %298 ], [ %297, %296 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #9
  br label %301

301:                                              ; preds = %300, %294
  %.pn66.pn = phi { ptr, i32 } [ %.pn66, %300 ], [ %295, %294 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %30) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #9
  br label %945

302:                                              ; preds = %280, %273
  %303 = landingpad { ptr, i32 }
          catch ptr null
  br label %308

304:                                              ; preds = %276
  %305 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  br label %308

306:                                              ; preds = %287, %285, %282
  %307 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %32) #9
  br label %308

308:                                              ; preds = %306, %304, %302
  %.pn69 = phi { ptr, i32 } [ %307, %306 ], [ %303, %302 ], [ %305, %304 ]
  %.1232 = extractvalue { ptr, i32 } %.pn69, 0
  %309 = call ptr @__cxa_begin_catch(ptr %.1232) #9
  %310 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %311 unwind label %333

311:                                              ; preds = %308
  %312 = load ptr, ptr %310, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %33) #9
  %313 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %314 unwind label %335

314:                                              ; preds = %311
  %315 = load ptr, ptr %313, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %33, ptr noundef nonnull align 8 dereferenceable(30) %315, i32 noundef 1348)
          to label %316 unwind label %335

316:                                              ; preds = %314
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %312, ptr noundef nonnull align 8 dereferenceable(30) %33, ptr noundef nonnull @.str.60)
          to label %317 unwind label %335

317:                                              ; preds = %316
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #9
  invoke void @__cxa_end_catch()
          to label %318 unwind label %158

318:                                              ; preds = %278, %288, %317
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %34) #9
  %319 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE10SolveGoalsEv(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.85") align 8 %34, ptr noundef nonnull align 8 dereferenceable(88) %319)
          to label %320 unwind label %338

320:                                              ; preds = %318
  %321 = 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) %34) #9
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %34) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %34) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %35) #9
  %322 = 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 nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %35, ptr noundef %322, i1 noundef zeroext false)
          to label %323 unwind label %340

323:                                              ; preds = %320
  %324 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %35) #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 nonnull %35) #9
  %325 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %326 unwind label %342

326:                                              ; preds = %323
  %327 = load ptr, ptr %325, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %36) #9
  %328 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %329 unwind label %344

329:                                              ; preds = %326
  %330 = load ptr, ptr %328, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %36, ptr noundef nonnull align 8 dereferenceable(30) %330, i32 noundef 1351)
          to label %331 unwind label %344

331:                                              ; preds = %329
  invoke void @_ZN8UnitTest10CheckEqualINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA55_cEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %327, ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 1 dereferenceable(55) @.str.326, ptr noundef nonnull align 8 dereferenceable(30) %36)
          to label %332 unwind label %344

332:                                              ; preds = %331
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #9
  br label %356

333:                                              ; preds = %308
  %334 = landingpad { ptr, i32 }
          cleanup
  br label %337

335:                                              ; preds = %316, %314, %311
  %336 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #9
  br label %337

337:                                              ; preds = %335, %333
  %.pn70 = phi { ptr, i32 } [ %336, %335 ], [ %334, %333 ]
  invoke void @__cxa_end_catch()
          to label %945 unwind label %949

338:                                              ; preds = %318
  %339 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %34) #9
  br label %945

340:                                              ; preds = %320
  %341 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %35) #9
  br label %945

342:                                              ; preds = %323
  %343 = landingpad { ptr, i32 }
          catch ptr null
  br label %346

344:                                              ; preds = %331, %329, %326
  %345 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #9
  br label %346

346:                                              ; preds = %344, %342
  %.pn72 = phi { ptr, i32 } [ %345, %344 ], [ %343, %342 ]
  %.1434 = extractvalue { ptr, i32 } %.pn72, 0
  %347 = call ptr @__cxa_begin_catch(ptr %.1434) #9
  %348 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %349 unwind label %372

349:                                              ; preds = %346
  %350 = load ptr, ptr %348, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %37) #9
  %351 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %352 unwind label %374

352:                                              ; preds = %349
  %353 = load ptr, ptr %351, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %37, ptr noundef nonnull align 8 dereferenceable(30) %353, i32 noundef 1351)
          to label %354 unwind label %374

354:                                              ; preds = %352
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %350, ptr noundef nonnull align 8 dereferenceable(30) %37, ptr noundef nonnull @.str.327)
          to label %355 unwind label %374

355:                                              ; preds = %354
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #9
  invoke void @__cxa_end_catch()
          to label %356 unwind label %158

356:                                              ; preds = %332, %355
  %357 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %38) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %39) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef nonnull @.str.328, ptr noundef nonnull align 1 dereferenceable(1) %39)
          to label %358 unwind label %377

358:                                              ; preds = %356
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %40) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %41) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull @.str.34, ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %359 unwind label %379

359:                                              ; preds = %358
  %360 = invoke noundef zeroext i1 @_ZNK10HtnRuleSet12DebugHasRuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_(ptr noundef nonnull align 8 dereferenceable(144) %357, ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef nonnull align 8 dereferenceable(32) %40)
          to label %361 unwind label %381

361:                                              ; preds = %359
  %362 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %360)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %41) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %40) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %39) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %38) #9
  br i1 %362, label %399, label %363

363:                                              ; preds = %361
  %364 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %365 unwind label %385

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

368:                                              ; preds = %365
  %369 = load ptr, ptr %367, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %42, ptr noundef nonnull align 8 dereferenceable(30) %369, i32 noundef 1353)
          to label %370 unwind label %387

370:                                              ; preds = %368
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %366, ptr noundef nonnull align 8 dereferenceable(30) %42, ptr noundef nonnull @.str.329)
          to label %371 unwind label %387

371:                                              ; preds = %370
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %42) #9
  br label %399

372:                                              ; preds = %346
  %373 = landingpad { ptr, i32 }
          cleanup
  br label %376

374:                                              ; preds = %354, %352, %349
  %375 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #9
  br label %376

376:                                              ; preds = %374, %372
  %.pn73 = phi { ptr, i32 } [ %375, %374 ], [ %373, %372 ]
  invoke void @__cxa_end_catch()
          to label %945 unwind label %949

377:                                              ; preds = %356
  %378 = landingpad { ptr, i32 }
          catch ptr null
  br label %384

379:                                              ; preds = %358
  %380 = landingpad { ptr, i32 }
          catch ptr null
  br label %383

381:                                              ; preds = %359
  %382 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #9
  br label %383

383:                                              ; preds = %381, %379
  %.pn75 = phi { ptr, i32 } [ %382, %381 ], [ %380, %379 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %41) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %40) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #9
  br label %384

384:                                              ; preds = %383, %377
  %.pn75.pn = phi { ptr, i32 } [ %.pn75, %383 ], [ %378, %377 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %39) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %38) #9
  br label %389

385:                                              ; preds = %363
  %386 = landingpad { ptr, i32 }
          catch ptr null
  br label %389

387:                                              ; preds = %370, %368, %365
  %388 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %42) #9
  br label %389

389:                                              ; preds = %387, %385, %384
  %.pn76 = phi { ptr, i32 } [ %388, %387 ], [ %386, %385 ], [ %.pn75.pn, %384 ]
  %.1838 = extractvalue { ptr, i32 } %.pn76, 0
  %390 = call ptr @__cxa_begin_catch(ptr %.1838) #9
  %391 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %392 unwind label %423

392:                                              ; preds = %389
  %393 = load ptr, ptr %391, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %43) #9
  %394 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %395 unwind label %425

395:                                              ; preds = %392
  %396 = load ptr, ptr %394, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %43, ptr noundef nonnull align 8 dereferenceable(30) %396, i32 noundef 1353)
          to label %397 unwind label %425

397:                                              ; preds = %395
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %393, ptr noundef nonnull align 8 dereferenceable(30) %43, ptr noundef nonnull @.str.330)
          to label %398 unwind label %425

398:                                              ; preds = %397
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %43) #9
  invoke void @__cxa_end_catch()
          to label %399 unwind label %158

399:                                              ; preds = %361, %371, %398
  %400 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  %401 = load ptr, ptr %400, align 8, !tbaa !5
  %402 = getelementptr inbounds i8, ptr %401, i64 32
  %403 = load ptr, ptr %402, align 8
  invoke void %403(ptr noundef nonnull align 8 dereferenceable(88) %400)
          to label %404 unwind label %158

404:                                              ; preds = %399
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %44) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %45) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %46) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %47) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %46, ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef nonnull @.str.250)
          to label %405 unwind label %428

405:                                              ; preds = %404
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %45, ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef nonnull @.str.251)
          to label %406 unwind label %430

406:                                              ; preds = %405
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %44, ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull @.str.332)
          to label %407 unwind label %432

407:                                              ; preds = %406
  %408 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %44) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %47) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %46) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %45) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %44) #9
  %409 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %410 unwind label %436

410:                                              ; preds = %407
  %411 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %409, ptr noundef nonnull %48)
          to label %412 unwind label %438

412:                                              ; preds = %410
  %413 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %411)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #9
  br i1 %413, label %452, label %414

414:                                              ; preds = %412
  %415 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %416 unwind label %436

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

419:                                              ; preds = %416
  %420 = load ptr, ptr %418, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %49, ptr noundef nonnull align 8 dereferenceable(30) %420, i32 noundef 1362)
          to label %421 unwind label %440

421:                                              ; preds = %419
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %417, ptr noundef nonnull align 8 dereferenceable(30) %49, ptr noundef nonnull @.str.59)
          to label %422 unwind label %440

422:                                              ; preds = %421
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %49) #9
  br label %452

423:                                              ; preds = %389
  %424 = landingpad { ptr, i32 }
          cleanup
  br label %427

425:                                              ; preds = %397, %395, %392
  %426 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %43) #9
  br label %427

427:                                              ; preds = %425, %423
  %.pn77 = phi { ptr, i32 } [ %426, %425 ], [ %424, %423 ]
  invoke void @__cxa_end_catch()
          to label %945 unwind label %949

428:                                              ; preds = %404
  %429 = landingpad { ptr, i32 }
          cleanup
  br label %435

430:                                              ; preds = %405
  %431 = landingpad { ptr, i32 }
          cleanup
  br label %434

432:                                              ; preds = %406
  %433 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #9
  br label %434

434:                                              ; preds = %432, %430
  %.pn79 = phi { ptr, i32 } [ %433, %432 ], [ %431, %430 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #9
  br label %435

435:                                              ; preds = %434, %428
  %.pn79.pn = phi { ptr, i32 } [ %.pn79, %434 ], [ %429, %428 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %47) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %46) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %45) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %44) #9
  br label %945

436:                                              ; preds = %414, %407
  %437 = landingpad { ptr, i32 }
          catch ptr null
  br label %442

438:                                              ; preds = %410
  %439 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #9
  br label %442

440:                                              ; preds = %421, %419, %416
  %441 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %49) #9
  br label %442

442:                                              ; preds = %440, %438, %436
  %.pn82 = phi { ptr, i32 } [ %441, %440 ], [ %437, %436 ], [ %439, %438 ]
  %.2242 = extractvalue { ptr, i32 } %.pn82, 0
  %443 = call ptr @__cxa_begin_catch(ptr %.2242) #9
  %444 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %445 unwind label %467

445:                                              ; preds = %442
  %446 = load ptr, ptr %444, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %50) #9
  %447 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %448 unwind label %469

448:                                              ; preds = %445
  %449 = load ptr, ptr %447, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %50, ptr noundef nonnull align 8 dereferenceable(30) %449, i32 noundef 1362)
          to label %450 unwind label %469

450:                                              ; preds = %448
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %446, ptr noundef nonnull align 8 dereferenceable(30) %50, ptr noundef nonnull @.str.60)
          to label %451 unwind label %469

451:                                              ; preds = %450
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %50) #9
  invoke void @__cxa_end_catch()
          to label %452 unwind label %158

452:                                              ; preds = %412, %422, %451
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %51) #9
  %453 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE10SolveGoalsEv(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.85") align 8 %51, ptr noundef nonnull align 8 dereferenceable(88) %453)
          to label %454 unwind label %472

454:                                              ; preds = %452
  %455 = 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) %51) #9
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %51) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %51) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %52) #9
  %456 = 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 nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %52, ptr noundef %456, i1 noundef zeroext false)
          to label %457 unwind label %474

457:                                              ; preds = %454
  %458 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %52) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %52) #9
  %459 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %460 unwind label %476

460:                                              ; preds = %457
  %461 = load ptr, ptr %459, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %53) #9
  %462 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %463 unwind label %478

463:                                              ; preds = %460
  %464 = load ptr, ptr %462, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %53, ptr noundef nonnull align 8 dereferenceable(30) %464, i32 noundef 1365)
          to label %465 unwind label %478

465:                                              ; preds = %463
  invoke void @_ZN8UnitTest10CheckEqualINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA19_cEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %461, ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 1 dereferenceable(19) @.str.333, ptr noundef nonnull align 8 dereferenceable(30) %53)
          to label %466 unwind label %478

466:                                              ; preds = %465
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %53) #9
  br label %490

467:                                              ; preds = %442
  %468 = landingpad { ptr, i32 }
          cleanup
  br label %471

469:                                              ; preds = %450, %448, %445
  %470 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %50) #9
  br label %471

471:                                              ; preds = %469, %467
  %.pn83 = phi { ptr, i32 } [ %470, %469 ], [ %468, %467 ]
  invoke void @__cxa_end_catch()
          to label %945 unwind label %949

472:                                              ; preds = %452
  %473 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %51) #9
  br label %945

474:                                              ; preds = %454
  %475 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %52) #9
  br label %945

476:                                              ; preds = %457
  %477 = landingpad { ptr, i32 }
          catch ptr null
  br label %480

478:                                              ; preds = %465, %463, %460
  %479 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %53) #9
  br label %480

480:                                              ; preds = %478, %476
  %.pn85 = phi { ptr, i32 } [ %479, %478 ], [ %477, %476 ]
  %.2444 = extractvalue { ptr, i32 } %.pn85, 0
  %481 = call ptr @__cxa_begin_catch(ptr %.2444) #9
  %482 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %483 unwind label %507

483:                                              ; preds = %480
  %484 = load ptr, ptr %482, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %54) #9
  %485 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %486 unwind label %509

486:                                              ; preds = %483
  %487 = load ptr, ptr %485, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %54, ptr noundef nonnull align 8 dereferenceable(30) %487, i32 noundef 1365)
          to label %488 unwind label %509

488:                                              ; preds = %486
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %484, ptr noundef nonnull align 8 dereferenceable(30) %54, ptr noundef nonnull @.str.334)
          to label %489 unwind label %509

489:                                              ; preds = %488
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %54) #9
  invoke void @__cxa_end_catch()
          to label %490 unwind label %158

490:                                              ; preds = %466, %489
  %491 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %55) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %56) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef nonnull @.str.335, ptr noundef nonnull align 1 dereferenceable(1) %56)
          to label %492 unwind label %512

492:                                              ; preds = %490
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %57) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %58) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %57, ptr noundef nonnull @.str.34, ptr noundef nonnull align 1 dereferenceable(1) %58)
          to label %493 unwind label %514

493:                                              ; preds = %492
  %494 = invoke noundef zeroext i1 @_ZNK10HtnRuleSet12DebugHasRuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_(ptr noundef nonnull align 8 dereferenceable(144) %491, ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef nonnull align 8 dereferenceable(32) %57)
          to label %495 unwind label %516

495:                                              ; preds = %493
  %496 = xor i1 %494, true
  %497 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %496)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %58) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %57) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %56) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %55) #9
  br i1 %497, label %534, label %498

498:                                              ; preds = %495
  %499 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %500 unwind label %520

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

503:                                              ; preds = %500
  %504 = load ptr, ptr %502, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %59, ptr noundef nonnull align 8 dereferenceable(30) %504, i32 noundef 1367)
          to label %505 unwind label %522

505:                                              ; preds = %503
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %501, ptr noundef nonnull align 8 dereferenceable(30) %59, ptr noundef nonnull @.str.336)
          to label %506 unwind label %522

506:                                              ; preds = %505
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %59) #9
  br label %534

507:                                              ; preds = %480
  %508 = landingpad { ptr, i32 }
          cleanup
  br label %511

509:                                              ; preds = %488, %486, %483
  %510 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %54) #9
  br label %511

511:                                              ; preds = %509, %507
  %.pn86 = phi { ptr, i32 } [ %510, %509 ], [ %508, %507 ]
  invoke void @__cxa_end_catch()
          to label %945 unwind label %949

512:                                              ; preds = %490
  %513 = landingpad { ptr, i32 }
          catch ptr null
  br label %519

514:                                              ; preds = %492
  %515 = landingpad { ptr, i32 }
          catch ptr null
  br label %518

516:                                              ; preds = %493
  %517 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #9
  br label %518

518:                                              ; preds = %516, %514
  %.pn88 = phi { ptr, i32 } [ %517, %516 ], [ %515, %514 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %58) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %57) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #9
  br label %519

519:                                              ; preds = %518, %512
  %.pn88.pn = phi { ptr, i32 } [ %.pn88, %518 ], [ %513, %512 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %56) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %55) #9
  br label %524

520:                                              ; preds = %498
  %521 = landingpad { ptr, i32 }
          catch ptr null
  br label %524

522:                                              ; preds = %505, %503, %500
  %523 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %59) #9
  br label %524

524:                                              ; preds = %522, %520, %519
  %.pn89 = phi { ptr, i32 } [ %523, %522 ], [ %521, %520 ], [ %.pn88.pn, %519 ]
  %.2848 = extractvalue { ptr, i32 } %.pn89, 0
  %525 = call ptr @__cxa_begin_catch(ptr %.2848) #9
  %526 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %527 unwind label %558

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

530:                                              ; preds = %527
  %531 = load ptr, ptr %529, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %60, ptr noundef nonnull align 8 dereferenceable(30) %531, i32 noundef 1367)
          to label %532 unwind label %560

532:                                              ; preds = %530
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %528, ptr noundef nonnull align 8 dereferenceable(30) %60, ptr noundef nonnull @.str.337)
          to label %533 unwind label %560

533:                                              ; preds = %532
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %60) #9
  invoke void @__cxa_end_catch()
          to label %534 unwind label %158

534:                                              ; preds = %495, %506, %533
  %535 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  %536 = load ptr, ptr %535, align 8, !tbaa !5
  %537 = getelementptr inbounds i8, ptr %536, i64 32
  %538 = load ptr, ptr %537, align 8
  invoke void %538(ptr noundef nonnull align 8 dereferenceable(88) %535)
          to label %539 unwind label %158

539:                                              ; preds = %534
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %61) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %62) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %63) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %64) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %63, ptr noundef nonnull align 8 dereferenceable(32) %64, ptr noundef nonnull @.str.250)
          to label %540 unwind label %563

540:                                              ; preds = %539
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %62, ptr noundef nonnull align 8 dereferenceable(32) %63, ptr noundef nonnull @.str.251)
          to label %541 unwind label %565

541:                                              ; preds = %540
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %61, ptr noundef nonnull align 8 dereferenceable(32) %62, ptr noundef nonnull @.str.338)
          to label %542 unwind label %567

542:                                              ; preds = %541
  %543 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %61) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %64) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %63) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %62) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %61) #9
  %544 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %65, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %545 unwind label %571

545:                                              ; preds = %542
  %546 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %544, ptr noundef nonnull %65)
          to label %547 unwind label %573

547:                                              ; preds = %545
  %548 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %546)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #9
  br i1 %548, label %587, label %549

549:                                              ; preds = %547
  %550 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %551 unwind label %571

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

554:                                              ; preds = %551
  %555 = load ptr, ptr %553, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %66, ptr noundef nonnull align 8 dereferenceable(30) %555, i32 noundef 1377)
          to label %556 unwind label %575

556:                                              ; preds = %554
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %552, ptr noundef nonnull align 8 dereferenceable(30) %66, ptr noundef nonnull @.str.59)
          to label %557 unwind label %575

557:                                              ; preds = %556
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %66) #9
  br label %587

558:                                              ; preds = %524
  %559 = landingpad { ptr, i32 }
          cleanup
  br label %562

560:                                              ; preds = %532, %530, %527
  %561 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %60) #9
  br label %562

562:                                              ; preds = %560, %558
  %.pn90 = phi { ptr, i32 } [ %561, %560 ], [ %559, %558 ]
  invoke void @__cxa_end_catch()
          to label %945 unwind label %949

563:                                              ; preds = %539
  %564 = landingpad { ptr, i32 }
          cleanup
  br label %570

565:                                              ; preds = %540
  %566 = landingpad { ptr, i32 }
          cleanup
  br label %569

567:                                              ; preds = %541
  %568 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #9
  br label %569

569:                                              ; preds = %567, %565
  %.pn92 = phi { ptr, i32 } [ %568, %567 ], [ %566, %565 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #9
  br label %570

570:                                              ; preds = %569, %563
  %.pn92.pn = phi { ptr, i32 } [ %.pn92, %569 ], [ %564, %563 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %64) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %63) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %62) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %61) #9
  br label %945

571:                                              ; preds = %549, %542
  %572 = landingpad { ptr, i32 }
          catch ptr null
  br label %577

573:                                              ; preds = %545
  %574 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #9
  br label %577

575:                                              ; preds = %556, %554, %551
  %576 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %66) #9
  br label %577

577:                                              ; preds = %575, %573, %571
  %.pn95 = phi { ptr, i32 } [ %576, %575 ], [ %572, %571 ], [ %574, %573 ]
  %.3252 = extractvalue { ptr, i32 } %.pn95, 0
  %578 = call ptr @__cxa_begin_catch(ptr %.3252) #9
  %579 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %580 unwind label %602

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

583:                                              ; preds = %580
  %584 = load ptr, ptr %582, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %67, ptr noundef nonnull align 8 dereferenceable(30) %584, i32 noundef 1377)
          to label %585 unwind label %604

585:                                              ; preds = %583
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %581, ptr noundef nonnull align 8 dereferenceable(30) %67, ptr noundef nonnull @.str.60)
          to label %586 unwind label %604

586:                                              ; preds = %585
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %67) #9
  invoke void @__cxa_end_catch()
          to label %587 unwind label %158

587:                                              ; preds = %547, %557, %586
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %68) #9
  %588 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE10SolveGoalsEv(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.85") align 8 %68, ptr noundef nonnull align 8 dereferenceable(88) %588)
          to label %589 unwind label %607

589:                                              ; preds = %587
  %590 = 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) %68) #9
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %68) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %68) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %69) #9
  %591 = 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 nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %69, ptr noundef %591, i1 noundef zeroext false)
          to label %592 unwind label %609

592:                                              ; preds = %589
  %593 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %69) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %69) #9
  %594 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %595 unwind label %611

595:                                              ; preds = %592
  %596 = load ptr, ptr %594, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %70) #9
  %597 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %598 unwind label %613

598:                                              ; preds = %595
  %599 = load ptr, ptr %597, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %70, ptr noundef nonnull align 8 dereferenceable(30) %599, i32 noundef 1380)
          to label %600 unwind label %613

600:                                              ; preds = %598
  invoke void @_ZN8UnitTest10CheckEqualINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA19_cEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %596, ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 1 dereferenceable(19) @.str.333, ptr noundef nonnull align 8 dereferenceable(30) %70)
          to label %601 unwind label %613

601:                                              ; preds = %600
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %70) #9
  br label %625

602:                                              ; preds = %577
  %603 = landingpad { ptr, i32 }
          cleanup
  br label %606

604:                                              ; preds = %585, %583, %580
  %605 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %67) #9
  br label %606

606:                                              ; preds = %604, %602
  %.pn96 = phi { ptr, i32 } [ %605, %604 ], [ %603, %602 ]
  invoke void @__cxa_end_catch()
          to label %945 unwind label %949

607:                                              ; preds = %587
  %608 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %68) #9
  br label %945

609:                                              ; preds = %589
  %610 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %69) #9
  br label %945

611:                                              ; preds = %592
  %612 = landingpad { ptr, i32 }
          catch ptr null
  br label %615

613:                                              ; preds = %600, %598, %595
  %614 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %70) #9
  br label %615

615:                                              ; preds = %613, %611
  %.pn98 = phi { ptr, i32 } [ %614, %613 ], [ %612, %611 ]
  %.34 = extractvalue { ptr, i32 } %.pn98, 0
  %616 = call ptr @__cxa_begin_catch(ptr %.34) #9
  %617 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %618 unwind label %642

618:                                              ; preds = %615
  %619 = load ptr, ptr %617, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %71) #9
  %620 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %621 unwind label %644

621:                                              ; preds = %618
  %622 = load ptr, ptr %620, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %71, ptr noundef nonnull align 8 dereferenceable(30) %622, i32 noundef 1380)
          to label %623 unwind label %644

623:                                              ; preds = %621
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %619, ptr noundef nonnull align 8 dereferenceable(30) %71, ptr noundef nonnull @.str.334)
          to label %624 unwind label %644

624:                                              ; preds = %623
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %71) #9
  invoke void @__cxa_end_catch()
          to label %625 unwind label %158

625:                                              ; preds = %601, %624
  %626 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %72) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %73) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %73) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %72, ptr noundef nonnull @.str.335, ptr noundef nonnull align 1 dereferenceable(1) %73)
          to label %627 unwind label %647

627:                                              ; preds = %625
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %74) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %75) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %75) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %74, ptr noundef nonnull @.str.34, ptr noundef nonnull align 1 dereferenceable(1) %75)
          to label %628 unwind label %649

628:                                              ; preds = %627
  %629 = invoke noundef zeroext i1 @_ZNK10HtnRuleSet12DebugHasRuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_(ptr noundef nonnull align 8 dereferenceable(144) %626, ptr noundef nonnull align 8 dereferenceable(32) %72, ptr noundef nonnull align 8 dereferenceable(32) %74)
          to label %630 unwind label %651

630:                                              ; preds = %628
  %631 = xor i1 %629, true
  %632 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %631)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %74) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %75) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %75) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %74) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %73) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %73) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %72) #9
  br i1 %632, label %669, label %633

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

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

638:                                              ; preds = %635
  %639 = load ptr, ptr %637, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %76, ptr noundef nonnull align 8 dereferenceable(30) %639, i32 noundef 1381)
          to label %640 unwind label %657

640:                                              ; preds = %638
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %636, ptr noundef nonnull align 8 dereferenceable(30) %76, ptr noundef nonnull @.str.336)
          to label %641 unwind label %657

641:                                              ; preds = %640
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %76) #9
  br label %669

642:                                              ; preds = %615
  %643 = landingpad { ptr, i32 }
          cleanup
  br label %646

644:                                              ; preds = %623, %621, %618
  %645 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %71) #9
  br label %646

646:                                              ; preds = %644, %642
  %.pn99 = phi { ptr, i32 } [ %645, %644 ], [ %643, %642 ]
  invoke void @__cxa_end_catch()
          to label %945 unwind label %949

647:                                              ; preds = %625
  %648 = landingpad { ptr, i32 }
          catch ptr null
  br label %654

649:                                              ; preds = %627
  %650 = landingpad { ptr, i32 }
          catch ptr null
  br label %653

651:                                              ; preds = %628
  %652 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %74) #9
  br label %653

653:                                              ; preds = %651, %649
  %.pn101 = phi { ptr, i32 } [ %652, %651 ], [ %650, %649 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %75) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %75) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %74) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #9
  br label %654

654:                                              ; preds = %653, %647
  %.pn101.pn = phi { ptr, i32 } [ %.pn101, %653 ], [ %648, %647 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %73) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %73) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %72) #9
  br label %659

655:                                              ; preds = %633
  %656 = landingpad { ptr, i32 }
          catch ptr null
  br label %659

657:                                              ; preds = %640, %638, %635
  %658 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %76) #9
  br label %659

659:                                              ; preds = %657, %655, %654
  %.pn102 = phi { ptr, i32 } [ %658, %657 ], [ %656, %655 ], [ %.pn101.pn, %654 ]
  %.38 = extractvalue { ptr, i32 } %.pn102, 0
  %660 = call ptr @__cxa_begin_catch(ptr %.38) #9
  %661 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %662 unwind label %693

662:                                              ; preds = %659
  %663 = load ptr, ptr %661, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %77) #9
  %664 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %665 unwind label %695

665:                                              ; preds = %662
  %666 = load ptr, ptr %664, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %77, ptr noundef nonnull align 8 dereferenceable(30) %666, i32 noundef 1381)
          to label %667 unwind label %695

667:                                              ; preds = %665
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %663, ptr noundef nonnull align 8 dereferenceable(30) %77, ptr noundef nonnull @.str.337)
          to label %668 unwind label %695

668:                                              ; preds = %667
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %77) #9
  invoke void @__cxa_end_catch()
          to label %669 unwind label %158

669:                                              ; preds = %630, %641, %668
  %670 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  %671 = load ptr, ptr %670, align 8, !tbaa !5
  %672 = getelementptr inbounds i8, ptr %671, i64 32
  %673 = load ptr, ptr %672, align 8
  invoke void %673(ptr noundef nonnull align 8 dereferenceable(88) %670)
          to label %674 unwind label %158

674:                                              ; preds = %669
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %78) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %79) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %80) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %81) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %81) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %80, ptr noundef nonnull align 8 dereferenceable(32) %81, ptr noundef nonnull @.str.250)
          to label %675 unwind label %698

675:                                              ; preds = %674
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %79, ptr noundef nonnull align 8 dereferenceable(32) %80, ptr noundef nonnull @.str.251)
          to label %676 unwind label %700

676:                                              ; preds = %675
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %78, ptr noundef nonnull align 8 dereferenceable(32) %79, ptr noundef nonnull @.str.339)
          to label %677 unwind label %702

677:                                              ; preds = %676
  %678 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %78) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %78) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %79) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %80) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %81) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %81) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %80) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %79) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %78) #9
  %679 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %82, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %680 unwind label %706

680:                                              ; preds = %677
  %681 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %679, ptr noundef nonnull %82)
          to label %682 unwind label %708

682:                                              ; preds = %680
  %683 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %681)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %82) #9
  br i1 %683, label %722, label %684

684:                                              ; preds = %682
  %685 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %686 unwind label %706

686:                                              ; preds = %684
  %687 = load ptr, ptr %685, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %83) #9
  %688 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %689 unwind label %710

689:                                              ; preds = %686
  %690 = load ptr, ptr %688, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %83, ptr noundef nonnull align 8 dereferenceable(30) %690, i32 noundef 1389)
          to label %691 unwind label %710

691:                                              ; preds = %689
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %687, ptr noundef nonnull align 8 dereferenceable(30) %83, ptr noundef nonnull @.str.59)
          to label %692 unwind label %710

692:                                              ; preds = %691
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %83) #9
  br label %722

693:                                              ; preds = %659
  %694 = landingpad { ptr, i32 }
          cleanup
  br label %697

695:                                              ; preds = %667, %665, %662
  %696 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %77) #9
  br label %697

697:                                              ; preds = %695, %693
  %.pn103 = phi { ptr, i32 } [ %696, %695 ], [ %694, %693 ]
  invoke void @__cxa_end_catch()
          to label %945 unwind label %949

698:                                              ; preds = %674
  %699 = landingpad { ptr, i32 }
          cleanup
  br label %705

700:                                              ; preds = %675
  %701 = landingpad { ptr, i32 }
          cleanup
  br label %704

702:                                              ; preds = %676
  %703 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %79) #9
  br label %704

704:                                              ; preds = %702, %700
  %.pn105 = phi { ptr, i32 } [ %703, %702 ], [ %701, %700 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %80) #9
  br label %705

705:                                              ; preds = %704, %698
  %.pn105.pn = phi { ptr, i32 } [ %.pn105, %704 ], [ %699, %698 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %81) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %81) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %80) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %79) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %78) #9
  br label %945

706:                                              ; preds = %684, %677
  %707 = landingpad { ptr, i32 }
          catch ptr null
  br label %712

708:                                              ; preds = %680
  %709 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %82) #9
  br label %712

710:                                              ; preds = %691, %689, %686
  %711 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %83) #9
  br label %712

712:                                              ; preds = %710, %708, %706
  %.pn108 = phi { ptr, i32 } [ %711, %710 ], [ %707, %706 ], [ %709, %708 ]
  %.42 = extractvalue { ptr, i32 } %.pn108, 0
  %713 = call ptr @__cxa_begin_catch(ptr %.42) #9
  %714 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %715 unwind label %737

715:                                              ; preds = %712
  %716 = load ptr, ptr %714, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %84) #9
  %717 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %718 unwind label %739

718:                                              ; preds = %715
  %719 = load ptr, ptr %717, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %84, ptr noundef nonnull align 8 dereferenceable(30) %719, i32 noundef 1389)
          to label %720 unwind label %739

720:                                              ; preds = %718
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %716, ptr noundef nonnull align 8 dereferenceable(30) %84, ptr noundef nonnull @.str.60)
          to label %721 unwind label %739

721:                                              ; preds = %720
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %84) #9
  invoke void @__cxa_end_catch()
          to label %722 unwind label %158

722:                                              ; preds = %682, %692, %721
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %85) #9
  %723 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE10SolveGoalsEv(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.85") align 8 %85, ptr noundef nonnull align 8 dereferenceable(88) %723)
          to label %724 unwind label %742

724:                                              ; preds = %722
  %725 = 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) %85) #9
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %85) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %85) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %86) #9
  %726 = 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 nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %86, ptr noundef %726, i1 noundef zeroext false)
          to label %727 unwind label %744

727:                                              ; preds = %724
  %728 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %86) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %86) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %86) #9
  %729 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %730 unwind label %746

730:                                              ; preds = %727
  %731 = load ptr, ptr %729, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %87) #9
  %732 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %733 unwind label %748

733:                                              ; preds = %730
  %734 = load ptr, ptr %732, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %87, ptr noundef nonnull align 8 dereferenceable(30) %734, i32 noundef 1392)
          to label %735 unwind label %748

735:                                              ; preds = %733
  invoke void @_ZN8UnitTest10CheckEqualINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA5_cEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %731, ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 1 dereferenceable(5) @.str.188, ptr noundef nonnull align 8 dereferenceable(30) %87)
          to label %736 unwind label %748

736:                                              ; preds = %735
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %87) #9
  br label %760

737:                                              ; preds = %712
  %738 = landingpad { ptr, i32 }
          cleanup
  br label %741

739:                                              ; preds = %720, %718, %715
  %740 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %84) #9
  br label %741

741:                                              ; preds = %739, %737
  %.pn109 = phi { ptr, i32 } [ %740, %739 ], [ %738, %737 ]
  invoke void @__cxa_end_catch()
          to label %945 unwind label %949

742:                                              ; preds = %722
  %743 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %85) #9
  br label %945

744:                                              ; preds = %724
  %745 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %86) #9
  br label %945

746:                                              ; preds = %727
  %747 = landingpad { ptr, i32 }
          catch ptr null
  br label %750

748:                                              ; preds = %735, %733, %730
  %749 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %87) #9
  br label %750

750:                                              ; preds = %748, %746
  %.pn111 = phi { ptr, i32 } [ %749, %748 ], [ %747, %746 ]
  %.44 = extractvalue { ptr, i32 } %.pn111, 0
  %751 = call ptr @__cxa_begin_catch(ptr %.44) #9
  %752 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %753 unwind label %777

753:                                              ; preds = %750
  %754 = load ptr, ptr %752, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %88) #9
  %755 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %756 unwind label %779

756:                                              ; preds = %753
  %757 = load ptr, ptr %755, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %88, ptr noundef nonnull align 8 dereferenceable(30) %757, i32 noundef 1392)
          to label %758 unwind label %779

758:                                              ; preds = %756
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %754, ptr noundef nonnull align 8 dereferenceable(30) %88, ptr noundef nonnull @.str.189)
          to label %759 unwind label %779

759:                                              ; preds = %758
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %88) #9
  invoke void @__cxa_end_catch()
          to label %760 unwind label %158

760:                                              ; preds = %736, %759
  %761 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %89) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %90) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %90) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %89, ptr noundef nonnull @.str.335, ptr noundef nonnull align 1 dereferenceable(1) %90)
          to label %762 unwind label %782

762:                                              ; preds = %760
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %91) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %92) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %92) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %91, ptr noundef nonnull @.str.34, ptr noundef nonnull align 1 dereferenceable(1) %92)
          to label %763 unwind label %784

763:                                              ; preds = %762
  %764 = invoke noundef zeroext i1 @_ZNK10HtnRuleSet12DebugHasRuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_(ptr noundef nonnull align 8 dereferenceable(144) %761, ptr noundef nonnull align 8 dereferenceable(32) %89, ptr noundef nonnull align 8 dereferenceable(32) %91)
          to label %765 unwind label %786

765:                                              ; preds = %763
  %766 = xor i1 %764, true
  %767 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %766)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %91) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %92) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %92) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %91) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %89) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %90) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %90) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %89) #9
  br i1 %767, label %804, label %768

768:                                              ; preds = %765
  %769 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %770 unwind label %790

770:                                              ; preds = %768
  %771 = load ptr, ptr %769, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %93) #9
  %772 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %773 unwind label %792

773:                                              ; preds = %770
  %774 = load ptr, ptr %772, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %93, ptr noundef nonnull align 8 dereferenceable(30) %774, i32 noundef 1393)
          to label %775 unwind label %792

775:                                              ; preds = %773
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %771, ptr noundef nonnull align 8 dereferenceable(30) %93, ptr noundef nonnull @.str.336)
          to label %776 unwind label %792

776:                                              ; preds = %775
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %93) #9
  br label %804

777:                                              ; preds = %750
  %778 = landingpad { ptr, i32 }
          cleanup
  br label %781

779:                                              ; preds = %758, %756, %753
  %780 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %88) #9
  br label %781

781:                                              ; preds = %779, %777
  %.pn112 = phi { ptr, i32 } [ %780, %779 ], [ %778, %777 ]
  invoke void @__cxa_end_catch()
          to label %945 unwind label %949

782:                                              ; preds = %760
  %783 = landingpad { ptr, i32 }
          catch ptr null
  br label %789

784:                                              ; preds = %762
  %785 = landingpad { ptr, i32 }
          catch ptr null
  br label %788

786:                                              ; preds = %763
  %787 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %91) #9
  br label %788

788:                                              ; preds = %786, %784
  %.pn114 = phi { ptr, i32 } [ %787, %786 ], [ %785, %784 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %92) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %92) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %91) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %89) #9
  br label %789

789:                                              ; preds = %788, %782
  %.pn114.pn = phi { ptr, i32 } [ %.pn114, %788 ], [ %783, %782 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %90) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %90) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %89) #9
  br label %794

790:                                              ; preds = %768
  %791 = landingpad { ptr, i32 }
          catch ptr null
  br label %794

792:                                              ; preds = %775, %773, %770
  %793 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %93) #9
  br label %794

794:                                              ; preds = %792, %790, %789
  %.pn115 = phi { ptr, i32 } [ %793, %792 ], [ %791, %790 ], [ %.pn114.pn, %789 ]
  %.48 = extractvalue { ptr, i32 } %.pn115, 0
  %795 = call ptr @__cxa_begin_catch(ptr %.48) #9
  %796 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %797 unwind label %821

797:                                              ; preds = %794
  %798 = load ptr, ptr %796, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %94) #9
  %799 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %800 unwind label %823

800:                                              ; preds = %797
  %801 = load ptr, ptr %799, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %94, ptr noundef nonnull align 8 dereferenceable(30) %801, i32 noundef 1393)
          to label %802 unwind label %823

802:                                              ; preds = %800
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %798, ptr noundef nonnull align 8 dereferenceable(30) %94, ptr noundef nonnull @.str.337)
          to label %803 unwind label %823

803:                                              ; preds = %802
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %94) #9
  invoke void @__cxa_end_catch()
          to label %804 unwind label %158

804:                                              ; preds = %765, %776, %803
  %805 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %95) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %96) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %96) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %95, ptr noundef nonnull @.str.340, ptr noundef nonnull align 1 dereferenceable(1) %96)
          to label %806 unwind label %826

806:                                              ; preds = %804
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %97) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %98) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %98) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %97, ptr noundef nonnull @.str.34, ptr noundef nonnull align 1 dereferenceable(1) %98)
          to label %807 unwind label %828

807:                                              ; preds = %806
  %808 = invoke noundef zeroext i1 @_ZNK10HtnRuleSet12DebugHasRuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_(ptr noundef nonnull align 8 dereferenceable(144) %805, ptr noundef nonnull align 8 dereferenceable(32) %95, ptr noundef nonnull align 8 dereferenceable(32) %97)
          to label %809 unwind label %830

809:                                              ; preds = %807
  %810 = xor i1 %808, true
  %811 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %810)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %97) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %98) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %98) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %97) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %95) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %96) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %96) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %95) #9
  br i1 %811, label %848, label %812

812:                                              ; preds = %809
  %813 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %814 unwind label %834

814:                                              ; preds = %812
  %815 = load ptr, ptr %813, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %99) #9
  %816 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %817 unwind label %836

817:                                              ; preds = %814
  %818 = load ptr, ptr %816, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %99, ptr noundef nonnull align 8 dereferenceable(30) %818, i32 noundef 1394)
          to label %819 unwind label %836

819:                                              ; preds = %817
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %815, ptr noundef nonnull align 8 dereferenceable(30) %99, ptr noundef nonnull @.str.341)
          to label %820 unwind label %836

820:                                              ; preds = %819
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %99) #9
  br label %848

821:                                              ; preds = %794
  %822 = landingpad { ptr, i32 }
          cleanup
  br label %825

823:                                              ; preds = %802, %800, %797
  %824 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %94) #9
  br label %825

825:                                              ; preds = %823, %821
  %.pn116 = phi { ptr, i32 } [ %824, %823 ], [ %822, %821 ]
  invoke void @__cxa_end_catch()
          to label %945 unwind label %949

826:                                              ; preds = %804
  %827 = landingpad { ptr, i32 }
          catch ptr null
  br label %833

828:                                              ; preds = %806
  %829 = landingpad { ptr, i32 }
          catch ptr null
  br label %832

830:                                              ; preds = %807
  %831 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %97) #9
  br label %832

832:                                              ; preds = %830, %828
  %.pn118 = phi { ptr, i32 } [ %831, %830 ], [ %829, %828 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %98) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %98) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %97) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %95) #9
  br label %833

833:                                              ; preds = %832, %826
  %.pn118.pn = phi { ptr, i32 } [ %.pn118, %832 ], [ %827, %826 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %96) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %96) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %95) #9
  br label %838

834:                                              ; preds = %812
  %835 = landingpad { ptr, i32 }
          catch ptr null
  br label %838

836:                                              ; preds = %819, %817, %814
  %837 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %99) #9
  br label %838

838:                                              ; preds = %836, %834, %833
  %.pn119 = phi { ptr, i32 } [ %837, %836 ], [ %835, %834 ], [ %.pn118.pn, %833 ]
  %.52 = extractvalue { ptr, i32 } %.pn119, 0
  %839 = call ptr @__cxa_begin_catch(ptr %.52) #9
  %840 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %841 unwind label %872

841:                                              ; preds = %838
  %842 = load ptr, ptr %840, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %100) #9
  %843 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %844 unwind label %874

844:                                              ; preds = %841
  %845 = load ptr, ptr %843, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %100, ptr noundef nonnull align 8 dereferenceable(30) %845, i32 noundef 1394)
          to label %846 unwind label %874

846:                                              ; preds = %844
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %842, ptr noundef nonnull align 8 dereferenceable(30) %100, ptr noundef nonnull @.str.342)
          to label %847 unwind label %874

847:                                              ; preds = %846
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %100) #9
  invoke void @__cxa_end_catch()
          to label %848 unwind label %158

848:                                              ; preds = %809, %820, %847
  %849 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  %850 = load ptr, ptr %849, align 8, !tbaa !5
  %851 = getelementptr inbounds i8, ptr %850, i64 32
  %852 = load ptr, ptr %851, align 8
  invoke void %852(ptr noundef nonnull align 8 dereferenceable(88) %849)
          to label %853 unwind label %158

853:                                              ; preds = %848
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %101) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %102) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %103) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %104) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %104) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %103, ptr noundef nonnull align 8 dereferenceable(32) %104, ptr noundef nonnull @.str.250)
          to label %854 unwind label %877

854:                                              ; preds = %853
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %102, ptr noundef nonnull align 8 dereferenceable(32) %103, ptr noundef nonnull @.str.251)
          to label %855 unwind label %879

855:                                              ; preds = %854
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %101, ptr noundef nonnull align 8 dereferenceable(32) %102, ptr noundef nonnull @.str.343)
          to label %856 unwind label %881

856:                                              ; preds = %855
  %857 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %101) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %101) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %102) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %103) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %104) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %104) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %103) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %102) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %101) #9
  %858 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %105, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %859 unwind label %885

859:                                              ; preds = %856
  %860 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %858, ptr noundef nonnull %105)
          to label %861 unwind label %887

861:                                              ; preds = %859
  %862 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %860)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %105) #9
  br i1 %862, label %901, label %863

863:                                              ; preds = %861
  %864 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %865 unwind label %885

865:                                              ; preds = %863
  %866 = load ptr, ptr %864, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %106) #9
  %867 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %868 unwind label %889

868:                                              ; preds = %865
  %869 = load ptr, ptr %867, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %106, ptr noundef nonnull align 8 dereferenceable(30) %869, i32 noundef 1402)
          to label %870 unwind label %889

870:                                              ; preds = %868
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %866, ptr noundef nonnull align 8 dereferenceable(30) %106, ptr noundef nonnull @.str.59)
          to label %871 unwind label %889

871:                                              ; preds = %870
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %106) #9
  br label %901

872:                                              ; preds = %838
  %873 = landingpad { ptr, i32 }
          cleanup
  br label %876

874:                                              ; preds = %846, %844, %841
  %875 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %100) #9
  br label %876

876:                                              ; preds = %874, %872
  %.pn120 = phi { ptr, i32 } [ %875, %874 ], [ %873, %872 ]
  invoke void @__cxa_end_catch()
          to label %945 unwind label %949

877:                                              ; preds = %853
  %878 = landingpad { ptr, i32 }
          cleanup
  br label %884

879:                                              ; preds = %854
  %880 = landingpad { ptr, i32 }
          cleanup
  br label %883

881:                                              ; preds = %855
  %882 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %102) #9
  br label %883

883:                                              ; preds = %881, %879
  %.pn122 = phi { ptr, i32 } [ %882, %881 ], [ %880, %879 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %103) #9
  br label %884

884:                                              ; preds = %883, %877
  %.pn122.pn = phi { ptr, i32 } [ %.pn122, %883 ], [ %878, %877 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %104) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %104) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %103) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %102) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %101) #9
  br label %945

885:                                              ; preds = %863, %856
  %886 = landingpad { ptr, i32 }
          catch ptr null
  br label %891

887:                                              ; preds = %859
  %888 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %105) #9
  br label %891

889:                                              ; preds = %870, %868, %865
  %890 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %106) #9
  br label %891

891:                                              ; preds = %889, %887, %885
  %.pn125 = phi { ptr, i32 } [ %890, %889 ], [ %886, %885 ], [ %888, %887 ]
  %.56 = extractvalue { ptr, i32 } %.pn125, 0
  %892 = call ptr @__cxa_begin_catch(ptr %.56) #9
  %893 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %894 unwind label %916

894:                                              ; preds = %891
  %895 = load ptr, ptr %893, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %107) #9
  %896 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %897 unwind label %918

897:                                              ; preds = %894
  %898 = load ptr, ptr %896, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %107, ptr noundef nonnull align 8 dereferenceable(30) %898, i32 noundef 1402)
          to label %899 unwind label %918

899:                                              ; preds = %897
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %895, ptr noundef nonnull align 8 dereferenceable(30) %107, ptr noundef nonnull @.str.60)
          to label %900 unwind label %918

900:                                              ; preds = %899
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %107) #9
  invoke void @__cxa_end_catch()
          to label %901 unwind label %158

901:                                              ; preds = %861, %871, %900
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %108) #9
  %902 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE10SolveGoalsEv(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.85") align 8 %108, ptr noundef nonnull align 8 dereferenceable(88) %902)
          to label %903 unwind label %921

903:                                              ; preds = %901
  %904 = 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) %108) #9
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %108) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %108) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %109) #9
  %905 = 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 nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %109, ptr noundef %905, i1 noundef zeroext false)
          to label %906 unwind label %923

906:                                              ; preds = %903
  %907 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %109) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %109) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %109) #9
  %908 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %909 unwind label %925

909:                                              ; preds = %906
  %910 = load ptr, ptr %908, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %110) #9
  %911 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %912 unwind label %927

912:                                              ; preds = %909
  %913 = load ptr, ptr %911, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %110, ptr noundef nonnull align 8 dereferenceable(30) %913, i32 noundef 1405)
          to label %914 unwind label %927

914:                                              ; preds = %912
  invoke void @_ZN8UnitTest10CheckEqualINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA5_cEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %910, ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 1 dereferenceable(5) @.str.8, ptr noundef nonnull align 8 dereferenceable(30) %110)
          to label %915 unwind label %927

915:                                              ; preds = %914
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %110) #9
  br label %939

916:                                              ; preds = %891
  %917 = landingpad { ptr, i32 }
          cleanup
  br label %920

918:                                              ; preds = %899, %897, %894
  %919 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %107) #9
  br label %920

920:                                              ; preds = %918, %916
  %.pn126 = phi { ptr, i32 } [ %919, %918 ], [ %917, %916 ]
  invoke void @__cxa_end_catch()
          to label %945 unwind label %949

921:                                              ; preds = %901
  %922 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %108) #9
  br label %945

923:                                              ; preds = %903
  %924 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %109) #9
  br label %945

925:                                              ; preds = %906
  %926 = landingpad { ptr, i32 }
          catch ptr null
  br label %929

927:                                              ; preds = %914, %912, %909
  %928 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %110) #9
  br label %929

929:                                              ; preds = %927, %925
  %.pn128 = phi { ptr, i32 } [ %928, %927 ], [ %926, %925 ]
  %.58 = extractvalue { ptr, i32 } %.pn128, 0
  %930 = call ptr @__cxa_begin_catch(ptr %.58) #9
  %931 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %932 unwind label %940

932:                                              ; preds = %929
  %933 = load ptr, ptr %931, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %111) #9
  %934 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %935 unwind label %942

935:                                              ; preds = %932
  %936 = load ptr, ptr %934, align 8, !tbaa !8
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %111, ptr noundef nonnull align 8 dereferenceable(30) %936, i32 noundef 1405)
          to label %937 unwind label %942

937:                                              ; preds = %935
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %933, ptr noundef nonnull align 8 dereferenceable(30) %111, ptr noundef nonnull @.str.9)
          to label %938 unwind label %942

938:                                              ; preds = %937
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %111) #9
  invoke void @__cxa_end_catch()
          to label %939 unwind label %158

939:                                              ; preds = %938, %915
  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 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 @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #9
  call void @llvm.lifetime.end.p0(i64 32, 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

940:                                              ; preds = %929
  %941 = landingpad { ptr, i32 }
          cleanup
  br label %944

942:                                              ; preds = %937, %935, %932
  %943 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %111) #9
  br label %944

944:                                              ; preds = %942, %940
  %.pn129 = phi { ptr, i32 } [ %943, %942 ], [ %941, %940 ]
  invoke void @__cxa_end_catch()
          to label %945 unwind label %949

945:                                              ; preds = %944, %920, %876, %825, %781, %741, %697, %646, %606, %562, %511, %471, %427, %376, %337, %293, %242, %203, %923, %921, %884, %744, %742, %705, %609, %607, %570, %474, %472, %435, %340, %338, %301, %206, %204, %167, %158
  %.pn131 = phi { ptr, i32 } [ %159, %158 ], [ %.pn129, %944 ], [ %924, %923 ], [ %922, %921 ], [ %.pn126, %920 ], [ %.pn122.pn, %884 ], [ %.pn120, %876 ], [ %.pn116, %825 ], [ %.pn112, %781 ], [ %745, %744 ], [ %743, %742 ], [ %.pn109, %741 ], [ %.pn105.pn, %705 ], [ %.pn103, %697 ], [ %.pn99, %646 ], [ %610, %609 ], [ %608, %607 ], [ %.pn96, %606 ], [ %.pn92.pn, %570 ], [ %.pn90, %562 ], [ %.pn86, %511 ], [ %475, %474 ], [ %473, %472 ], [ %.pn83, %471 ], [ %.pn79.pn, %435 ], [ %.pn77, %427 ], [ %.pn73, %376 ], [ %341, %340 ], [ %339, %338 ], [ %.pn70, %337 ], [ %.pn66.pn, %301 ], [ %.pn64, %293 ], [ %.pn60, %242 ], [ %207, %206 ], [ %205, %204 ], [ %.pn57, %203 ], [ %.pn.pn, %167 ]
  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 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 @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #9
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #9
  br label %946

946:                                              ; preds = %945, %156
  %.pn131.pn = phi { ptr, i32 } [ %.pn131, %945 ], [ %157, %156 ]
  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 %947

947:                                              ; preds = %946, %154, %152
  %.pn131.pn.pn = phi { ptr, i32 } [ %.pn131.pn, %946 ], [ %153, %152 ], [ %155, %154 ]
  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 %948

948:                                              ; preds = %947, %150, %148
  %.pn131.pn.pn.pn = phi { ptr, i32 } [ %.pn131.pn.pn, %947 ], [ %149, %148 ], [ %151, %150 ]
  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 } %.pn131.pn.pn.pn

949:                                              ; preds = %944, %920, %876, %825, %781, %741, %697, %646, %606, %562, %511, %471, %427, %376, %337, %293, %242, %203
  %950 = landingpad { ptr, i32 }
          catch ptr null
  %951 = extractvalue { ptr, i32 } %950, 0
  call void @__clang_call_terminate(ptr %951) #12
  unreachable
}

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

declare noundef zeroext i1 @_ZNK10HtnRuleSet12DebugHasRuleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { 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 #8 = { 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 #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}


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