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

; 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::shared_ptr.82" = type { %"class.std::__shared_ptr.83" }
%"class.std::__shared_ptr.83" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::vector.74" = type { %"struct.std::_Vector_base.75" }
%"struct.std::_Vector_base.75" = type { %"struct.std::_Vector_base<std::shared_ptr<HtnTerm>, std::allocator<std::shared_ptr<HtnTerm>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<HtnTerm>, std::allocator<std::shared_ptr<HtnTerm>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<HtnTerm>, std::allocator<std::shared_ptr<HtnTerm>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<HtnTerm>, std::allocator<std::shared_ptr<HtnTerm>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.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.HtnGoalResolver = type { %"class.std::enable_shared_from_this.56", %"class.std::map.59" }
%"class.std::enable_shared_from_this.56" = type { %"class.std::weak_ptr.57" }
%"class.std::weak_ptr.57" = type { %"class.std::__weak_ptr.58" }
%"class.std::__weak_ptr.58" = type { ptr, %"class.std::__weak_count" }
%"class.std::__weak_count" = type { ptr }
%"class.std::map.59" = type { %"class.std::_Rb_tree.60" }
%"class.std::_Rb_tree.60" = 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" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.29" = type { %"class.std::__shared_ptr.30" }
%"class.std::__shared_ptr.30" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.50" = type { %"class.std::__shared_ptr.51" }
%"class.std::__shared_ptr.51" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.79" = type { %"class.std::__shared_ptr.80" }
%"class.std::__shared_ptr.80" = type { ptr, %"class.std::__shared_count" }
%"class.std::allocator.68" = type { i8 }
%"class.UnitTest::TestDetails" = type <{ ptr, ptr, ptr, i32, i8, i8, [2 x i8] }>

@.str.96 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.114 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.118 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.120 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.123 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.129 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.131 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.132 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.133 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.134 = external hidden unnamed_addr constant [70 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: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #1

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

declare i32 @__gxx_personality_v0(...)

; 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 void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5 align 2

declare void @_ZN15HtnGoalResolverC1Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #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_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1)) #5 align 2

declare void @_ZN10HtnRuleSet8ClearAllEv(ptr noundef nonnull align 8 dereferenceable(144)) #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 noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #5 align 2

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

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

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

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

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

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

declare ptr @__cxa_begin_catch(ptr)

declare void @__cxa_end_catch()

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

; 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: 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 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 @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5 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 dso_local void @_ZN23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactory(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef) unnamed_addr #5 align 2

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

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

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

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

declare void @_ZN15HtnGoalResolver10ResolveAllEP14HtnTermFactoryP10HtnRuleSetRKSt6vectorISt10shared_ptrI7HtnTermESaIS7_EEiiPlPiPS9_(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.82") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK23PrologQueryCompilerBaseIN6Prolog11HtnVariableEE6resultEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector.74") align 8, ptr noundef nonnull align 8 dereferenceable(64)) #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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) #2

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

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

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

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

104:                                              ; preds = %1
  invoke void @_ZN14HtnTermFactoryC1Ev(ptr noundef nonnull align 8 dereferenceable(33088) %103)
          to label %105 unwind label %141

105:                                              ; preds = %104
  invoke void @_ZNSt10shared_ptrI14HtnTermFactoryEC2IS0_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef %103)
          to label %106 unwind label %137

106:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #8
  %107 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 144) #9
          to label %108 unwind label %145

108:                                              ; preds = %106
  invoke void @_ZN10HtnRuleSetC2Ev(ptr noundef nonnull align 8 dereferenceable(144) %107)
          to label %109 unwind label %149

109:                                              ; preds = %108
  invoke void @_ZNSt10shared_ptrI10HtnRuleSetEC2IS0_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef %107)
          to label %110 unwind label %145

110:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #8
  call void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #8
  call void @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #8
  call void @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  %111 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  invoke void @_ZN10HtnRuleSet8ClearAllEv(ptr noundef nonnull align 8 dereferenceable(144) %111)
          to label %112 unwind label %153

112:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #8
  %113 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 88) #9
          to label %114 unwind label %157

114:                                              ; preds = %112
  %115 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  %116 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactoryP10HtnRuleSet(ptr noundef nonnull align 8 dereferenceable(88) %113, ptr noundef %115, ptr noundef %116)
          to label %117 unwind label %161

117:                                              ; preds = %114
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef %113)
          to label %118 unwind label %157

118:                                              ; preds = %117
  %119 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %12) #8
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #8
  br label %120

120:                                              ; preds = %118
  %121 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.96, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %122 unwind label %166

122:                                              ; preds = %120
  %123 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %121, ptr noundef %13)
          to label %124 unwind label %170

124:                                              ; preds = %122
  %125 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %123)
          to label %126 unwind label %170

126:                                              ; preds = %124
  %127 = xor i1 %125, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #8
  br i1 %127, label %128, label %221

128:                                              ; preds = %126
  %129 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %130 unwind label %175

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

133:                                              ; preds = %130
  %134 = load ptr, ptr %132, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %15, ptr noundef nonnull align 8 dereferenceable(30) %134, i32 noundef 230)
          to label %135 unwind label %179

135:                                              ; preds = %133
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %131, ptr noundef nonnull align 8 dereferenceable(30) %15, ptr noundef @.str.97)
          to label %136 unwind label %179

136:                                              ; preds = %135
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #8
  br label %221

137:                                              ; preds = %105, %1
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %5, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %6, align 4
  br label %1435

141:                                              ; preds = %104
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %5, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %103, i64 noundef 33088) #10
  br label %1435

145:                                              ; preds = %109, %106
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %5, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %6, align 4
  br label %1434

149:                                              ; preds = %108
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %5, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %107, i64 noundef 144) #10
  br label %1434

153:                                              ; preds = %1418, %1353, %1278, %1205, %1201, %1136, %1061, %988, %984, %919, %844, %771, %767, %702, %627, %554, %550, %485, %410, %337, %333, %268, %193, %110
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %5, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %6, align 4
  br label %1433

157:                                              ; preds = %117, %112
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %5, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %6, align 4
  br label %165

161:                                              ; preds = %114
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %5, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %113, i64 noundef 88) #10
  br label %165

165:                                              ; preds = %161, %157
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #8
  br label %1433

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

170:                                              ; preds = %124, %122
  %171 = landingpad { ptr, i32 }
          catch ptr null
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %5, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  br label %174

174:                                              ; preds = %170, %166
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #8
  br label %183

175:                                              ; preds = %128
  %176 = landingpad { ptr, i32 }
          catch ptr null
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %5, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %6, align 4
  br label %183

179:                                              ; preds = %135, %133, %130
  %180 = landingpad { ptr, i32 }
          catch ptr null
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %5, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #8
  br label %183

183:                                              ; preds = %179, %175, %174
  %184 = load ptr, ptr %5, align 8
  %185 = call ptr @__cxa_begin_catch(ptr %184) #8
  %186 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %187 unwind label %222

187:                                              ; preds = %183
  %188 = load ptr, ptr %186, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #8
  %189 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %190 unwind label %226

190:                                              ; preds = %187
  %191 = load ptr, ptr %189, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %16, ptr noundef nonnull align 8 dereferenceable(30) %191, i32 noundef 230)
          to label %192 unwind label %226

192:                                              ; preds = %190
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %188, ptr noundef nonnull align 8 dereferenceable(30) %16, ptr noundef @.str.98)
          to label %193 unwind label %226

193:                                              ; preds = %192
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #8
  invoke void @__cxa_end_catch()
          to label %194 unwind label %153

194:                                              ; preds = %193
  br label %195

195:                                              ; preds = %221, %194
  br label %196

196:                                              ; preds = %195
  br label %197

197:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #8
  %198 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 64) #9
          to label %199 unwind label %232

199:                                              ; preds = %197
  %200 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  invoke void @_ZN23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactory(ptr noundef nonnull align 8 dereferenceable(64) %198, ptr noundef %200)
          to label %201 unwind label %236

201:                                              ; preds = %199
  invoke void @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef %198)
          to label %202 unwind label %232

202:                                              ; preds = %201
  %203 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %17) #8
  call void @_ZNSt12__shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  br label %204

204:                                              ; preds = %202
  %205 = call noundef ptr @_ZNKSt19__shared_ptr_accessI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef @.str.99, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %206 unwind label %241

206:                                              ; preds = %204
  %207 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog11PrologQueryINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %205, ptr noundef %18)
          to label %208 unwind label %245

208:                                              ; preds = %206
  %209 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %207)
          to label %210 unwind label %245

210:                                              ; preds = %208
  %211 = xor i1 %209, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #8
  br i1 %211, label %212, label %291

212:                                              ; preds = %210
  %213 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %214 unwind label %250

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

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

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

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

221:                                              ; preds = %136, %126
  br label %195

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

226:                                              ; preds = %192, %190, %187
  %227 = landingpad { ptr, i32 }
          cleanup
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %5, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #8
  br label %230

230:                                              ; preds = %226, %222
  invoke void @__cxa_end_catch()
          to label %231 unwind label %1441

231:                                              ; preds = %230
  br label %1433

232:                                              ; preds = %201, %197
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %5, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %6, align 4
  br label %240

236:                                              ; preds = %199
  %237 = landingpad { ptr, i32 }
          cleanup
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %5, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %198, i64 noundef 64) #10
  br label %240

240:                                              ; preds = %236, %232
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  br label %1433

241:                                              ; preds = %204
  %242 = landingpad { ptr, i32 }
          catch ptr null
  %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 = %208, %206
  %246 = landingpad { ptr, i32 }
          catch ptr null
  %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 @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  br label %249

249:                                              ; preds = %245, %241
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #8
  br label %258

250:                                              ; preds = %212
  %251 = landingpad { ptr, i32 }
          catch ptr null
  %252 = extractvalue { ptr, i32 } %251, 0
  store ptr %252, ptr %5, align 8
  %253 = extractvalue { ptr, i32 } %251, 1
  store i32 %253, ptr %6, align 4
  br label %258

254:                                              ; preds = %219, %217, %214
  %255 = landingpad { ptr, i32 }
          catch ptr null
  %256 = extractvalue { ptr, i32 } %255, 0
  store ptr %256, ptr %5, align 8
  %257 = extractvalue { ptr, i32 } %255, 1
  store i32 %257, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #8
  br label %258

258:                                              ; preds = %254, %250, %249
  %259 = load ptr, ptr %5, align 8
  %260 = call ptr @__cxa_begin_catch(ptr %259) #8
  %261 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %262 unwind label %292

262:                                              ; preds = %258
  %263 = load ptr, ptr %261, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #8
  %264 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %265 unwind label %296

265:                                              ; preds = %262
  %266 = load ptr, ptr %264, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %21, ptr noundef nonnull align 8 dereferenceable(30) %266, i32 noundef 232)
          to label %267 unwind label %296

267:                                              ; preds = %265
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %263, ptr noundef nonnull align 8 dereferenceable(30) %21, ptr noundef @.str.101)
          to label %268 unwind label %296

268:                                              ; preds = %267
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #8
  invoke void @__cxa_end_catch()
          to label %269 unwind label %153

269:                                              ; preds = %268
  br label %270

270:                                              ; preds = %291, %269
  br label %271

271:                                              ; preds = %270
  br label %272

272:                                              ; preds = %271
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #8
  %273 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  %274 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #8
  %275 = call noundef ptr @_ZNKSt19__shared_ptr_accessI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  invoke void @_ZNK23PrologQueryCompilerBaseIN6Prolog11HtnVariableEE6resultEv(ptr dead_on_unwind writable sret(%"class.std::vector.74") align 8 %23, ptr noundef nonnull align 8 dereferenceable(64) %275)
          to label %276 unwind label %302

276:                                              ; preds = %272
  invoke void @_ZN15HtnGoalResolver10ResolveAllEP14HtnTermFactoryP10HtnRuleSetRKSt6vectorISt10shared_ptrI7HtnTermESaIS7_EEiiPlPiPS9_(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.82") align 8 %22, ptr noundef nonnull align 8 dereferenceable(64) %3, ptr noundef %273, ptr noundef %274, ptr noundef nonnull align 8 dereferenceable(24) %23, i32 noundef 0, i32 noundef 1000000, ptr noundef null, ptr noundef null, ptr noundef null)
          to label %277 unwind label %306

277:                                              ; preds = %276
  %278 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %22) #8
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #8
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #8
  %279 = call noundef ptr @_ZNKSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  invoke void @_ZN15HtnGoalResolver8ToStringB5cxx11EPKSt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %24, ptr noundef %279, i1 noundef zeroext false)
          to label %280 unwind label %311

280:                                              ; preds = %277
  %281 = 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) %24) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #8
  br label %282

282:                                              ; preds = %280
  %283 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %284 unwind label %315

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

287:                                              ; preds = %284
  %288 = load ptr, ptr %286, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %25, ptr noundef nonnull align 8 dereferenceable(30) %288, i32 noundef 235)
          to label %289 unwind label %319

289:                                              ; preds = %287
  invoke void @_ZN8UnitTest10CheckEqualIA20_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %285, ptr noundef nonnull align 1 dereferenceable(20) @.str.102, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(30) %25)
          to label %290 unwind label %319

290:                                              ; preds = %289
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #8
  br label %335

291:                                              ; preds = %220, %210
  br label %270

292:                                              ; preds = %258
  %293 = landingpad { ptr, i32 }
          cleanup
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %5, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %6, align 4
  br label %300

296:                                              ; preds = %267, %265, %262
  %297 = landingpad { ptr, i32 }
          cleanup
  %298 = extractvalue { ptr, i32 } %297, 0
  store ptr %298, ptr %5, align 8
  %299 = extractvalue { ptr, i32 } %297, 1
  store i32 %299, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #8
  br label %300

300:                                              ; preds = %296, %292
  invoke void @__cxa_end_catch()
          to label %301 unwind label %1441

301:                                              ; preds = %300
  br label %1433

302:                                              ; preds = %272
  %303 = landingpad { ptr, i32 }
          cleanup
  %304 = extractvalue { ptr, i32 } %303, 0
  store ptr %304, ptr %5, align 8
  %305 = extractvalue { ptr, i32 } %303, 1
  store i32 %305, ptr %6, align 4
  br label %310

306:                                              ; preds = %276
  %307 = landingpad { ptr, i32 }
          cleanup
  %308 = extractvalue { ptr, i32 } %307, 0
  store ptr %308, ptr %5, align 8
  %309 = extractvalue { ptr, i32 } %307, 1
  store i32 %309, ptr %6, align 4
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #8
  br label %310

310:                                              ; preds = %306, %302
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #8
  br label %1433

311:                                              ; preds = %277
  %312 = landingpad { ptr, i32 }
          cleanup
  %313 = extractvalue { ptr, i32 } %312, 0
  store ptr %313, ptr %5, align 8
  %314 = extractvalue { ptr, i32 } %312, 1
  store i32 %314, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #8
  br label %1433

315:                                              ; preds = %282
  %316 = landingpad { ptr, i32 }
          catch ptr null
  %317 = extractvalue { ptr, i32 } %316, 0
  store ptr %317, ptr %5, align 8
  %318 = extractvalue { ptr, i32 } %316, 1
  store i32 %318, ptr %6, align 4
  br label %323

319:                                              ; preds = %289, %287, %284
  %320 = landingpad { ptr, i32 }
          catch ptr null
  %321 = extractvalue { ptr, i32 } %320, 0
  store ptr %321, ptr %5, align 8
  %322 = extractvalue { ptr, i32 } %320, 1
  store i32 %322, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #8
  br label %323

323:                                              ; preds = %319, %315
  %324 = load ptr, ptr %5, align 8
  %325 = call ptr @__cxa_begin_catch(ptr %324) #8
  %326 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %327 unwind label %364

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

330:                                              ; preds = %327
  %331 = load ptr, ptr %329, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %26, ptr noundef nonnull align 8 dereferenceable(30) %331, i32 noundef 235)
          to label %332 unwind label %368

332:                                              ; preds = %330
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %328, ptr noundef nonnull align 8 dereferenceable(30) %26, ptr noundef @.str.103)
          to label %333 unwind label %368

333:                                              ; preds = %332
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #8
  invoke void @__cxa_end_catch()
          to label %334 unwind label %153

334:                                              ; preds = %333
  br label %335

335:                                              ; preds = %334, %290
  br label %336

336:                                              ; preds = %335
  br label %337

337:                                              ; preds = %336
  %338 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  invoke void @_ZN10HtnRuleSet8ClearAllEv(ptr noundef nonnull align 8 dereferenceable(144) %338)
          to label %339 unwind label %153

339:                                              ; preds = %337
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #8
  %340 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 88) #9
          to label %341 unwind label %374

341:                                              ; preds = %339
  %342 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  %343 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactoryP10HtnRuleSet(ptr noundef nonnull align 8 dereferenceable(88) %340, ptr noundef %342, ptr noundef %343)
          to label %344 unwind label %378

344:                                              ; preds = %341
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef %340)
          to label %345 unwind label %374

345:                                              ; preds = %344
  %346 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %27) #8
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #8
  br label %347

347:                                              ; preds = %345
  %348 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef @.str.104, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %349 unwind label %383

349:                                              ; preds = %347
  %350 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %348, ptr noundef %28)
          to label %351 unwind label %387

351:                                              ; preds = %349
  %352 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %350)
          to label %353 unwind label %387

353:                                              ; preds = %351
  %354 = xor i1 %352, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #8
  br i1 %354, label %355, label %438

355:                                              ; preds = %353
  %356 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %357 unwind label %392

357:                                              ; preds = %355
  %358 = load ptr, ptr %356, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #8
  %359 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %360 unwind label %396

360:                                              ; preds = %357
  %361 = load ptr, ptr %359, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %30, ptr noundef nonnull align 8 dereferenceable(30) %361, i32 noundef 239)
          to label %362 unwind label %396

362:                                              ; preds = %360
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %358, ptr noundef nonnull align 8 dereferenceable(30) %30, ptr noundef @.str.105)
          to label %363 unwind label %396

363:                                              ; preds = %362
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #8
  br label %438

364:                                              ; preds = %323
  %365 = landingpad { ptr, i32 }
          cleanup
  %366 = extractvalue { ptr, i32 } %365, 0
  store ptr %366, ptr %5, align 8
  %367 = extractvalue { ptr, i32 } %365, 1
  store i32 %367, ptr %6, align 4
  br label %372

368:                                              ; preds = %332, %330, %327
  %369 = landingpad { ptr, i32 }
          cleanup
  %370 = extractvalue { ptr, i32 } %369, 0
  store ptr %370, ptr %5, align 8
  %371 = extractvalue { ptr, i32 } %369, 1
  store i32 %371, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #8
  br label %372

372:                                              ; preds = %368, %364
  invoke void @__cxa_end_catch()
          to label %373 unwind label %1441

373:                                              ; preds = %372
  br label %1433

374:                                              ; preds = %344, %339
  %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
  %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 @_ZdlPvm(ptr noundef %340, i64 noundef 88) #10
  br label %382

382:                                              ; preds = %378, %374
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #8
  br label %1433

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

387:                                              ; preds = %351, %349
  %388 = landingpad { ptr, i32 }
          catch ptr null
  %389 = extractvalue { ptr, i32 } %388, 0
  store ptr %389, ptr %5, align 8
  %390 = extractvalue { ptr, i32 } %388, 1
  store i32 %390, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #8
  br label %391

391:                                              ; preds = %387, %383
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #8
  br label %400

392:                                              ; preds = %355
  %393 = landingpad { ptr, i32 }
          catch ptr null
  %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
  br label %400

396:                                              ; preds = %362, %360, %357
  %397 = landingpad { ptr, i32 }
          catch ptr null
  %398 = extractvalue { ptr, i32 } %397, 0
  store ptr %398, ptr %5, align 8
  %399 = extractvalue { ptr, i32 } %397, 1
  store i32 %399, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #8
  br label %400

400:                                              ; preds = %396, %392, %391
  %401 = load ptr, ptr %5, align 8
  %402 = call ptr @__cxa_begin_catch(ptr %401) #8
  %403 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %404 unwind label %439

404:                                              ; preds = %400
  %405 = load ptr, ptr %403, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #8
  %406 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %407 unwind label %443

407:                                              ; preds = %404
  %408 = load ptr, ptr %406, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %31, ptr noundef nonnull align 8 dereferenceable(30) %408, i32 noundef 239)
          to label %409 unwind label %443

409:                                              ; preds = %407
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %405, ptr noundef nonnull align 8 dereferenceable(30) %31, ptr noundef @.str.106)
          to label %410 unwind label %443

410:                                              ; preds = %409
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #8
  invoke void @__cxa_end_catch()
          to label %411 unwind label %153

411:                                              ; preds = %410
  br label %412

412:                                              ; preds = %438, %411
  br label %413

413:                                              ; preds = %412
  br label %414

414:                                              ; preds = %413
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #8
  %415 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 64) #9
          to label %416 unwind label %449

416:                                              ; preds = %414
  %417 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  invoke void @_ZN23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactory(ptr noundef nonnull align 8 dereferenceable(64) %415, ptr noundef %417)
          to label %418 unwind label %453

418:                                              ; preds = %416
  invoke void @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef %415)
          to label %419 unwind label %449

419:                                              ; preds = %418
  %420 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %32) #8
  call void @_ZNSt12__shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %32) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #8
  br label %421

421:                                              ; preds = %419
  %422 = call noundef ptr @_ZNKSt19__shared_ptr_accessI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef @.str.107, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %423 unwind label %458

423:                                              ; preds = %421
  %424 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog11PrologQueryINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %422, ptr noundef %33)
          to label %425 unwind label %462

425:                                              ; preds = %423
  %426 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %424)
          to label %427 unwind label %462

427:                                              ; preds = %425
  %428 = xor i1 %426, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #8
  br i1 %428, label %429, label %508

429:                                              ; preds = %427
  %430 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %431 unwind label %467

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

434:                                              ; preds = %431
  %435 = load ptr, ptr %433, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %35, ptr noundef nonnull align 8 dereferenceable(30) %435, i32 noundef 241)
          to label %436 unwind label %471

436:                                              ; preds = %434
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %432, ptr noundef nonnull align 8 dereferenceable(30) %35, ptr noundef @.str.108)
          to label %437 unwind label %471

437:                                              ; preds = %436
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #8
  br label %508

438:                                              ; preds = %363, %353
  br label %412

439:                                              ; preds = %400
  %440 = landingpad { ptr, i32 }
          cleanup
  %441 = extractvalue { ptr, i32 } %440, 0
  store ptr %441, ptr %5, align 8
  %442 = extractvalue { ptr, i32 } %440, 1
  store i32 %442, ptr %6, align 4
  br label %447

443:                                              ; preds = %409, %407, %404
  %444 = landingpad { ptr, i32 }
          cleanup
  %445 = extractvalue { ptr, i32 } %444, 0
  store ptr %445, ptr %5, align 8
  %446 = extractvalue { ptr, i32 } %444, 1
  store i32 %446, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #8
  br label %447

447:                                              ; preds = %443, %439
  invoke void @__cxa_end_catch()
          to label %448 unwind label %1441

448:                                              ; preds = %447
  br label %1433

449:                                              ; preds = %418, %414
  %450 = landingpad { ptr, i32 }
          cleanup
  %451 = extractvalue { ptr, i32 } %450, 0
  store ptr %451, ptr %5, align 8
  %452 = extractvalue { ptr, i32 } %450, 1
  store i32 %452, ptr %6, align 4
  br label %457

453:                                              ; preds = %416
  %454 = landingpad { ptr, i32 }
          cleanup
  %455 = extractvalue { ptr, i32 } %454, 0
  store ptr %455, ptr %5, align 8
  %456 = extractvalue { ptr, i32 } %454, 1
  store i32 %456, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %415, i64 noundef 64) #10
  br label %457

457:                                              ; preds = %453, %449
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #8
  br label %1433

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

462:                                              ; preds = %425, %423
  %463 = landingpad { ptr, i32 }
          catch ptr null
  %464 = extractvalue { ptr, i32 } %463, 0
  store ptr %464, ptr %5, align 8
  %465 = extractvalue { ptr, i32 } %463, 1
  store i32 %465, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #8
  br label %466

466:                                              ; preds = %462, %458
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #8
  br label %475

467:                                              ; preds = %429
  %468 = landingpad { ptr, i32 }
          catch ptr null
  %469 = extractvalue { ptr, i32 } %468, 0
  store ptr %469, ptr %5, align 8
  %470 = extractvalue { ptr, i32 } %468, 1
  store i32 %470, ptr %6, align 4
  br label %475

471:                                              ; preds = %436, %434, %431
  %472 = landingpad { ptr, i32 }
          catch ptr null
  %473 = extractvalue { ptr, i32 } %472, 0
  store ptr %473, ptr %5, align 8
  %474 = extractvalue { ptr, i32 } %472, 1
  store i32 %474, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #8
  br label %475

475:                                              ; preds = %471, %467, %466
  %476 = load ptr, ptr %5, align 8
  %477 = call ptr @__cxa_begin_catch(ptr %476) #8
  %478 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %479 unwind label %509

479:                                              ; preds = %475
  %480 = load ptr, ptr %478, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #8
  %481 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %482 unwind label %513

482:                                              ; preds = %479
  %483 = load ptr, ptr %481, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %36, ptr noundef nonnull align 8 dereferenceable(30) %483, i32 noundef 241)
          to label %484 unwind label %513

484:                                              ; preds = %482
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %480, ptr noundef nonnull align 8 dereferenceable(30) %36, ptr noundef @.str.109)
          to label %485 unwind label %513

485:                                              ; preds = %484
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #8
  invoke void @__cxa_end_catch()
          to label %486 unwind label %153

486:                                              ; preds = %485
  br label %487

487:                                              ; preds = %508, %486
  br label %488

488:                                              ; preds = %487
  br label %489

489:                                              ; preds = %488
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #8
  %490 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  %491 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %38) #8
  %492 = call noundef ptr @_ZNKSt19__shared_ptr_accessI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  invoke void @_ZNK23PrologQueryCompilerBaseIN6Prolog11HtnVariableEE6resultEv(ptr dead_on_unwind writable sret(%"class.std::vector.74") align 8 %38, ptr noundef nonnull align 8 dereferenceable(64) %492)
          to label %493 unwind label %519

493:                                              ; preds = %489
  invoke void @_ZN15HtnGoalResolver10ResolveAllEP14HtnTermFactoryP10HtnRuleSetRKSt6vectorISt10shared_ptrI7HtnTermESaIS7_EEiiPlPiPS9_(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.82") align 8 %37, ptr noundef nonnull align 8 dereferenceable(64) %3, ptr noundef %490, ptr noundef %491, ptr noundef nonnull align 8 dereferenceable(24) %38, i32 noundef 0, i32 noundef 1000000, ptr noundef null, ptr noundef null, ptr noundef null)
          to label %494 unwind label %523

494:                                              ; preds = %493
  %495 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %37) #8
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %37) #8
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %39) #8
  %496 = call noundef ptr @_ZNKSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  invoke void @_ZN15HtnGoalResolver8ToStringB5cxx11EPKSt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %39, ptr noundef %496, i1 noundef zeroext false)
          to label %497 unwind label %528

497:                                              ; preds = %494
  %498 = 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) %39) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #8
  br label %499

499:                                              ; preds = %497
  %500 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %501 unwind label %532

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

504:                                              ; preds = %501
  %505 = load ptr, ptr %503, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %40, ptr noundef nonnull align 8 dereferenceable(30) %505, i32 noundef 244)
          to label %506 unwind label %536

506:                                              ; preds = %504
  invoke void @_ZN8UnitTest10CheckEqualIA44_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %502, ptr noundef nonnull align 1 dereferenceable(44) @.str.110, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(30) %40)
          to label %507 unwind label %536

507:                                              ; preds = %506
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #8
  br label %552

508:                                              ; preds = %437, %427
  br label %487

509:                                              ; preds = %475
  %510 = landingpad { ptr, i32 }
          cleanup
  %511 = extractvalue { ptr, i32 } %510, 0
  store ptr %511, ptr %5, align 8
  %512 = extractvalue { ptr, i32 } %510, 1
  store i32 %512, ptr %6, align 4
  br label %517

513:                                              ; preds = %484, %482, %479
  %514 = landingpad { ptr, i32 }
          cleanup
  %515 = extractvalue { ptr, i32 } %514, 0
  store ptr %515, ptr %5, align 8
  %516 = extractvalue { ptr, i32 } %514, 1
  store i32 %516, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #8
  br label %517

517:                                              ; preds = %513, %509
  invoke void @__cxa_end_catch()
          to label %518 unwind label %1441

518:                                              ; preds = %517
  br label %1433

519:                                              ; preds = %489
  %520 = landingpad { ptr, i32 }
          cleanup
  %521 = extractvalue { ptr, i32 } %520, 0
  store ptr %521, ptr %5, align 8
  %522 = extractvalue { ptr, i32 } %520, 1
  store i32 %522, ptr %6, align 4
  br label %527

523:                                              ; preds = %493
  %524 = landingpad { ptr, i32 }
          cleanup
  %525 = extractvalue { ptr, i32 } %524, 0
  store ptr %525, ptr %5, align 8
  %526 = extractvalue { ptr, i32 } %524, 1
  store i32 %526, ptr %6, align 4
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #8
  br label %527

527:                                              ; preds = %523, %519
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #8
  br label %1433

528:                                              ; preds = %494
  %529 = landingpad { ptr, i32 }
          cleanup
  %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 %39) #8
  br label %1433

532:                                              ; preds = %499
  %533 = landingpad { ptr, i32 }
          catch ptr null
  %534 = extractvalue { ptr, i32 } %533, 0
  store ptr %534, ptr %5, align 8
  %535 = extractvalue { ptr, i32 } %533, 1
  store i32 %535, ptr %6, align 4
  br label %540

536:                                              ; preds = %506, %504, %501
  %537 = landingpad { ptr, i32 }
          catch ptr null
  %538 = extractvalue { ptr, i32 } %537, 0
  store ptr %538, ptr %5, align 8
  %539 = extractvalue { ptr, i32 } %537, 1
  store i32 %539, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #8
  br label %540

540:                                              ; preds = %536, %532
  %541 = load ptr, ptr %5, align 8
  %542 = call ptr @__cxa_begin_catch(ptr %541) #8
  %543 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %544 unwind label %581

544:                                              ; preds = %540
  %545 = load ptr, ptr %543, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %41) #8
  %546 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %547 unwind label %585

547:                                              ; preds = %544
  %548 = load ptr, ptr %546, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %41, ptr noundef nonnull align 8 dereferenceable(30) %548, i32 noundef 244)
          to label %549 unwind label %585

549:                                              ; preds = %547
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %545, ptr noundef nonnull align 8 dereferenceable(30) %41, ptr noundef @.str.111)
          to label %550 unwind label %585

550:                                              ; preds = %549
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #8
  invoke void @__cxa_end_catch()
          to label %551 unwind label %153

551:                                              ; preds = %550
  br label %552

552:                                              ; preds = %551, %507
  br label %553

553:                                              ; preds = %552
  br label %554

554:                                              ; preds = %553
  %555 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  invoke void @_ZN10HtnRuleSet8ClearAllEv(ptr noundef nonnull align 8 dereferenceable(144) %555)
          to label %556 unwind label %153

556:                                              ; preds = %554
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #8
  %557 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 88) #9
          to label %558 unwind label %591

558:                                              ; preds = %556
  %559 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  %560 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactoryP10HtnRuleSet(ptr noundef nonnull align 8 dereferenceable(88) %557, ptr noundef %559, ptr noundef %560)
          to label %561 unwind label %595

561:                                              ; preds = %558
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %42, ptr noundef %557)
          to label %562 unwind label %591

562:                                              ; preds = %561
  %563 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %42) #8
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %42) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #8
  br label %564

564:                                              ; preds = %562
  %565 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef @.str.112, ptr noundef nonnull align 1 dereferenceable(1) %44)
          to label %566 unwind label %600

566:                                              ; preds = %564
  %567 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %565, ptr noundef %43)
          to label %568 unwind label %604

568:                                              ; preds = %566
  %569 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %567)
          to label %570 unwind label %604

570:                                              ; preds = %568
  %571 = xor i1 %569, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #8
  br i1 %571, label %572, label %655

572:                                              ; preds = %570
  %573 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %574 unwind label %609

574:                                              ; preds = %572
  %575 = load ptr, ptr %573, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %45) #8
  %576 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %577 unwind label %613

577:                                              ; preds = %574
  %578 = load ptr, ptr %576, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %45, ptr noundef nonnull align 8 dereferenceable(30) %578, i32 noundef 249)
          to label %579 unwind label %613

579:                                              ; preds = %577
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %575, ptr noundef nonnull align 8 dereferenceable(30) %45, ptr noundef @.str.113)
          to label %580 unwind label %613

580:                                              ; preds = %579
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #8
  br label %655

581:                                              ; preds = %540
  %582 = landingpad { ptr, i32 }
          cleanup
  %583 = extractvalue { ptr, i32 } %582, 0
  store ptr %583, ptr %5, align 8
  %584 = extractvalue { ptr, i32 } %582, 1
  store i32 %584, ptr %6, align 4
  br label %589

585:                                              ; preds = %549, %547, %544
  %586 = landingpad { ptr, i32 }
          cleanup
  %587 = extractvalue { ptr, i32 } %586, 0
  store ptr %587, ptr %5, align 8
  %588 = extractvalue { ptr, i32 } %586, 1
  store i32 %588, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #8
  br label %589

589:                                              ; preds = %585, %581
  invoke void @__cxa_end_catch()
          to label %590 unwind label %1441

590:                                              ; preds = %589
  br label %1433

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

595:                                              ; preds = %558
  %596 = landingpad { ptr, i32 }
          cleanup
  %597 = extractvalue { ptr, i32 } %596, 0
  store ptr %597, ptr %5, align 8
  %598 = extractvalue { ptr, i32 } %596, 1
  store i32 %598, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %557, i64 noundef 88) #10
  br label %599

599:                                              ; preds = %595, %591
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #8
  br label %1433

600:                                              ; preds = %564
  %601 = landingpad { ptr, i32 }
          catch ptr null
  %602 = extractvalue { ptr, i32 } %601, 0
  store ptr %602, ptr %5, align 8
  %603 = extractvalue { ptr, i32 } %601, 1
  store i32 %603, ptr %6, align 4
  br label %608

604:                                              ; preds = %568, %566
  %605 = landingpad { ptr, i32 }
          catch ptr null
  %606 = extractvalue { ptr, i32 } %605, 0
  store ptr %606, ptr %5, align 8
  %607 = extractvalue { ptr, i32 } %605, 1
  store i32 %607, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #8
  br label %608

608:                                              ; preds = %604, %600
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #8
  br label %617

609:                                              ; preds = %572
  %610 = landingpad { ptr, i32 }
          catch ptr null
  %611 = extractvalue { ptr, i32 } %610, 0
  store ptr %611, ptr %5, align 8
  %612 = extractvalue { ptr, i32 } %610, 1
  store i32 %612, ptr %6, align 4
  br label %617

613:                                              ; preds = %579, %577, %574
  %614 = landingpad { ptr, i32 }
          catch ptr null
  %615 = extractvalue { ptr, i32 } %614, 0
  store ptr %615, ptr %5, align 8
  %616 = extractvalue { ptr, i32 } %614, 1
  store i32 %616, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #8
  br label %617

617:                                              ; preds = %613, %609, %608
  %618 = load ptr, ptr %5, align 8
  %619 = call ptr @__cxa_begin_catch(ptr %618) #8
  %620 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %621 unwind label %656

621:                                              ; preds = %617
  %622 = load ptr, ptr %620, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %46) #8
  %623 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %624 unwind label %660

624:                                              ; preds = %621
  %625 = load ptr, ptr %623, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %46, ptr noundef nonnull align 8 dereferenceable(30) %625, i32 noundef 249)
          to label %626 unwind label %660

626:                                              ; preds = %624
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %622, ptr noundef nonnull align 8 dereferenceable(30) %46, ptr noundef @.str.114)
          to label %627 unwind label %660

627:                                              ; preds = %626
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #8
  invoke void @__cxa_end_catch()
          to label %628 unwind label %153

628:                                              ; preds = %627
  br label %629

629:                                              ; preds = %655, %628
  br label %630

630:                                              ; preds = %629
  br label %631

631:                                              ; preds = %630
  call void @llvm.lifetime.start.p0(i64 16, ptr %47) #8
  %632 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 64) #9
          to label %633 unwind label %666

633:                                              ; preds = %631
  %634 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  invoke void @_ZN23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactory(ptr noundef nonnull align 8 dereferenceable(64) %632, ptr noundef %634)
          to label %635 unwind label %670

635:                                              ; preds = %633
  invoke void @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %47, ptr noundef %632)
          to label %636 unwind label %666

636:                                              ; preds = %635
  %637 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %47) #8
  call void @_ZNSt12__shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %47) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #8
  br label %638

638:                                              ; preds = %636
  %639 = call noundef ptr @_ZNKSt19__shared_ptr_accessI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %49) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef @.str.99, ptr noundef nonnull align 1 dereferenceable(1) %49)
          to label %640 unwind label %675

640:                                              ; preds = %638
  %641 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog11PrologQueryINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %639, ptr noundef %48)
          to label %642 unwind label %679

642:                                              ; preds = %640
  %643 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %641)
          to label %644 unwind label %679

644:                                              ; preds = %642
  %645 = xor i1 %643, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #8
  br i1 %645, label %646, label %725

646:                                              ; preds = %644
  %647 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %648 unwind label %684

648:                                              ; preds = %646
  %649 = load ptr, ptr %647, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %50) #8
  %650 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %651 unwind label %688

651:                                              ; preds = %648
  %652 = load ptr, ptr %650, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %50, ptr noundef nonnull align 8 dereferenceable(30) %652, i32 noundef 251)
          to label %653 unwind label %688

653:                                              ; preds = %651
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %649, ptr noundef nonnull align 8 dereferenceable(30) %50, ptr noundef @.str.100)
          to label %654 unwind label %688

654:                                              ; preds = %653
  call void @llvm.lifetime.end.p0(i64 32, ptr %50) #8
  br label %725

655:                                              ; preds = %580, %570
  br label %629

656:                                              ; preds = %617
  %657 = landingpad { ptr, i32 }
          cleanup
  %658 = extractvalue { ptr, i32 } %657, 0
  store ptr %658, ptr %5, align 8
  %659 = extractvalue { ptr, i32 } %657, 1
  store i32 %659, ptr %6, align 4
  br label %664

660:                                              ; preds = %626, %624, %621
  %661 = landingpad { ptr, i32 }
          cleanup
  %662 = extractvalue { ptr, i32 } %661, 0
  store ptr %662, ptr %5, align 8
  %663 = extractvalue { ptr, i32 } %661, 1
  store i32 %663, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #8
  br label %664

664:                                              ; preds = %660, %656
  invoke void @__cxa_end_catch()
          to label %665 unwind label %1441

665:                                              ; preds = %664
  br label %1433

666:                                              ; preds = %635, %631
  %667 = landingpad { ptr, i32 }
          cleanup
  %668 = extractvalue { ptr, i32 } %667, 0
  store ptr %668, ptr %5, align 8
  %669 = extractvalue { ptr, i32 } %667, 1
  store i32 %669, ptr %6, align 4
  br label %674

670:                                              ; preds = %633
  %671 = landingpad { ptr, i32 }
          cleanup
  %672 = extractvalue { ptr, i32 } %671, 0
  store ptr %672, ptr %5, align 8
  %673 = extractvalue { ptr, i32 } %671, 1
  store i32 %673, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %632, i64 noundef 64) #10
  br label %674

674:                                              ; preds = %670, %666
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #8
  br label %1433

675:                                              ; preds = %638
  %676 = landingpad { ptr, i32 }
          catch ptr null
  %677 = extractvalue { ptr, i32 } %676, 0
  store ptr %677, ptr %5, align 8
  %678 = extractvalue { ptr, i32 } %676, 1
  store i32 %678, ptr %6, align 4
  br label %683

679:                                              ; preds = %642, %640
  %680 = landingpad { ptr, i32 }
          catch ptr null
  %681 = extractvalue { ptr, i32 } %680, 0
  store ptr %681, ptr %5, align 8
  %682 = extractvalue { ptr, i32 } %680, 1
  store i32 %682, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #8
  br label %683

683:                                              ; preds = %679, %675
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #8
  br label %692

684:                                              ; preds = %646
  %685 = landingpad { ptr, i32 }
          catch ptr null
  %686 = extractvalue { ptr, i32 } %685, 0
  store ptr %686, ptr %5, align 8
  %687 = extractvalue { ptr, i32 } %685, 1
  store i32 %687, ptr %6, align 4
  br label %692

688:                                              ; preds = %653, %651, %648
  %689 = landingpad { ptr, i32 }
          catch ptr null
  %690 = extractvalue { ptr, i32 } %689, 0
  store ptr %690, ptr %5, align 8
  %691 = extractvalue { ptr, i32 } %689, 1
  store i32 %691, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %50) #8
  br label %692

692:                                              ; preds = %688, %684, %683
  %693 = load ptr, ptr %5, align 8
  %694 = call ptr @__cxa_begin_catch(ptr %693) #8
  %695 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %696 unwind label %726

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

699:                                              ; preds = %696
  %700 = load ptr, ptr %698, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %51, ptr noundef nonnull align 8 dereferenceable(30) %700, i32 noundef 251)
          to label %701 unwind label %730

701:                                              ; preds = %699
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %697, ptr noundef nonnull align 8 dereferenceable(30) %51, ptr noundef @.str.101)
          to label %702 unwind label %730

702:                                              ; preds = %701
  call void @llvm.lifetime.end.p0(i64 32, ptr %51) #8
  invoke void @__cxa_end_catch()
          to label %703 unwind label %153

703:                                              ; preds = %702
  br label %704

704:                                              ; preds = %725, %703
  br label %705

705:                                              ; preds = %704
  br label %706

706:                                              ; preds = %705
  call void @llvm.lifetime.start.p0(i64 16, ptr %52) #8
  %707 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  %708 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %53) #8
  %709 = call noundef ptr @_ZNKSt19__shared_ptr_accessI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  invoke void @_ZNK23PrologQueryCompilerBaseIN6Prolog11HtnVariableEE6resultEv(ptr dead_on_unwind writable sret(%"class.std::vector.74") align 8 %53, ptr noundef nonnull align 8 dereferenceable(64) %709)
          to label %710 unwind label %736

710:                                              ; preds = %706
  invoke void @_ZN15HtnGoalResolver10ResolveAllEP14HtnTermFactoryP10HtnRuleSetRKSt6vectorISt10shared_ptrI7HtnTermESaIS7_EEiiPlPiPS9_(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.82") align 8 %52, ptr noundef nonnull align 8 dereferenceable(64) %3, ptr noundef %707, ptr noundef %708, ptr noundef nonnull align 8 dereferenceable(24) %53, i32 noundef 0, i32 noundef 1000000, ptr noundef null, ptr noundef null, ptr noundef null)
          to label %711 unwind label %740

711:                                              ; preds = %710
  %712 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %52) #8
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %52) #8
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %53) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %52) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %54) #8
  %713 = call noundef ptr @_ZNKSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  invoke void @_ZN15HtnGoalResolver8ToStringB5cxx11EPKSt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %54, ptr noundef %713, i1 noundef zeroext false)
          to label %714 unwind label %745

714:                                              ; preds = %711
  %715 = 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) %54) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %54) #8
  br label %716

716:                                              ; preds = %714
  %717 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %718 unwind label %749

718:                                              ; preds = %716
  %719 = load ptr, ptr %717, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %55) #8
  %720 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %721 unwind label %753

721:                                              ; preds = %718
  %722 = load ptr, ptr %720, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %55, ptr noundef nonnull align 8 dereferenceable(30) %722, i32 noundef 254)
          to label %723 unwind label %753

723:                                              ; preds = %721
  invoke void @_ZN8UnitTest10CheckEqualIA21_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %719, ptr noundef nonnull align 1 dereferenceable(21) @.str.115, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(30) %55)
          to label %724 unwind label %753

724:                                              ; preds = %723
  call void @llvm.lifetime.end.p0(i64 32, ptr %55) #8
  br label %769

725:                                              ; preds = %654, %644
  br label %704

726:                                              ; preds = %692
  %727 = landingpad { ptr, i32 }
          cleanup
  %728 = extractvalue { ptr, i32 } %727, 0
  store ptr %728, ptr %5, align 8
  %729 = extractvalue { ptr, i32 } %727, 1
  store i32 %729, ptr %6, align 4
  br label %734

730:                                              ; preds = %701, %699, %696
  %731 = landingpad { ptr, i32 }
          cleanup
  %732 = extractvalue { ptr, i32 } %731, 0
  store ptr %732, ptr %5, align 8
  %733 = extractvalue { ptr, i32 } %731, 1
  store i32 %733, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %51) #8
  br label %734

734:                                              ; preds = %730, %726
  invoke void @__cxa_end_catch()
          to label %735 unwind label %1441

735:                                              ; preds = %734
  br label %1433

736:                                              ; preds = %706
  %737 = landingpad { ptr, i32 }
          cleanup
  %738 = extractvalue { ptr, i32 } %737, 0
  store ptr %738, ptr %5, align 8
  %739 = extractvalue { ptr, i32 } %737, 1
  store i32 %739, ptr %6, align 4
  br label %744

740:                                              ; preds = %710
  %741 = landingpad { ptr, i32 }
          cleanup
  %742 = extractvalue { ptr, i32 } %741, 0
  store ptr %742, ptr %5, align 8
  %743 = extractvalue { ptr, i32 } %741, 1
  store i32 %743, ptr %6, align 4
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  br label %744

744:                                              ; preds = %740, %736
  call void @llvm.lifetime.end.p0(i64 24, ptr %53) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %52) #8
  br label %1433

745:                                              ; preds = %711
  %746 = landingpad { ptr, i32 }
          cleanup
  %747 = extractvalue { ptr, i32 } %746, 0
  store ptr %747, ptr %5, align 8
  %748 = extractvalue { ptr, i32 } %746, 1
  store i32 %748, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %54) #8
  br label %1433

749:                                              ; preds = %716
  %750 = landingpad { ptr, i32 }
          catch ptr null
  %751 = extractvalue { ptr, i32 } %750, 0
  store ptr %751, ptr %5, align 8
  %752 = extractvalue { ptr, i32 } %750, 1
  store i32 %752, ptr %6, align 4
  br label %757

753:                                              ; preds = %723, %721, %718
  %754 = landingpad { ptr, i32 }
          catch ptr null
  %755 = extractvalue { ptr, i32 } %754, 0
  store ptr %755, ptr %5, align 8
  %756 = extractvalue { ptr, i32 } %754, 1
  store i32 %756, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %55) #8
  br label %757

757:                                              ; preds = %753, %749
  %758 = load ptr, ptr %5, align 8
  %759 = call ptr @__cxa_begin_catch(ptr %758) #8
  %760 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %761 unwind label %798

761:                                              ; preds = %757
  %762 = load ptr, ptr %760, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %56) #8
  %763 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %764 unwind label %802

764:                                              ; preds = %761
  %765 = load ptr, ptr %763, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %56, ptr noundef nonnull align 8 dereferenceable(30) %765, i32 noundef 254)
          to label %766 unwind label %802

766:                                              ; preds = %764
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %762, ptr noundef nonnull align 8 dereferenceable(30) %56, ptr noundef @.str.116)
          to label %767 unwind label %802

767:                                              ; preds = %766
  call void @llvm.lifetime.end.p0(i64 32, ptr %56) #8
  invoke void @__cxa_end_catch()
          to label %768 unwind label %153

768:                                              ; preds = %767
  br label %769

769:                                              ; preds = %768, %724
  br label %770

770:                                              ; preds = %769
  br label %771

771:                                              ; preds = %770
  %772 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  invoke void @_ZN10HtnRuleSet8ClearAllEv(ptr noundef nonnull align 8 dereferenceable(144) %772)
          to label %773 unwind label %153

773:                                              ; preds = %771
  call void @llvm.lifetime.start.p0(i64 16, ptr %57) #8
  %774 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 88) #9
          to label %775 unwind label %808

775:                                              ; preds = %773
  %776 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  %777 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactoryP10HtnRuleSet(ptr noundef nonnull align 8 dereferenceable(88) %774, ptr noundef %776, ptr noundef %777)
          to label %778 unwind label %812

778:                                              ; preds = %775
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %57, ptr noundef %774)
          to label %779 unwind label %808

779:                                              ; preds = %778
  %780 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %57) #8
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %57) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %57) #8
  br label %781

781:                                              ; preds = %779
  %782 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %59) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %58, ptr noundef @.str.117, ptr noundef nonnull align 1 dereferenceable(1) %59)
          to label %783 unwind label %817

783:                                              ; preds = %781
  %784 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %782, ptr noundef %58)
          to label %785 unwind label %821

785:                                              ; preds = %783
  %786 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %784)
          to label %787 unwind label %821

787:                                              ; preds = %785
  %788 = xor i1 %786, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %59) #8
  br i1 %788, label %789, label %872

789:                                              ; preds = %787
  %790 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %791 unwind label %826

791:                                              ; preds = %789
  %792 = load ptr, ptr %790, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %60) #8
  %793 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %794 unwind label %830

794:                                              ; preds = %791
  %795 = load ptr, ptr %793, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %60, ptr noundef nonnull align 8 dereferenceable(30) %795, i32 noundef 259)
          to label %796 unwind label %830

796:                                              ; preds = %794
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %792, ptr noundef nonnull align 8 dereferenceable(30) %60, ptr noundef @.str.118)
          to label %797 unwind label %830

797:                                              ; preds = %796
  call void @llvm.lifetime.end.p0(i64 32, ptr %60) #8
  br label %872

798:                                              ; preds = %757
  %799 = landingpad { ptr, i32 }
          cleanup
  %800 = extractvalue { ptr, i32 } %799, 0
  store ptr %800, ptr %5, align 8
  %801 = extractvalue { ptr, i32 } %799, 1
  store i32 %801, ptr %6, align 4
  br label %806

802:                                              ; preds = %766, %764, %761
  %803 = landingpad { ptr, i32 }
          cleanup
  %804 = extractvalue { ptr, i32 } %803, 0
  store ptr %804, ptr %5, align 8
  %805 = extractvalue { ptr, i32 } %803, 1
  store i32 %805, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %56) #8
  br label %806

806:                                              ; preds = %802, %798
  invoke void @__cxa_end_catch()
          to label %807 unwind label %1441

807:                                              ; preds = %806
  br label %1433

808:                                              ; preds = %778, %773
  %809 = landingpad { ptr, i32 }
          cleanup
  %810 = extractvalue { ptr, i32 } %809, 0
  store ptr %810, ptr %5, align 8
  %811 = extractvalue { ptr, i32 } %809, 1
  store i32 %811, ptr %6, align 4
  br label %816

812:                                              ; preds = %775
  %813 = landingpad { ptr, i32 }
          cleanup
  %814 = extractvalue { ptr, i32 } %813, 0
  store ptr %814, ptr %5, align 8
  %815 = extractvalue { ptr, i32 } %813, 1
  store i32 %815, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %774, i64 noundef 88) #10
  br label %816

816:                                              ; preds = %812, %808
  call void @llvm.lifetime.end.p0(i64 16, ptr %57) #8
  br label %1433

817:                                              ; preds = %781
  %818 = landingpad { ptr, i32 }
          catch ptr null
  %819 = extractvalue { ptr, i32 } %818, 0
  store ptr %819, ptr %5, align 8
  %820 = extractvalue { ptr, i32 } %818, 1
  store i32 %820, ptr %6, align 4
  br label %825

821:                                              ; preds = %785, %783
  %822 = landingpad { ptr, i32 }
          catch ptr null
  %823 = extractvalue { ptr, i32 } %822, 0
  store ptr %823, ptr %5, align 8
  %824 = extractvalue { ptr, i32 } %822, 1
  store i32 %824, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #8
  br label %825

825:                                              ; preds = %821, %817
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %59) #8
  br label %834

826:                                              ; preds = %789
  %827 = landingpad { ptr, i32 }
          catch ptr null
  %828 = extractvalue { ptr, i32 } %827, 0
  store ptr %828, ptr %5, align 8
  %829 = extractvalue { ptr, i32 } %827, 1
  store i32 %829, ptr %6, align 4
  br label %834

830:                                              ; preds = %796, %794, %791
  %831 = landingpad { ptr, i32 }
          catch ptr null
  %832 = extractvalue { ptr, i32 } %831, 0
  store ptr %832, ptr %5, align 8
  %833 = extractvalue { ptr, i32 } %831, 1
  store i32 %833, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %60) #8
  br label %834

834:                                              ; preds = %830, %826, %825
  %835 = load ptr, ptr %5, align 8
  %836 = call ptr @__cxa_begin_catch(ptr %835) #8
  %837 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %838 unwind label %873

838:                                              ; preds = %834
  %839 = load ptr, ptr %837, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %61) #8
  %840 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %841 unwind label %877

841:                                              ; preds = %838
  %842 = load ptr, ptr %840, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %61, ptr noundef nonnull align 8 dereferenceable(30) %842, i32 noundef 259)
          to label %843 unwind label %877

843:                                              ; preds = %841
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %839, ptr noundef nonnull align 8 dereferenceable(30) %61, ptr noundef @.str.119)
          to label %844 unwind label %877

844:                                              ; preds = %843
  call void @llvm.lifetime.end.p0(i64 32, ptr %61) #8
  invoke void @__cxa_end_catch()
          to label %845 unwind label %153

845:                                              ; preds = %844
  br label %846

846:                                              ; preds = %872, %845
  br label %847

847:                                              ; preds = %846
  br label %848

848:                                              ; preds = %847
  call void @llvm.lifetime.start.p0(i64 16, ptr %62) #8
  %849 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 64) #9
          to label %850 unwind label %883

850:                                              ; preds = %848
  %851 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  invoke void @_ZN23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactory(ptr noundef nonnull align 8 dereferenceable(64) %849, ptr noundef %851)
          to label %852 unwind label %887

852:                                              ; preds = %850
  invoke void @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %62, ptr noundef %849)
          to label %853 unwind label %883

853:                                              ; preds = %852
  %854 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %62) #8
  call void @_ZNSt12__shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %62) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %62) #8
  br label %855

855:                                              ; preds = %853
  %856 = call noundef ptr @_ZNKSt19__shared_ptr_accessI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %64) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %63, ptr noundef @.str.99, ptr noundef nonnull align 1 dereferenceable(1) %64)
          to label %857 unwind label %892

857:                                              ; preds = %855
  %858 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog11PrologQueryINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %856, ptr noundef %63)
          to label %859 unwind label %896

859:                                              ; preds = %857
  %860 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %858)
          to label %861 unwind label %896

861:                                              ; preds = %859
  %862 = xor i1 %860, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %64) #8
  br i1 %862, label %863, label %942

863:                                              ; preds = %861
  %864 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %865 unwind label %901

865:                                              ; preds = %863
  %866 = load ptr, ptr %864, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %65) #8
  %867 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %868 unwind label %905

868:                                              ; preds = %865
  %869 = load ptr, ptr %867, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %65, ptr noundef nonnull align 8 dereferenceable(30) %869, i32 noundef 261)
          to label %870 unwind label %905

870:                                              ; preds = %868
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %866, ptr noundef nonnull align 8 dereferenceable(30) %65, ptr noundef @.str.100)
          to label %871 unwind label %905

871:                                              ; preds = %870
  call void @llvm.lifetime.end.p0(i64 32, ptr %65) #8
  br label %942

872:                                              ; preds = %797, %787
  br label %846

873:                                              ; preds = %834
  %874 = landingpad { ptr, i32 }
          cleanup
  %875 = extractvalue { ptr, i32 } %874, 0
  store ptr %875, ptr %5, align 8
  %876 = extractvalue { ptr, i32 } %874, 1
  store i32 %876, ptr %6, align 4
  br label %881

877:                                              ; preds = %843, %841, %838
  %878 = landingpad { ptr, i32 }
          cleanup
  %879 = extractvalue { ptr, i32 } %878, 0
  store ptr %879, ptr %5, align 8
  %880 = extractvalue { ptr, i32 } %878, 1
  store i32 %880, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %61) #8
  br label %881

881:                                              ; preds = %877, %873
  invoke void @__cxa_end_catch()
          to label %882 unwind label %1441

882:                                              ; preds = %881
  br label %1433

883:                                              ; preds = %852, %848
  %884 = landingpad { ptr, i32 }
          cleanup
  %885 = extractvalue { ptr, i32 } %884, 0
  store ptr %885, ptr %5, align 8
  %886 = extractvalue { ptr, i32 } %884, 1
  store i32 %886, ptr %6, align 4
  br label %891

887:                                              ; preds = %850
  %888 = landingpad { ptr, i32 }
          cleanup
  %889 = extractvalue { ptr, i32 } %888, 0
  store ptr %889, ptr %5, align 8
  %890 = extractvalue { ptr, i32 } %888, 1
  store i32 %890, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %849, i64 noundef 64) #10
  br label %891

891:                                              ; preds = %887, %883
  call void @llvm.lifetime.end.p0(i64 16, ptr %62) #8
  br label %1433

892:                                              ; preds = %855
  %893 = landingpad { ptr, i32 }
          catch ptr null
  %894 = extractvalue { ptr, i32 } %893, 0
  store ptr %894, ptr %5, align 8
  %895 = extractvalue { ptr, i32 } %893, 1
  store i32 %895, ptr %6, align 4
  br label %900

896:                                              ; preds = %859, %857
  %897 = landingpad { ptr, i32 }
          catch ptr null
  %898 = extractvalue { ptr, i32 } %897, 0
  store ptr %898, ptr %5, align 8
  %899 = extractvalue { ptr, i32 } %897, 1
  store i32 %899, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #8
  br label %900

900:                                              ; preds = %896, %892
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %64) #8
  br label %909

901:                                              ; preds = %863
  %902 = landingpad { ptr, i32 }
          catch ptr null
  %903 = extractvalue { ptr, i32 } %902, 0
  store ptr %903, ptr %5, align 8
  %904 = extractvalue { ptr, i32 } %902, 1
  store i32 %904, ptr %6, align 4
  br label %909

905:                                              ; preds = %870, %868, %865
  %906 = landingpad { ptr, i32 }
          catch ptr null
  %907 = extractvalue { ptr, i32 } %906, 0
  store ptr %907, ptr %5, align 8
  %908 = extractvalue { ptr, i32 } %906, 1
  store i32 %908, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %65) #8
  br label %909

909:                                              ; preds = %905, %901, %900
  %910 = load ptr, ptr %5, align 8
  %911 = call ptr @__cxa_begin_catch(ptr %910) #8
  %912 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %913 unwind label %943

913:                                              ; preds = %909
  %914 = load ptr, ptr %912, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %66) #8
  %915 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %916 unwind label %947

916:                                              ; preds = %913
  %917 = load ptr, ptr %915, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %66, ptr noundef nonnull align 8 dereferenceable(30) %917, i32 noundef 261)
          to label %918 unwind label %947

918:                                              ; preds = %916
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %914, ptr noundef nonnull align 8 dereferenceable(30) %66, ptr noundef @.str.101)
          to label %919 unwind label %947

919:                                              ; preds = %918
  call void @llvm.lifetime.end.p0(i64 32, ptr %66) #8
  invoke void @__cxa_end_catch()
          to label %920 unwind label %153

920:                                              ; preds = %919
  br label %921

921:                                              ; preds = %942, %920
  br label %922

922:                                              ; preds = %921
  br label %923

923:                                              ; preds = %922
  call void @llvm.lifetime.start.p0(i64 16, ptr %67) #8
  %924 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  %925 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %68) #8
  %926 = call noundef ptr @_ZNKSt19__shared_ptr_accessI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  invoke void @_ZNK23PrologQueryCompilerBaseIN6Prolog11HtnVariableEE6resultEv(ptr dead_on_unwind writable sret(%"class.std::vector.74") align 8 %68, ptr noundef nonnull align 8 dereferenceable(64) %926)
          to label %927 unwind label %953

927:                                              ; preds = %923
  invoke void @_ZN15HtnGoalResolver10ResolveAllEP14HtnTermFactoryP10HtnRuleSetRKSt6vectorISt10shared_ptrI7HtnTermESaIS7_EEiiPlPiPS9_(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.82") align 8 %67, ptr noundef nonnull align 8 dereferenceable(64) %3, ptr noundef %924, ptr noundef %925, ptr noundef nonnull align 8 dereferenceable(24) %68, i32 noundef 0, i32 noundef 1000000, ptr noundef null, ptr noundef null, ptr noundef null)
          to label %928 unwind label %957

928:                                              ; preds = %927
  %929 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %67) #8
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %67) #8
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %68) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %68) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %67) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %69) #8
  %930 = call noundef ptr @_ZNKSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  invoke void @_ZN15HtnGoalResolver8ToStringB5cxx11EPKSt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %69, ptr noundef %930, i1 noundef zeroext false)
          to label %931 unwind label %962

931:                                              ; preds = %928
  %932 = 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) %69) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %69) #8
  br label %933

933:                                              ; preds = %931
  %934 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %935 unwind label %966

935:                                              ; preds = %933
  %936 = load ptr, ptr %934, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %70) #8
  %937 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %938 unwind label %970

938:                                              ; preds = %935
  %939 = load ptr, ptr %937, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %70, ptr noundef nonnull align 8 dereferenceable(30) %939, i32 noundef 264)
          to label %940 unwind label %970

940:                                              ; preds = %938
  invoke void @_ZN8UnitTest10CheckEqualIA23_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %936, ptr noundef nonnull align 1 dereferenceable(23) @.str.120, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(30) %70)
          to label %941 unwind label %970

941:                                              ; preds = %940
  call void @llvm.lifetime.end.p0(i64 32, ptr %70) #8
  br label %986

942:                                              ; preds = %871, %861
  br label %921

943:                                              ; preds = %909
  %944 = landingpad { ptr, i32 }
          cleanup
  %945 = extractvalue { ptr, i32 } %944, 0
  store ptr %945, ptr %5, align 8
  %946 = extractvalue { ptr, i32 } %944, 1
  store i32 %946, ptr %6, align 4
  br label %951

947:                                              ; preds = %918, %916, %913
  %948 = landingpad { ptr, i32 }
          cleanup
  %949 = extractvalue { ptr, i32 } %948, 0
  store ptr %949, ptr %5, align 8
  %950 = extractvalue { ptr, i32 } %948, 1
  store i32 %950, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %66) #8
  br label %951

951:                                              ; preds = %947, %943
  invoke void @__cxa_end_catch()
          to label %952 unwind label %1441

952:                                              ; preds = %951
  br label %1433

953:                                              ; preds = %923
  %954 = landingpad { ptr, i32 }
          cleanup
  %955 = extractvalue { ptr, i32 } %954, 0
  store ptr %955, ptr %5, align 8
  %956 = extractvalue { ptr, i32 } %954, 1
  store i32 %956, ptr %6, align 4
  br label %961

957:                                              ; preds = %927
  %958 = landingpad { ptr, i32 }
          cleanup
  %959 = extractvalue { ptr, i32 } %958, 0
  store ptr %959, ptr %5, align 8
  %960 = extractvalue { ptr, i32 } %958, 1
  store i32 %960, ptr %6, align 4
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %68) #8
  br label %961

961:                                              ; preds = %957, %953
  call void @llvm.lifetime.end.p0(i64 24, ptr %68) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %67) #8
  br label %1433

962:                                              ; preds = %928
  %963 = landingpad { ptr, i32 }
          cleanup
  %964 = extractvalue { ptr, i32 } %963, 0
  store ptr %964, ptr %5, align 8
  %965 = extractvalue { ptr, i32 } %963, 1
  store i32 %965, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %69) #8
  br label %1433

966:                                              ; preds = %933
  %967 = landingpad { ptr, i32 }
          catch ptr null
  %968 = extractvalue { ptr, i32 } %967, 0
  store ptr %968, ptr %5, align 8
  %969 = extractvalue { ptr, i32 } %967, 1
  store i32 %969, ptr %6, align 4
  br label %974

970:                                              ; preds = %940, %938, %935
  %971 = landingpad { ptr, i32 }
          catch ptr null
  %972 = extractvalue { ptr, i32 } %971, 0
  store ptr %972, ptr %5, align 8
  %973 = extractvalue { ptr, i32 } %971, 1
  store i32 %973, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %70) #8
  br label %974

974:                                              ; preds = %970, %966
  %975 = load ptr, ptr %5, align 8
  %976 = call ptr @__cxa_begin_catch(ptr %975) #8
  %977 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %978 unwind label %1015

978:                                              ; preds = %974
  %979 = load ptr, ptr %977, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %71) #8
  %980 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %981 unwind label %1019

981:                                              ; preds = %978
  %982 = load ptr, ptr %980, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %71, ptr noundef nonnull align 8 dereferenceable(30) %982, i32 noundef 264)
          to label %983 unwind label %1019

983:                                              ; preds = %981
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %979, ptr noundef nonnull align 8 dereferenceable(30) %71, ptr noundef @.str.121)
          to label %984 unwind label %1019

984:                                              ; preds = %983
  call void @llvm.lifetime.end.p0(i64 32, ptr %71) #8
  invoke void @__cxa_end_catch()
          to label %985 unwind label %153

985:                                              ; preds = %984
  br label %986

986:                                              ; preds = %985, %941
  br label %987

987:                                              ; preds = %986
  br label %988

988:                                              ; preds = %987
  %989 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  invoke void @_ZN10HtnRuleSet8ClearAllEv(ptr noundef nonnull align 8 dereferenceable(144) %989)
          to label %990 unwind label %153

990:                                              ; preds = %988
  call void @llvm.lifetime.start.p0(i64 16, ptr %72) #8
  %991 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 88) #9
          to label %992 unwind label %1025

992:                                              ; preds = %990
  %993 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  %994 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactoryP10HtnRuleSet(ptr noundef nonnull align 8 dereferenceable(88) %991, ptr noundef %993, ptr noundef %994)
          to label %995 unwind label %1029

995:                                              ; preds = %992
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %991)
          to label %996 unwind label %1025

996:                                              ; preds = %995
  %997 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %72) #8
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %72) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %72) #8
  br label %998

998:                                              ; preds = %996
  %999 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %74) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %74) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %73, ptr noundef @.str.122, ptr noundef nonnull align 1 dereferenceable(1) %74)
          to label %1000 unwind label %1034

1000:                                             ; preds = %998
  %1001 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %999, ptr noundef %73)
          to label %1002 unwind label %1038

1002:                                             ; preds = %1000
  %1003 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %1001)
          to label %1004 unwind label %1038

1004:                                             ; preds = %1002
  %1005 = xor i1 %1003, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %74) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %74) #8
  br i1 %1005, label %1006, label %1089

1006:                                             ; preds = %1004
  %1007 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1008 unwind label %1043

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

1011:                                             ; preds = %1008
  %1012 = load ptr, ptr %1010, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %75, ptr noundef nonnull align 8 dereferenceable(30) %1012, i32 noundef 270)
          to label %1013 unwind label %1047

1013:                                             ; preds = %1011
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1009, ptr noundef nonnull align 8 dereferenceable(30) %75, ptr noundef @.str.123)
          to label %1014 unwind label %1047

1014:                                             ; preds = %1013
  call void @llvm.lifetime.end.p0(i64 32, ptr %75) #8
  br label %1089

1015:                                             ; preds = %974
  %1016 = landingpad { ptr, i32 }
          cleanup
  %1017 = extractvalue { ptr, i32 } %1016, 0
  store ptr %1017, ptr %5, align 8
  %1018 = extractvalue { ptr, i32 } %1016, 1
  store i32 %1018, ptr %6, align 4
  br label %1023

1019:                                             ; preds = %983, %981, %978
  %1020 = landingpad { ptr, i32 }
          cleanup
  %1021 = extractvalue { ptr, i32 } %1020, 0
  store ptr %1021, ptr %5, align 8
  %1022 = extractvalue { ptr, i32 } %1020, 1
  store i32 %1022, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %71) #8
  br label %1023

1023:                                             ; preds = %1019, %1015
  invoke void @__cxa_end_catch()
          to label %1024 unwind label %1441

1024:                                             ; preds = %1023
  br label %1433

1025:                                             ; preds = %995, %990
  %1026 = landingpad { ptr, i32 }
          cleanup
  %1027 = extractvalue { ptr, i32 } %1026, 0
  store ptr %1027, ptr %5, align 8
  %1028 = extractvalue { ptr, i32 } %1026, 1
  store i32 %1028, ptr %6, align 4
  br label %1033

1029:                                             ; preds = %992
  %1030 = landingpad { ptr, i32 }
          cleanup
  %1031 = extractvalue { ptr, i32 } %1030, 0
  store ptr %1031, ptr %5, align 8
  %1032 = extractvalue { ptr, i32 } %1030, 1
  store i32 %1032, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %991, i64 noundef 88) #10
  br label %1033

1033:                                             ; preds = %1029, %1025
  call void @llvm.lifetime.end.p0(i64 16, ptr %72) #8
  br label %1433

1034:                                             ; preds = %998
  %1035 = landingpad { ptr, i32 }
          catch ptr null
  %1036 = extractvalue { ptr, i32 } %1035, 0
  store ptr %1036, ptr %5, align 8
  %1037 = extractvalue { ptr, i32 } %1035, 1
  store i32 %1037, ptr %6, align 4
  br label %1042

1038:                                             ; preds = %1002, %1000
  %1039 = landingpad { ptr, i32 }
          catch ptr null
  %1040 = extractvalue { ptr, i32 } %1039, 0
  store ptr %1040, ptr %5, align 8
  %1041 = extractvalue { ptr, i32 } %1039, 1
  store i32 %1041, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #8
  br label %1042

1042:                                             ; preds = %1038, %1034
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %74) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %74) #8
  br label %1051

1043:                                             ; preds = %1006
  %1044 = landingpad { ptr, i32 }
          catch ptr null
  %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 = %1013, %1011, %1008
  %1048 = landingpad { ptr, i32 }
          catch ptr null
  %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 %75) #8
  br label %1051

1051:                                             ; preds = %1047, %1043, %1042
  %1052 = load ptr, ptr %5, align 8
  %1053 = call ptr @__cxa_begin_catch(ptr %1052) #8
  %1054 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1055 unwind label %1090

1055:                                             ; preds = %1051
  %1056 = load ptr, ptr %1054, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %76) #8
  %1057 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1058 unwind label %1094

1058:                                             ; preds = %1055
  %1059 = load ptr, ptr %1057, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %76, ptr noundef nonnull align 8 dereferenceable(30) %1059, i32 noundef 270)
          to label %1060 unwind label %1094

1060:                                             ; preds = %1058
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1056, ptr noundef nonnull align 8 dereferenceable(30) %76, ptr noundef @.str.124)
          to label %1061 unwind label %1094

1061:                                             ; preds = %1060
  call void @llvm.lifetime.end.p0(i64 32, ptr %76) #8
  invoke void @__cxa_end_catch()
          to label %1062 unwind label %153

1062:                                             ; preds = %1061
  br label %1063

1063:                                             ; preds = %1089, %1062
  br label %1064

1064:                                             ; preds = %1063
  br label %1065

1065:                                             ; preds = %1064
  call void @llvm.lifetime.start.p0(i64 16, ptr %77) #8
  %1066 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 64) #9
          to label %1067 unwind label %1100

1067:                                             ; preds = %1065
  %1068 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  invoke void @_ZN23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactory(ptr noundef nonnull align 8 dereferenceable(64) %1066, ptr noundef %1068)
          to label %1069 unwind label %1104

1069:                                             ; preds = %1067
  invoke void @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %77, ptr noundef %1066)
          to label %1070 unwind label %1100

1070:                                             ; preds = %1069
  %1071 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %77) #8
  call void @_ZNSt12__shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %77) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %77) #8
  br label %1072

1072:                                             ; preds = %1070
  %1073 = call noundef ptr @_ZNKSt19__shared_ptr_accessI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %79) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %79) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %78, ptr noundef @.str.99, ptr noundef nonnull align 1 dereferenceable(1) %79)
          to label %1074 unwind label %1109

1074:                                             ; preds = %1072
  %1075 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog11PrologQueryINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %1073, ptr noundef %78)
          to label %1076 unwind label %1113

1076:                                             ; preds = %1074
  %1077 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %1075)
          to label %1078 unwind label %1113

1078:                                             ; preds = %1076
  %1079 = xor i1 %1077, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %78) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %79) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %79) #8
  br i1 %1079, label %1080, label %1159

1080:                                             ; preds = %1078
  %1081 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1082 unwind label %1118

1082:                                             ; preds = %1080
  %1083 = load ptr, ptr %1081, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %80) #8
  %1084 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1085 unwind label %1122

1085:                                             ; preds = %1082
  %1086 = load ptr, ptr %1084, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %80, ptr noundef nonnull align 8 dereferenceable(30) %1086, i32 noundef 272)
          to label %1087 unwind label %1122

1087:                                             ; preds = %1085
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1083, ptr noundef nonnull align 8 dereferenceable(30) %80, ptr noundef @.str.100)
          to label %1088 unwind label %1122

1088:                                             ; preds = %1087
  call void @llvm.lifetime.end.p0(i64 32, ptr %80) #8
  br label %1159

1089:                                             ; preds = %1014, %1004
  br label %1063

1090:                                             ; preds = %1051
  %1091 = landingpad { ptr, i32 }
          cleanup
  %1092 = extractvalue { ptr, i32 } %1091, 0
  store ptr %1092, ptr %5, align 8
  %1093 = extractvalue { ptr, i32 } %1091, 1
  store i32 %1093, ptr %6, align 4
  br label %1098

1094:                                             ; preds = %1060, %1058, %1055
  %1095 = landingpad { ptr, i32 }
          cleanup
  %1096 = extractvalue { ptr, i32 } %1095, 0
  store ptr %1096, ptr %5, align 8
  %1097 = extractvalue { ptr, i32 } %1095, 1
  store i32 %1097, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %76) #8
  br label %1098

1098:                                             ; preds = %1094, %1090
  invoke void @__cxa_end_catch()
          to label %1099 unwind label %1441

1099:                                             ; preds = %1098
  br label %1433

1100:                                             ; preds = %1069, %1065
  %1101 = landingpad { ptr, i32 }
          cleanup
  %1102 = extractvalue { ptr, i32 } %1101, 0
  store ptr %1102, ptr %5, align 8
  %1103 = extractvalue { ptr, i32 } %1101, 1
  store i32 %1103, ptr %6, align 4
  br label %1108

1104:                                             ; preds = %1067
  %1105 = landingpad { ptr, i32 }
          cleanup
  %1106 = extractvalue { ptr, i32 } %1105, 0
  store ptr %1106, ptr %5, align 8
  %1107 = extractvalue { ptr, i32 } %1105, 1
  store i32 %1107, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %1066, i64 noundef 64) #10
  br label %1108

1108:                                             ; preds = %1104, %1100
  call void @llvm.lifetime.end.p0(i64 16, ptr %77) #8
  br label %1433

1109:                                             ; preds = %1072
  %1110 = landingpad { ptr, i32 }
          catch ptr null
  %1111 = extractvalue { ptr, i32 } %1110, 0
  store ptr %1111, ptr %5, align 8
  %1112 = extractvalue { ptr, i32 } %1110, 1
  store i32 %1112, ptr %6, align 4
  br label %1117

1113:                                             ; preds = %1076, %1074
  %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
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %78) #8
  br label %1117

1117:                                             ; preds = %1113, %1109
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %79) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %79) #8
  br label %1126

1118:                                             ; preds = %1080
  %1119 = landingpad { ptr, i32 }
          catch ptr null
  %1120 = extractvalue { ptr, i32 } %1119, 0
  store ptr %1120, ptr %5, align 8
  %1121 = extractvalue { ptr, i32 } %1119, 1
  store i32 %1121, ptr %6, align 4
  br label %1126

1122:                                             ; preds = %1087, %1085, %1082
  %1123 = landingpad { ptr, i32 }
          catch ptr null
  %1124 = extractvalue { ptr, i32 } %1123, 0
  store ptr %1124, ptr %5, align 8
  %1125 = extractvalue { ptr, i32 } %1123, 1
  store i32 %1125, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %80) #8
  br label %1126

1126:                                             ; preds = %1122, %1118, %1117
  %1127 = load ptr, ptr %5, align 8
  %1128 = call ptr @__cxa_begin_catch(ptr %1127) #8
  %1129 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1130 unwind label %1160

1130:                                             ; preds = %1126
  %1131 = load ptr, ptr %1129, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %81) #8
  %1132 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1133 unwind label %1164

1133:                                             ; preds = %1130
  %1134 = load ptr, ptr %1132, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %81, ptr noundef nonnull align 8 dereferenceable(30) %1134, i32 noundef 272)
          to label %1135 unwind label %1164

1135:                                             ; preds = %1133
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1131, ptr noundef nonnull align 8 dereferenceable(30) %81, ptr noundef @.str.101)
          to label %1136 unwind label %1164

1136:                                             ; preds = %1135
  call void @llvm.lifetime.end.p0(i64 32, ptr %81) #8
  invoke void @__cxa_end_catch()
          to label %1137 unwind label %153

1137:                                             ; preds = %1136
  br label %1138

1138:                                             ; preds = %1159, %1137
  br label %1139

1139:                                             ; preds = %1138
  br label %1140

1140:                                             ; preds = %1139
  call void @llvm.lifetime.start.p0(i64 16, ptr %82) #8
  %1141 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  %1142 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %83) #8
  %1143 = call noundef ptr @_ZNKSt19__shared_ptr_accessI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  invoke void @_ZNK23PrologQueryCompilerBaseIN6Prolog11HtnVariableEE6resultEv(ptr dead_on_unwind writable sret(%"class.std::vector.74") align 8 %83, ptr noundef nonnull align 8 dereferenceable(64) %1143)
          to label %1144 unwind label %1170

1144:                                             ; preds = %1140
  invoke void @_ZN15HtnGoalResolver10ResolveAllEP14HtnTermFactoryP10HtnRuleSetRKSt6vectorISt10shared_ptrI7HtnTermESaIS7_EEiiPlPiPS9_(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.82") align 8 %82, ptr noundef nonnull align 8 dereferenceable(64) %3, ptr noundef %1141, ptr noundef %1142, ptr noundef nonnull align 8 dereferenceable(24) %83, i32 noundef 0, i32 noundef 1000000, ptr noundef null, ptr noundef null, ptr noundef null)
          to label %1145 unwind label %1174

1145:                                             ; preds = %1144
  %1146 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %82) #8
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %82) #8
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %83) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %83) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %82) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %84) #8
  %1147 = call noundef ptr @_ZNKSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  invoke void @_ZN15HtnGoalResolver8ToStringB5cxx11EPKSt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %84, ptr noundef %1147, i1 noundef zeroext false)
          to label %1148 unwind label %1179

1148:                                             ; preds = %1145
  %1149 = 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) %84) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %84) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %84) #8
  br label %1150

1150:                                             ; preds = %1148
  %1151 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1152 unwind label %1183

1152:                                             ; preds = %1150
  %1153 = load ptr, ptr %1151, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %85) #8
  %1154 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1155 unwind label %1187

1155:                                             ; preds = %1152
  %1156 = load ptr, ptr %1154, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %85, ptr noundef nonnull align 8 dereferenceable(30) %1156, i32 noundef 275)
          to label %1157 unwind label %1187

1157:                                             ; preds = %1155
  invoke void @_ZN8UnitTest10CheckEqualIA19_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %1153, ptr noundef nonnull align 1 dereferenceable(19) @.str.125, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(30) %85)
          to label %1158 unwind label %1187

1158:                                             ; preds = %1157
  call void @llvm.lifetime.end.p0(i64 32, ptr %85) #8
  br label %1203

1159:                                             ; preds = %1088, %1078
  br label %1138

1160:                                             ; preds = %1126
  %1161 = landingpad { ptr, i32 }
          cleanup
  %1162 = extractvalue { ptr, i32 } %1161, 0
  store ptr %1162, ptr %5, align 8
  %1163 = extractvalue { ptr, i32 } %1161, 1
  store i32 %1163, ptr %6, align 4
  br label %1168

1164:                                             ; preds = %1135, %1133, %1130
  %1165 = landingpad { ptr, i32 }
          cleanup
  %1166 = extractvalue { ptr, i32 } %1165, 0
  store ptr %1166, ptr %5, align 8
  %1167 = extractvalue { ptr, i32 } %1165, 1
  store i32 %1167, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %81) #8
  br label %1168

1168:                                             ; preds = %1164, %1160
  invoke void @__cxa_end_catch()
          to label %1169 unwind label %1441

1169:                                             ; preds = %1168
  br label %1433

1170:                                             ; preds = %1140
  %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
  %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 @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %83) #8
  br label %1178

1178:                                             ; preds = %1174, %1170
  call void @llvm.lifetime.end.p0(i64 24, ptr %83) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %82) #8
  br label %1433

1179:                                             ; preds = %1145
  %1180 = landingpad { ptr, i32 }
          cleanup
  %1181 = extractvalue { ptr, i32 } %1180, 0
  store ptr %1181, ptr %5, align 8
  %1182 = extractvalue { ptr, i32 } %1180, 1
  store i32 %1182, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %84) #8
  br label %1433

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

1187:                                             ; preds = %1157, %1155, %1152
  %1188 = landingpad { ptr, i32 }
          catch ptr null
  %1189 = extractvalue { ptr, i32 } %1188, 0
  store ptr %1189, ptr %5, align 8
  %1190 = extractvalue { ptr, i32 } %1188, 1
  store i32 %1190, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %85) #8
  br label %1191

1191:                                             ; preds = %1187, %1183
  %1192 = load ptr, ptr %5, align 8
  %1193 = call ptr @__cxa_begin_catch(ptr %1192) #8
  %1194 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1195 unwind label %1232

1195:                                             ; preds = %1191
  %1196 = load ptr, ptr %1194, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %86) #8
  %1197 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1198 unwind label %1236

1198:                                             ; preds = %1195
  %1199 = load ptr, ptr %1197, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %86, ptr noundef nonnull align 8 dereferenceable(30) %1199, i32 noundef 275)
          to label %1200 unwind label %1236

1200:                                             ; preds = %1198
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1196, ptr noundef nonnull align 8 dereferenceable(30) %86, ptr noundef @.str.126)
          to label %1201 unwind label %1236

1201:                                             ; preds = %1200
  call void @llvm.lifetime.end.p0(i64 32, ptr %86) #8
  invoke void @__cxa_end_catch()
          to label %1202 unwind label %153

1202:                                             ; preds = %1201
  br label %1203

1203:                                             ; preds = %1202, %1158
  br label %1204

1204:                                             ; preds = %1203
  br label %1205

1205:                                             ; preds = %1204
  %1206 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  invoke void @_ZN10HtnRuleSet8ClearAllEv(ptr noundef nonnull align 8 dereferenceable(144) %1206)
          to label %1207 unwind label %153

1207:                                             ; preds = %1205
  call void @llvm.lifetime.start.p0(i64 16, ptr %87) #8
  %1208 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 88) #9
          to label %1209 unwind label %1242

1209:                                             ; preds = %1207
  %1210 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  %1211 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactoryP10HtnRuleSet(ptr noundef nonnull align 8 dereferenceable(88) %1208, ptr noundef %1210, ptr noundef %1211)
          to label %1212 unwind label %1246

1212:                                             ; preds = %1209
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %87, ptr noundef %1208)
          to label %1213 unwind label %1242

1213:                                             ; preds = %1212
  %1214 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %87) #8
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %87) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %87) #8
  br label %1215

1215:                                             ; preds = %1213
  %1216 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %89) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %89) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %88, ptr noundef @.str.127, ptr noundef nonnull align 1 dereferenceable(1) %89)
          to label %1217 unwind label %1251

1217:                                             ; preds = %1215
  %1218 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %1216, ptr noundef %88)
          to label %1219 unwind label %1255

1219:                                             ; preds = %1217
  %1220 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %1218)
          to label %1221 unwind label %1255

1221:                                             ; preds = %1219
  %1222 = xor i1 %1220, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %88) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %89) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %89) #8
  br i1 %1222, label %1223, label %1306

1223:                                             ; preds = %1221
  %1224 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1225 unwind label %1260

1225:                                             ; preds = %1223
  %1226 = load ptr, ptr %1224, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %90) #8
  %1227 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1228 unwind label %1264

1228:                                             ; preds = %1225
  %1229 = load ptr, ptr %1227, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %90, ptr noundef nonnull align 8 dereferenceable(30) %1229, i32 noundef 281)
          to label %1230 unwind label %1264

1230:                                             ; preds = %1228
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1226, ptr noundef nonnull align 8 dereferenceable(30) %90, ptr noundef @.str.128)
          to label %1231 unwind label %1264

1231:                                             ; preds = %1230
  call void @llvm.lifetime.end.p0(i64 32, ptr %90) #8
  br label %1306

1232:                                             ; preds = %1191
  %1233 = landingpad { ptr, i32 }
          cleanup
  %1234 = extractvalue { ptr, i32 } %1233, 0
  store ptr %1234, ptr %5, align 8
  %1235 = extractvalue { ptr, i32 } %1233, 1
  store i32 %1235, ptr %6, align 4
  br label %1240

1236:                                             ; preds = %1200, %1198, %1195
  %1237 = landingpad { ptr, i32 }
          cleanup
  %1238 = extractvalue { ptr, i32 } %1237, 0
  store ptr %1238, ptr %5, align 8
  %1239 = extractvalue { ptr, i32 } %1237, 1
  store i32 %1239, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %86) #8
  br label %1240

1240:                                             ; preds = %1236, %1232
  invoke void @__cxa_end_catch()
          to label %1241 unwind label %1441

1241:                                             ; preds = %1240
  br label %1433

1242:                                             ; preds = %1212, %1207
  %1243 = landingpad { ptr, i32 }
          cleanup
  %1244 = extractvalue { ptr, i32 } %1243, 0
  store ptr %1244, ptr %5, align 8
  %1245 = extractvalue { ptr, i32 } %1243, 1
  store i32 %1245, ptr %6, align 4
  br label %1250

1246:                                             ; preds = %1209
  %1247 = landingpad { ptr, i32 }
          cleanup
  %1248 = extractvalue { ptr, i32 } %1247, 0
  store ptr %1248, ptr %5, align 8
  %1249 = extractvalue { ptr, i32 } %1247, 1
  store i32 %1249, ptr %6, align 4
  call void @_ZdlPvm(ptr noundef %1208, i64 noundef 88) #10
  br label %1250

1250:                                             ; preds = %1246, %1242
  call void @llvm.lifetime.end.p0(i64 16, ptr %87) #8
  br label %1433

1251:                                             ; preds = %1215
  %1252 = landingpad { ptr, i32 }
          catch ptr null
  %1253 = extractvalue { ptr, i32 } %1252, 0
  store ptr %1253, ptr %5, align 8
  %1254 = extractvalue { ptr, i32 } %1252, 1
  store i32 %1254, ptr %6, align 4
  br label %1259

1255:                                             ; preds = %1219, %1217
  %1256 = landingpad { ptr, i32 }
          catch ptr null
  %1257 = extractvalue { ptr, i32 } %1256, 0
  store ptr %1257, ptr %5, align 8
  %1258 = extractvalue { ptr, i32 } %1256, 1
  store i32 %1258, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %88) #8
  br label %1259

1259:                                             ; preds = %1255, %1251
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %89) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %89) #8
  br label %1268

1260:                                             ; preds = %1223
  %1261 = landingpad { ptr, i32 }
          catch ptr null
  %1262 = extractvalue { ptr, i32 } %1261, 0
  store ptr %1262, ptr %5, align 8
  %1263 = extractvalue { ptr, i32 } %1261, 1
  store i32 %1263, ptr %6, align 4
  br label %1268

1264:                                             ; preds = %1230, %1228, %1225
  %1265 = landingpad { ptr, i32 }
          catch ptr null
  %1266 = extractvalue { ptr, i32 } %1265, 0
  store ptr %1266, ptr %5, align 8
  %1267 = extractvalue { ptr, i32 } %1265, 1
  store i32 %1267, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %90) #8
  br label %1268

1268:                                             ; preds = %1264, %1260, %1259
  %1269 = load ptr, ptr %5, align 8
  %1270 = call ptr @__cxa_begin_catch(ptr %1269) #8
  %1271 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1272 unwind label %1307

1272:                                             ; preds = %1268
  %1273 = load ptr, ptr %1271, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %91) #8
  %1274 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1275 unwind label %1311

1275:                                             ; preds = %1272
  %1276 = load ptr, ptr %1274, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %91, ptr noundef nonnull align 8 dereferenceable(30) %1276, i32 noundef 281)
          to label %1277 unwind label %1311

1277:                                             ; preds = %1275
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1273, ptr noundef nonnull align 8 dereferenceable(30) %91, ptr noundef @.str.129)
          to label %1278 unwind label %1311

1278:                                             ; preds = %1277
  call void @llvm.lifetime.end.p0(i64 32, ptr %91) #8
  invoke void @__cxa_end_catch()
          to label %1279 unwind label %153

1279:                                             ; preds = %1278
  br label %1280

1280:                                             ; preds = %1306, %1279
  br label %1281

1281:                                             ; preds = %1280
  br label %1282

1282:                                             ; preds = %1281
  call void @llvm.lifetime.start.p0(i64 16, ptr %92) #8
  %1283 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 64) #9
          to label %1284 unwind label %1317

1284:                                             ; preds = %1282
  %1285 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  invoke void @_ZN23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactory(ptr noundef nonnull align 8 dereferenceable(64) %1283, ptr noundef %1285)
          to label %1286 unwind label %1321

1286:                                             ; preds = %1284
  invoke void @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %92, ptr noundef %1283)
          to label %1287 unwind label %1317

1287:                                             ; preds = %1286
  %1288 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %92) #8
  call void @_ZNSt12__shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %92) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %92) #8
  br label %1289

1289:                                             ; preds = %1287
  %1290 = call noundef ptr @_ZNKSt19__shared_ptr_accessI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %94) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %94) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %93, ptr noundef @.str.130, ptr noundef nonnull align 1 dereferenceable(1) %94)
          to label %1291 unwind label %1326

1291:                                             ; preds = %1289
  %1292 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog11PrologQueryINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %1290, ptr noundef %93)
          to label %1293 unwind label %1330

1293:                                             ; preds = %1291
  %1294 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %1292)
          to label %1295 unwind label %1330

1295:                                             ; preds = %1293
  %1296 = xor i1 %1294, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %93) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %94) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %94) #8
  br i1 %1296, label %1297, label %1376

1297:                                             ; preds = %1295
  %1298 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1299 unwind label %1335

1299:                                             ; preds = %1297
  %1300 = load ptr, ptr %1298, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %95) #8
  %1301 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1302 unwind label %1339

1302:                                             ; preds = %1299
  %1303 = load ptr, ptr %1301, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %95, ptr noundef nonnull align 8 dereferenceable(30) %1303, i32 noundef 283)
          to label %1304 unwind label %1339

1304:                                             ; preds = %1302
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1300, ptr noundef nonnull align 8 dereferenceable(30) %95, ptr noundef @.str.131)
          to label %1305 unwind label %1339

1305:                                             ; preds = %1304
  call void @llvm.lifetime.end.p0(i64 32, ptr %95) #8
  br label %1376

1306:                                             ; preds = %1231, %1221
  br label %1280

1307:                                             ; preds = %1268
  %1308 = landingpad { ptr, i32 }
          cleanup
  %1309 = extractvalue { ptr, i32 } %1308, 0
  store ptr %1309, ptr %5, align 8
  %1310 = extractvalue { ptr, i32 } %1308, 1
  store i32 %1310, ptr %6, align 4
  br label %1315

1311:                                             ; preds = %1277, %1275, %1272
  %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
  call void @llvm.lifetime.end.p0(i64 32, ptr %91) #8
  br label %1315

1315:                                             ; preds = %1311, %1307
  invoke void @__cxa_end_catch()
          to label %1316 unwind label %1441

1316:                                             ; preds = %1315
  br label %1433

1317:                                             ; preds = %1286, %1282
  %1318 = landingpad { ptr, i32 }
          cleanup
  %1319 = extractvalue { ptr, i32 } %1318, 0
  store ptr %1319, ptr %5, align 8
  %1320 = extractvalue { ptr, i32 } %1318, 1
  store i32 %1320, ptr %6, align 4
  br label %1325

1321:                                             ; preds = %1284
  %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 @_ZdlPvm(ptr noundef %1283, i64 noundef 64) #10
  br label %1325

1325:                                             ; preds = %1321, %1317
  call void @llvm.lifetime.end.p0(i64 16, ptr %92) #8
  br label %1433

1326:                                             ; preds = %1289
  %1327 = landingpad { ptr, i32 }
          catch ptr null
  %1328 = extractvalue { ptr, i32 } %1327, 0
  store ptr %1328, ptr %5, align 8
  %1329 = extractvalue { ptr, i32 } %1327, 1
  store i32 %1329, ptr %6, align 4
  br label %1334

1330:                                             ; preds = %1293, %1291
  %1331 = landingpad { ptr, i32 }
          catch ptr null
  %1332 = extractvalue { ptr, i32 } %1331, 0
  store ptr %1332, ptr %5, align 8
  %1333 = extractvalue { ptr, i32 } %1331, 1
  store i32 %1333, ptr %6, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %93) #8
  br label %1334

1334:                                             ; preds = %1330, %1326
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %94) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %94) #8
  br label %1343

1335:                                             ; preds = %1297
  %1336 = landingpad { ptr, i32 }
          catch ptr null
  %1337 = extractvalue { ptr, i32 } %1336, 0
  store ptr %1337, ptr %5, align 8
  %1338 = extractvalue { ptr, i32 } %1336, 1
  store i32 %1338, ptr %6, align 4
  br label %1343

1339:                                             ; preds = %1304, %1302, %1299
  %1340 = landingpad { ptr, i32 }
          catch ptr null
  %1341 = extractvalue { ptr, i32 } %1340, 0
  store ptr %1341, ptr %5, align 8
  %1342 = extractvalue { ptr, i32 } %1340, 1
  store i32 %1342, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %95) #8
  br label %1343

1343:                                             ; preds = %1339, %1335, %1334
  %1344 = load ptr, ptr %5, align 8
  %1345 = call ptr @__cxa_begin_catch(ptr %1344) #8
  %1346 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1347 unwind label %1377

1347:                                             ; preds = %1343
  %1348 = load ptr, ptr %1346, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %96) #8
  %1349 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1350 unwind label %1381

1350:                                             ; preds = %1347
  %1351 = load ptr, ptr %1349, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %96, ptr noundef nonnull align 8 dereferenceable(30) %1351, i32 noundef 283)
          to label %1352 unwind label %1381

1352:                                             ; preds = %1350
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1348, ptr noundef nonnull align 8 dereferenceable(30) %96, ptr noundef @.str.132)
          to label %1353 unwind label %1381

1353:                                             ; preds = %1352
  call void @llvm.lifetime.end.p0(i64 32, ptr %96) #8
  invoke void @__cxa_end_catch()
          to label %1354 unwind label %153

1354:                                             ; preds = %1353
  br label %1355

1355:                                             ; preds = %1376, %1354
  br label %1356

1356:                                             ; preds = %1355
  br label %1357

1357:                                             ; preds = %1356
  call void @llvm.lifetime.start.p0(i64 16, ptr %97) #8
  %1358 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  %1359 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %98) #8
  %1360 = call noundef ptr @_ZNKSt19__shared_ptr_accessI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  invoke void @_ZNK23PrologQueryCompilerBaseIN6Prolog11HtnVariableEE6resultEv(ptr dead_on_unwind writable sret(%"class.std::vector.74") align 8 %98, ptr noundef nonnull align 8 dereferenceable(64) %1360)
          to label %1361 unwind label %1387

1361:                                             ; preds = %1357
  invoke void @_ZN15HtnGoalResolver10ResolveAllEP14HtnTermFactoryP10HtnRuleSetRKSt6vectorISt10shared_ptrI7HtnTermESaIS7_EEiiPlPiPS9_(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.82") align 8 %97, ptr noundef nonnull align 8 dereferenceable(64) %3, ptr noundef %1358, ptr noundef %1359, ptr noundef nonnull align 8 dereferenceable(24) %98, i32 noundef 0, i32 noundef 1000000, ptr noundef null, ptr noundef null, ptr noundef null)
          to label %1362 unwind label %1391

1362:                                             ; preds = %1361
  %1363 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %97) #8
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %97) #8
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %98) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %98) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %97) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %99) #8
  %1364 = call noundef ptr @_ZNKSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  invoke void @_ZN15HtnGoalResolver8ToStringB5cxx11EPKSt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %99, ptr noundef %1364, i1 noundef zeroext false)
          to label %1365 unwind label %1396

1365:                                             ; preds = %1362
  %1366 = 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) %99) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %99) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %99) #8
  br label %1367

1367:                                             ; preds = %1365
  %1368 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1369 unwind label %1400

1369:                                             ; preds = %1367
  %1370 = load ptr, ptr %1368, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %100) #8
  %1371 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1372 unwind label %1404

1372:                                             ; preds = %1369
  %1373 = load ptr, ptr %1371, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %100, ptr noundef nonnull align 8 dereferenceable(30) %1373, i32 noundef 286)
          to label %1374 unwind label %1404

1374:                                             ; preds = %1372
  invoke void @_ZN8UnitTest10CheckEqualIA24_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %1370, ptr noundef nonnull align 1 dereferenceable(24) @.str.133, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(30) %100)
          to label %1375 unwind label %1404

1375:                                             ; preds = %1374
  call void @llvm.lifetime.end.p0(i64 32, ptr %100) #8
  br label %1420

1376:                                             ; preds = %1305, %1295
  br label %1355

1377:                                             ; preds = %1343
  %1378 = landingpad { ptr, i32 }
          cleanup
  %1379 = extractvalue { ptr, i32 } %1378, 0
  store ptr %1379, ptr %5, align 8
  %1380 = extractvalue { ptr, i32 } %1378, 1
  store i32 %1380, ptr %6, align 4
  br label %1385

1381:                                             ; preds = %1352, %1350, %1347
  %1382 = landingpad { ptr, i32 }
          cleanup
  %1383 = extractvalue { ptr, i32 } %1382, 0
  store ptr %1383, ptr %5, align 8
  %1384 = extractvalue { ptr, i32 } %1382, 1
  store i32 %1384, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %96) #8
  br label %1385

1385:                                             ; preds = %1381, %1377
  invoke void @__cxa_end_catch()
          to label %1386 unwind label %1441

1386:                                             ; preds = %1385
  br label %1433

1387:                                             ; preds = %1357
  %1388 = landingpad { ptr, i32 }
          cleanup
  %1389 = extractvalue { ptr, i32 } %1388, 0
  store ptr %1389, ptr %5, align 8
  %1390 = extractvalue { ptr, i32 } %1388, 1
  store i32 %1390, ptr %6, align 4
  br label %1395

1391:                                             ; preds = %1361
  %1392 = landingpad { ptr, i32 }
          cleanup
  %1393 = extractvalue { ptr, i32 } %1392, 0
  store ptr %1393, ptr %5, align 8
  %1394 = extractvalue { ptr, i32 } %1392, 1
  store i32 %1394, ptr %6, align 4
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %98) #8
  br label %1395

1395:                                             ; preds = %1391, %1387
  call void @llvm.lifetime.end.p0(i64 24, ptr %98) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %97) #8
  br label %1433

1396:                                             ; preds = %1362
  %1397 = landingpad { ptr, i32 }
          cleanup
  %1398 = extractvalue { ptr, i32 } %1397, 0
  store ptr %1398, ptr %5, align 8
  %1399 = extractvalue { ptr, i32 } %1397, 1
  store i32 %1399, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %99) #8
  br label %1433

1400:                                             ; preds = %1367
  %1401 = landingpad { ptr, i32 }
          catch ptr null
  %1402 = extractvalue { ptr, i32 } %1401, 0
  store ptr %1402, ptr %5, align 8
  %1403 = extractvalue { ptr, i32 } %1401, 1
  store i32 %1403, ptr %6, align 4
  br label %1408

1404:                                             ; preds = %1374, %1372, %1369
  %1405 = landingpad { ptr, i32 }
          catch ptr null
  %1406 = extractvalue { ptr, i32 } %1405, 0
  store ptr %1406, ptr %5, align 8
  %1407 = extractvalue { ptr, i32 } %1405, 1
  store i32 %1407, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %100) #8
  br label %1408

1408:                                             ; preds = %1404, %1400
  %1409 = load ptr, ptr %5, align 8
  %1410 = call ptr @__cxa_begin_catch(ptr %1409) #8
  %1411 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1412 unwind label %1423

1412:                                             ; preds = %1408
  %1413 = load ptr, ptr %1411, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %101) #8
  %1414 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1415 unwind label %1427

1415:                                             ; preds = %1412
  %1416 = load ptr, ptr %1414, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %101, ptr noundef nonnull align 8 dereferenceable(30) %1416, i32 noundef 286)
          to label %1417 unwind label %1427

1417:                                             ; preds = %1415
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1413, ptr noundef nonnull align 8 dereferenceable(30) %101, ptr noundef @.str.134)
          to label %1418 unwind label %1427

1418:                                             ; preds = %1417
  call void @llvm.lifetime.end.p0(i64 32, ptr %101) #8
  invoke void @__cxa_end_catch()
          to label %1419 unwind label %153

1419:                                             ; preds = %1418
  br label %1420

1420:                                             ; preds = %1419, %1375
  br label %1421

1421:                                             ; preds = %1420
  br label %1422

1422:                                             ; preds = %1421
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #8
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  call void @_ZNSt12__shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #8
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #8
  call void @_ZNSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #8
  call void @_ZNSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #8
  call void @_ZN15HtnGoalResolverD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %3) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %3) #8
  ret void

1423:                                             ; preds = %1408
  %1424 = landingpad { ptr, i32 }
          cleanup
  %1425 = extractvalue { ptr, i32 } %1424, 0
  store ptr %1425, ptr %5, align 8
  %1426 = extractvalue { ptr, i32 } %1424, 1
  store i32 %1426, ptr %6, align 4
  br label %1431

1427:                                             ; preds = %1417, %1415, %1412
  %1428 = landingpad { ptr, i32 }
          cleanup
  %1429 = extractvalue { ptr, i32 } %1428, 0
  store ptr %1429, ptr %5, align 8
  %1430 = extractvalue { ptr, i32 } %1428, 1
  store i32 %1430, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %101) #8
  br label %1431

1431:                                             ; preds = %1427, %1423
  invoke void @__cxa_end_catch()
          to label %1432 unwind label %1441

1432:                                             ; preds = %1431
  br label %1433

1433:                                             ; preds = %1432, %1396, %1395, %1386, %1325, %1316, %1250, %1241, %1179, %1178, %1169, %1108, %1099, %1033, %1024, %962, %961, %952, %891, %882, %816, %807, %745, %744, %735, %674, %665, %599, %590, %528, %527, %518, %457, %448, %382, %373, %311, %310, %301, %240, %231, %165, %153
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #8
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  call void @_ZNSt12__shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #8
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #8
  call void @_ZNSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  br label %1434

1434:                                             ; preds = %1433, %149, %145
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #8
  call void @_ZNSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  br label %1435

1435:                                             ; preds = %1434, %141, %137
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #8
  call void @_ZN15HtnGoalResolverD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %3) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %3) #8
  br label %1436

1436:                                             ; preds = %1435
  %1437 = load ptr, ptr %5, align 8
  %1438 = load i32, ptr %6, align 4
  %1439 = insertvalue { ptr, i32 } poison, ptr %1437, 0
  %1440 = insertvalue { ptr, i32 } %1439, i32 %1438, 1
  resume { ptr, i32 } %1440

1441:                                             ; preds = %1431, %1385, %1315, %1240, %1168, %1098, %1023, %951, %881, %806, %734, %664, %589, %517, %447, %372, %300, %230
  %1442 = landingpad { ptr, i32 }
          catch ptr null
  %1443 = extractvalue { ptr, i32 } %1442, 0
  call void @__clang_call_terminate(ptr %1443) #11
  unreachable
}

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

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

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

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

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

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

; 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_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_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__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 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nobuiltin 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 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin nounwind }
attributes #11 = { noreturn nounwind }

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

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


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

%"class.std::shared_ptr.82" = type { %"class.std::__shared_ptr.83" }
%"class.std::__shared_ptr.83" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::vector.74" = type { %"struct.std::_Vector_base.75" }
%"struct.std::_Vector_base.75" = type { %"struct.std::_Vector_base<std::shared_ptr<HtnTerm>, std::allocator<std::shared_ptr<HtnTerm>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<HtnTerm>, std::allocator<std::shared_ptr<HtnTerm>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<HtnTerm>, std::allocator<std::shared_ptr<HtnTerm>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<HtnTerm>, std::allocator<std::shared_ptr<HtnTerm>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.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.HtnGoalResolver = type { %"class.std::enable_shared_from_this.56", %"class.std::map.59" }
%"class.std::enable_shared_from_this.56" = type { %"class.std::weak_ptr.57" }
%"class.std::weak_ptr.57" = type { %"class.std::__weak_ptr.58" }
%"class.std::__weak_ptr.58" = type { ptr, %"class.std::__weak_count" }
%"class.std::__weak_count" = type { ptr }
%"class.std::map.59" = type { %"class.std::_Rb_tree.60" }
%"class.std::_Rb_tree.60" = 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" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.29" = type { %"class.std::__shared_ptr.30" }
%"class.std::__shared_ptr.30" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.50" = type { %"class.std::__shared_ptr.51" }
%"class.std::__shared_ptr.51" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.79" = type { %"class.std::__shared_ptr.80" }
%"class.std::__shared_ptr.80" = type { ptr, %"class.std::__shared_count" }
%"class.std::allocator.68" = type { i8 }
%"class.UnitTest::TestDetails" = type <{ ptr, ptr, ptr, i32, i8, i8, [2 x i8] }>

@.str.96 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.114 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.118 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.120 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.123 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.129 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.131 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.132 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.133 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.134 = external hidden unnamed_addr constant [70 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: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #1

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

declare i32 @__gxx_personality_v0(...)

; 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 void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5 align 2

declare void @_ZN15HtnGoalResolverC1Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #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_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #5 align 2

declare void @_ZN10HtnRuleSet8ClearAllEv(ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #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 noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5 align 2

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

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

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

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

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

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

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

declare void @__cxa_end_catch() local_unnamed_addr

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

; 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: 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 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 @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5 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 dso_local void @_ZN23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactory(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef) unnamed_addr #5 align 2

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

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

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

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

declare void @_ZN15HtnGoalResolver10ResolveAllEP14HtnTermFactoryP10HtnRuleSetRKSt6vectorISt10shared_ptrI7HtnTermESaIS7_EEiiPlPiPS9_(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.82") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN24SuitePrologCompilerTests26TestPrologListCompileTests7RunImplEv(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", align 8
  %4 = alloca %"class.std::shared_ptr.29", align 8
  %5 = alloca %"class.std::shared_ptr.50", align 8
  %6 = alloca %"class.std::shared_ptr.79", align 8
  %7 = alloca %"class.std::shared_ptr.82", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::shared_ptr.50", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::allocator.68", align 1
  %12 = alloca %"class.UnitTest::TestDetails", align 8
  %13 = alloca %"class.UnitTest::TestDetails", align 8
  %14 = alloca %"class.std::shared_ptr.79", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator.68", align 1
  %17 = alloca %"class.UnitTest::TestDetails", align 8
  %18 = alloca %"class.UnitTest::TestDetails", align 8
  %19 = alloca %"class.std::shared_ptr.82", align 8
  %20 = alloca %"class.std::vector.74", 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::shared_ptr.50", align 8
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca %"class.std::allocator.68", align 1
  %27 = alloca %"class.UnitTest::TestDetails", align 8
  %28 = alloca %"class.UnitTest::TestDetails", align 8
  %29 = alloca %"class.std::shared_ptr.79", align 8
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca %"class.std::allocator.68", align 1
  %32 = alloca %"class.UnitTest::TestDetails", align 8
  %33 = alloca %"class.UnitTest::TestDetails", align 8
  %34 = alloca %"class.std::shared_ptr.82", align 8
  %35 = alloca %"class.std::vector.74", align 8
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca %"class.UnitTest::TestDetails", align 8
  %38 = alloca %"class.UnitTest::TestDetails", align 8
  %39 = alloca %"class.std::shared_ptr.50", align 8
  %40 = alloca %"class.std::__cxx11::basic_string", align 8
  %41 = alloca %"class.std::allocator.68", align 1
  %42 = alloca %"class.UnitTest::TestDetails", align 8
  %43 = alloca %"class.UnitTest::TestDetails", align 8
  %44 = alloca %"class.std::shared_ptr.79", align 8
  %45 = alloca %"class.std::__cxx11::basic_string", align 8
  %46 = alloca %"class.std::allocator.68", align 1
  %47 = alloca %"class.UnitTest::TestDetails", align 8
  %48 = alloca %"class.UnitTest::TestDetails", align 8
  %49 = alloca %"class.std::shared_ptr.82", align 8
  %50 = alloca %"class.std::vector.74", 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.50", align 8
  %55 = alloca %"class.std::__cxx11::basic_string", align 8
  %56 = alloca %"class.std::allocator.68", align 1
  %57 = alloca %"class.UnitTest::TestDetails", align 8
  %58 = alloca %"class.UnitTest::TestDetails", align 8
  %59 = alloca %"class.std::shared_ptr.79", align 8
  %60 = alloca %"class.std::__cxx11::basic_string", align 8
  %61 = alloca %"class.std::allocator.68", align 1
  %62 = alloca %"class.UnitTest::TestDetails", align 8
  %63 = alloca %"class.UnitTest::TestDetails", align 8
  %64 = alloca %"class.std::shared_ptr.82", align 8
  %65 = alloca %"class.std::vector.74", align 8
  %66 = alloca %"class.std::__cxx11::basic_string", align 8
  %67 = alloca %"class.UnitTest::TestDetails", align 8
  %68 = alloca %"class.UnitTest::TestDetails", align 8
  %69 = alloca %"class.std::shared_ptr.50", align 8
  %70 = alloca %"class.std::__cxx11::basic_string", align 8
  %71 = alloca %"class.std::allocator.68", align 1
  %72 = alloca %"class.UnitTest::TestDetails", align 8
  %73 = alloca %"class.UnitTest::TestDetails", align 8
  %74 = alloca %"class.std::shared_ptr.79", align 8
  %75 = alloca %"class.std::__cxx11::basic_string", align 8
  %76 = alloca %"class.std::allocator.68", align 1
  %77 = alloca %"class.UnitTest::TestDetails", align 8
  %78 = alloca %"class.UnitTest::TestDetails", align 8
  %79 = alloca %"class.std::shared_ptr.82", align 8
  %80 = alloca %"class.std::vector.74", align 8
  %81 = alloca %"class.std::__cxx11::basic_string", align 8
  %82 = alloca %"class.UnitTest::TestDetails", align 8
  %83 = alloca %"class.UnitTest::TestDetails", align 8
  %84 = alloca %"class.std::shared_ptr.50", align 8
  %85 = alloca %"class.std::__cxx11::basic_string", align 8
  %86 = alloca %"class.std::allocator.68", align 1
  %87 = alloca %"class.UnitTest::TestDetails", align 8
  %88 = alloca %"class.UnitTest::TestDetails", align 8
  %89 = alloca %"class.std::shared_ptr.79", align 8
  %90 = alloca %"class.std::__cxx11::basic_string", align 8
  %91 = alloca %"class.std::allocator.68", align 1
  %92 = alloca %"class.UnitTest::TestDetails", align 8
  %93 = alloca %"class.UnitTest::TestDetails", align 8
  %94 = alloca %"class.std::shared_ptr.82", align 8
  %95 = alloca %"class.std::vector.74", align 8
  %96 = alloca %"class.std::__cxx11::basic_string", align 8
  %97 = alloca %"class.UnitTest::TestDetails", align 8
  %98 = alloca %"class.UnitTest::TestDetails", align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #8
  call void @_ZN15HtnGoalResolverC1Ev(ptr noundef nonnull align 8 dereferenceable(64) %2)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #8
  %99 = invoke noalias noundef nonnull dereferenceable(33088) ptr @_Znwm(i64 noundef 33088) #9
          to label %100 unwind label %129

100:                                              ; preds = %1
  invoke void @_ZN14HtnTermFactoryC1Ev(ptr noundef nonnull align 8 dereferenceable(33088) %99)
          to label %101 unwind label %131

101:                                              ; preds = %100
  invoke void @_ZNSt10shared_ptrI14HtnTermFactoryEC2IS0_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull %99)
          to label %102 unwind label %129

102:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  %103 = invoke noalias noundef nonnull dereferenceable(144) ptr @_Znwm(i64 noundef 144) #9
          to label %104 unwind label %133

104:                                              ; preds = %102
  invoke void @_ZN10HtnRuleSetC2Ev(ptr noundef nonnull align 8 dereferenceable(144) %103)
          to label %105 unwind label %135

105:                                              ; preds = %104
  invoke void @_ZNSt10shared_ptrI10HtnRuleSetEC2IS0_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull %103)
          to label %106 unwind label %133

106:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #8
  call void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #8
  call void @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #8
  call void @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  %107 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #8
  invoke void @_ZN10HtnRuleSet8ClearAllEv(ptr noundef nonnull align 8 dereferenceable(144) %107)
          to label %108 unwind label %137

108:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #8
  %109 = invoke noalias noundef nonnull dereferenceable(88) ptr @_Znwm(i64 noundef 88) #9
          to label %110 unwind label %139

110:                                              ; preds = %108
  %111 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  %112 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  call void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactoryP10HtnRuleSet(ptr noundef nonnull align 8 dereferenceable(88) %109, ptr noundef %111, ptr noundef %112)
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull %109)
          to label %113 unwind label %139

113:                                              ; preds = %110
  %114 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #8
  %115 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull @.str.96, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %116 unwind label %141

116:                                              ; preds = %113
  %117 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %115, ptr noundef nonnull %10)
          to label %118 unwind label %143

118:                                              ; preds = %116
  %119 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %117)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #8
  br i1 %119, label %160, label %120

120:                                              ; preds = %118
  %121 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %122 unwind label %146

122:                                              ; preds = %120
  %123 = load ptr, ptr %121, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #8
  %124 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %125 unwind label %148

125:                                              ; preds = %122
  %126 = load ptr, ptr %124, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %12, ptr noundef nonnull align 8 dereferenceable(30) %126, i32 noundef 230)
          to label %127 unwind label %148

127:                                              ; preds = %125
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %123, ptr noundef nonnull align 8 dereferenceable(30) %12, ptr noundef nonnull @.str.97)
          to label %128 unwind label %148

128:                                              ; preds = %127
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #8
  br label %160

129:                                              ; preds = %101, %1
  %130 = landingpad { ptr, i32 }
          cleanup
  br label %953

131:                                              ; preds = %100
  %132 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %99, i64 noundef 33088) #10
  br label %953

133:                                              ; preds = %105, %102
  %134 = landingpad { ptr, i32 }
          cleanup
  br label %952

135:                                              ; preds = %104
  %136 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %103, i64 noundef 144) #10
  br label %952

137:                                              ; preds = %944, %900, %854, %806, %805, %761, %715, %667, %666, %622, %576, %528, %527, %483, %437, %389, %388, %344, %298, %250, %249, %205, %159, %106
  %138 = landingpad { ptr, i32 }
          cleanup
  br label %951

139:                                              ; preds = %110, %108
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #8
  br label %951

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

143:                                              ; preds = %116
  %144 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  br label %145

145:                                              ; preds = %143, %141
  %.pn = phi { ptr, i32 } [ %144, %143 ], [ %142, %141 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #8
  br label %150

146:                                              ; preds = %120
  %147 = landingpad { ptr, i32 }
          catch ptr null
  br label %150

148:                                              ; preds = %127, %125, %122
  %149 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #8
  br label %150

150:                                              ; preds = %148, %146, %145
  %.pn47 = phi { ptr, i32 } [ %149, %148 ], [ %147, %146 ], [ %.pn, %145 ]
  %.121 = extractvalue { ptr, i32 } %.pn47, 0
  %151 = call ptr @__cxa_begin_catch(ptr %.121) #8
  %152 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %153 unwind label %180

153:                                              ; preds = %150
  %154 = load ptr, ptr %152, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #8
  %155 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %156 unwind label %182

156:                                              ; preds = %153
  %157 = load ptr, ptr %155, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %13, ptr noundef nonnull align 8 dereferenceable(30) %157, i32 noundef 230)
          to label %158 unwind label %182

158:                                              ; preds = %156
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %154, ptr noundef nonnull align 8 dereferenceable(30) %13, ptr noundef nonnull @.str.98)
          to label %159 unwind label %182

159:                                              ; preds = %158
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #8
  invoke void @__cxa_end_catch()
          to label %160 unwind label %137

160:                                              ; preds = %118, %128, %159
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #8
  %161 = invoke noalias noundef nonnull dereferenceable(64) ptr @_Znwm(i64 noundef 64) #9
          to label %162 unwind label %185

162:                                              ; preds = %160
  %163 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  call void @_ZN23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactory(ptr noundef nonnull align 8 dereferenceable(64) %161, ptr noundef %163)
  invoke void @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull %161)
          to label %164 unwind label %185

164:                                              ; preds = %162
  %165 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %14) #8
  call void @_ZNSt12__shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #8
  %166 = call noundef ptr @_ZNKSt19__shared_ptr_accessI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull @.str.99, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %167 unwind label %187

167:                                              ; preds = %164
  %168 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog11PrologQueryINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %166, ptr noundef nonnull %15)
          to label %169 unwind label %189

169:                                              ; preds = %167
  %170 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %168)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #8
  br i1 %170, label %206, label %171

171:                                              ; preds = %169
  %172 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %173 unwind label %192

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

176:                                              ; preds = %173
  %177 = load ptr, ptr %175, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %17, ptr noundef nonnull align 8 dereferenceable(30) %177, i32 noundef 232)
          to label %178 unwind label %194

178:                                              ; preds = %176
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %174, ptr noundef nonnull align 8 dereferenceable(30) %17, ptr noundef nonnull @.str.100)
          to label %179 unwind label %194

179:                                              ; preds = %178
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #8
  br label %206

180:                                              ; preds = %150
  %181 = landingpad { ptr, i32 }
          cleanup
  br label %184

182:                                              ; preds = %158, %156, %153
  %183 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #8
  br label %184

184:                                              ; preds = %182, %180
  %.pn48 = phi { ptr, i32 } [ %183, %182 ], [ %181, %180 ]
  invoke void @__cxa_end_catch()
          to label %951 unwind label %954

185:                                              ; preds = %162, %160
  %186 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #8
  br label %951

187:                                              ; preds = %164
  %188 = landingpad { ptr, i32 }
          catch ptr null
  br label %191

189:                                              ; preds = %167
  %190 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  br label %191

191:                                              ; preds = %189, %187
  %.pn50 = phi { ptr, i32 } [ %190, %189 ], [ %188, %187 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #8
  br label %196

192:                                              ; preds = %171
  %193 = landingpad { ptr, i32 }
          catch ptr null
  br label %196

194:                                              ; preds = %178, %176, %173
  %195 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #8
  br label %196

196:                                              ; preds = %194, %192, %191
  %.pn51 = phi { ptr, i32 } [ %195, %194 ], [ %193, %192 ], [ %.pn50, %191 ]
  %.424 = extractvalue { ptr, i32 } %.pn51, 0
  %197 = call ptr @__cxa_begin_catch(ptr %.424) #8
  %198 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %199 unwind label %224

199:                                              ; preds = %196
  %200 = load ptr, ptr %198, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #8
  %201 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %202 unwind label %226

202:                                              ; preds = %199
  %203 = load ptr, ptr %201, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %18, ptr noundef nonnull align 8 dereferenceable(30) %203, i32 noundef 232)
          to label %204 unwind label %226

204:                                              ; preds = %202
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %200, ptr noundef nonnull align 8 dereferenceable(30) %18, ptr noundef nonnull @.str.101)
          to label %205 unwind label %226

205:                                              ; preds = %204
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #8
  invoke void @__cxa_end_catch()
          to label %206 unwind label %137

206:                                              ; preds = %169, %179, %205
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #8
  %207 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  %208 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #8
  %209 = call noundef ptr @_ZNKSt19__shared_ptr_accessI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  invoke void @_ZNK23PrologQueryCompilerBaseIN6Prolog11HtnVariableEE6resultEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.74") align 8 %20, ptr noundef nonnull align 8 dereferenceable(64) %209)
          to label %210 unwind label %229

210:                                              ; preds = %206
  invoke void @_ZN15HtnGoalResolver10ResolveAllEP14HtnTermFactoryP10HtnRuleSetRKSt6vectorISt10shared_ptrI7HtnTermESaIS7_EEiiPlPiPS9_(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.82") align 8 %19, ptr noundef nonnull align 8 dereferenceable(64) %2, ptr noundef %207, ptr noundef %208, ptr noundef nonnull align 8 dereferenceable(24) %20, i32 noundef 0, i32 noundef 1000000, ptr noundef null, ptr noundef null, ptr noundef null)
          to label %211 unwind label %231

211:                                              ; preds = %210
  %212 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %19) #8
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #8
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #8
  %213 = call noundef ptr @_ZNKSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  invoke void @_ZN15HtnGoalResolver8ToStringB5cxx11EPKSt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EEb(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %21, ptr noundef %213, i1 noundef zeroext false)
          to label %214 unwind label %234

214:                                              ; preds = %211
  %215 = 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) %21) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #8
  %216 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %217 unwind label %236

217:                                              ; preds = %214
  %218 = load ptr, ptr %216, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #8
  %219 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %220 unwind label %238

220:                                              ; preds = %217
  %221 = load ptr, ptr %219, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %22, ptr noundef nonnull align 8 dereferenceable(30) %221, i32 noundef 235)
          to label %222 unwind label %238

222:                                              ; preds = %220
  invoke void @_ZN8UnitTest10CheckEqualIA20_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %218, ptr noundef nonnull align 1 dereferenceable(20) @.str.102, ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(30) %22)
          to label %223 unwind label %238

223:                                              ; preds = %222
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #8
  br label %250

224:                                              ; preds = %196
  %225 = landingpad { ptr, i32 }
          cleanup
  br label %228

226:                                              ; preds = %204, %202, %199
  %227 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #8
  br label %228

228:                                              ; preds = %226, %224
  %.pn52 = phi { ptr, i32 } [ %227, %226 ], [ %225, %224 ]
  invoke void @__cxa_end_catch()
          to label %951 unwind label %954

229:                                              ; preds = %206
  %230 = landingpad { ptr, i32 }
          cleanup
  br label %233

231:                                              ; preds = %210
  %232 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  br label %233

233:                                              ; preds = %231, %229
  %.pn54 = phi { ptr, i32 } [ %232, %231 ], [ %230, %229 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #8
  br label %951

234:                                              ; preds = %211
  %235 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #8
  br label %951

236:                                              ; preds = %214
  %237 = landingpad { ptr, i32 }
          catch ptr null
  br label %240

238:                                              ; preds = %222, %220, %217
  %239 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #8
  br label %240

240:                                              ; preds = %238, %236
  %.pn56 = phi { ptr, i32 } [ %239, %238 ], [ %237, %236 ]
  %.727 = extractvalue { ptr, i32 } %.pn56, 0
  %241 = call ptr @__cxa_begin_catch(ptr %.727) #8
  %242 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %243 unwind label %273

243:                                              ; preds = %240
  %244 = load ptr, ptr %242, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #8
  %245 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %246 unwind label %275

246:                                              ; preds = %243
  %247 = load ptr, ptr %245, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %23, ptr noundef nonnull align 8 dereferenceable(30) %247, i32 noundef 235)
          to label %248 unwind label %275

248:                                              ; preds = %246
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %244, ptr noundef nonnull align 8 dereferenceable(30) %23, ptr noundef nonnull @.str.103)
          to label %249 unwind label %275

249:                                              ; preds = %248
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #8
  invoke void @__cxa_end_catch()
          to label %250 unwind label %137

250:                                              ; preds = %249, %223
  %251 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #8
  invoke void @_ZN10HtnRuleSet8ClearAllEv(ptr noundef nonnull align 8 dereferenceable(144) %251)
          to label %252 unwind label %137

252:                                              ; preds = %250
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #8
  %253 = invoke noalias noundef nonnull dereferenceable(88) ptr @_Znwm(i64 noundef 88) #9
          to label %254 unwind label %278

254:                                              ; preds = %252
  %255 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  %256 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  call void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactoryP10HtnRuleSet(ptr noundef nonnull align 8 dereferenceable(88) %253, ptr noundef %255, ptr noundef %256)
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull %253)
          to label %257 unwind label %278

257:                                              ; preds = %254
  %258 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %24) #8
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #8
  %259 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %26) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull @.str.104, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %260 unwind label %280

260:                                              ; preds = %257
  %261 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %259, ptr noundef nonnull %25)
          to label %262 unwind label %282

262:                                              ; preds = %260
  %263 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %261)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #8
  br i1 %263, label %299, label %264

264:                                              ; preds = %262
  %265 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %266 unwind label %285

266:                                              ; preds = %264
  %267 = load ptr, ptr %265, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %27) #8
  %268 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %269 unwind label %287

269:                                              ; preds = %266
  %270 = load ptr, ptr %268, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %27, ptr noundef nonnull align 8 dereferenceable(30) %270, i32 noundef 239)
          to label %271 unwind label %287

271:                                              ; preds = %269
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %267, ptr noundef nonnull align 8 dereferenceable(30) %27, ptr noundef nonnull @.str.105)
          to label %272 unwind label %287

272:                                              ; preds = %271
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #8
  br label %299

273:                                              ; preds = %240
  %274 = landingpad { ptr, i32 }
          cleanup
  br label %277

275:                                              ; preds = %248, %246, %243
  %276 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #8
  br label %277

277:                                              ; preds = %275, %273
  %.pn57 = phi { ptr, i32 } [ %276, %275 ], [ %274, %273 ]
  invoke void @__cxa_end_catch()
          to label %951 unwind label %954

278:                                              ; preds = %254, %252
  %279 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #8
  br label %951

280:                                              ; preds = %257
  %281 = landingpad { ptr, i32 }
          catch ptr null
  br label %284

282:                                              ; preds = %260
  %283 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #8
  br label %284

284:                                              ; preds = %282, %280
  %.pn59 = phi { ptr, i32 } [ %283, %282 ], [ %281, %280 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #8
  br label %289

285:                                              ; preds = %264
  %286 = landingpad { ptr, i32 }
          catch ptr null
  br label %289

287:                                              ; preds = %271, %269, %266
  %288 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #8
  br label %289

289:                                              ; preds = %287, %285, %284
  %.pn60 = phi { ptr, i32 } [ %288, %287 ], [ %286, %285 ], [ %.pn59, %284 ]
  %.1030 = extractvalue { ptr, i32 } %.pn60, 0
  %290 = call ptr @__cxa_begin_catch(ptr %.1030) #8
  %291 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %292 unwind label %319

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

295:                                              ; preds = %292
  %296 = load ptr, ptr %294, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %28, ptr noundef nonnull align 8 dereferenceable(30) %296, i32 noundef 239)
          to label %297 unwind label %321

297:                                              ; preds = %295
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %293, ptr noundef nonnull align 8 dereferenceable(30) %28, ptr noundef nonnull @.str.106)
          to label %298 unwind label %321

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

299:                                              ; preds = %262, %272, %298
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %29) #8
  %300 = invoke noalias noundef nonnull dereferenceable(64) ptr @_Znwm(i64 noundef 64) #9
          to label %301 unwind label %324

301:                                              ; preds = %299
  %302 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  call void @_ZN23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactory(ptr noundef nonnull align 8 dereferenceable(64) %300, ptr noundef %302)
  invoke void @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef nonnull %300)
          to label %303 unwind label %324

303:                                              ; preds = %301
  %304 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %29) #8
  call void @_ZNSt12__shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #8
  %305 = call noundef ptr @_ZNKSt19__shared_ptr_accessI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %31) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull @.str.107, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %306 unwind label %326

306:                                              ; preds = %303
  %307 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog11PrologQueryINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %305, ptr noundef nonnull %30)
          to label %308 unwind label %328

308:                                              ; preds = %306
  %309 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %307)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %31) #8
  br i1 %309, label %345, label %310

310:                                              ; preds = %308
  %311 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %312 unwind label %331

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

315:                                              ; preds = %312
  %316 = load ptr, ptr %314, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %32, ptr noundef nonnull align 8 dereferenceable(30) %316, i32 noundef 241)
          to label %317 unwind label %333

317:                                              ; preds = %315
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %313, ptr noundef nonnull align 8 dereferenceable(30) %32, ptr noundef nonnull @.str.108)
          to label %318 unwind label %333

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

319:                                              ; preds = %289
  %320 = landingpad { ptr, i32 }
          cleanup
  br label %323

321:                                              ; preds = %297, %295, %292
  %322 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #8
  br label %323

323:                                              ; preds = %321, %319
  %.pn61 = phi { ptr, i32 } [ %322, %321 ], [ %320, %319 ]
  invoke void @__cxa_end_catch()
          to label %951 unwind label %954

324:                                              ; preds = %301, %299
  %325 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #8
  br label %951

326:                                              ; preds = %303
  %327 = landingpad { ptr, i32 }
          catch ptr null
  br label %330

328:                                              ; preds = %306
  %329 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #8
  br label %330

330:                                              ; preds = %328, %326
  %.pn63 = phi { ptr, i32 } [ %329, %328 ], [ %327, %326 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %31) #8
  br label %335

331:                                              ; preds = %310
  %332 = landingpad { ptr, i32 }
          catch ptr null
  br label %335

333:                                              ; preds = %317, %315, %312
  %334 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %32) #8
  br label %335

335:                                              ; preds = %333, %331, %330
  %.pn64 = phi { ptr, i32 } [ %334, %333 ], [ %332, %331 ], [ %.pn63, %330 ]
  %.1333 = extractvalue { ptr, i32 } %.pn64, 0
  %336 = call ptr @__cxa_begin_catch(ptr %.1333) #8
  %337 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %338 unwind label %363

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

341:                                              ; preds = %338
  %342 = load ptr, ptr %340, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %33, ptr noundef nonnull align 8 dereferenceable(30) %342, i32 noundef 241)
          to label %343 unwind label %365

343:                                              ; preds = %341
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %339, ptr noundef nonnull align 8 dereferenceable(30) %33, ptr noundef nonnull @.str.109)
          to label %344 unwind label %365

344:                                              ; preds = %343
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #8
  invoke void @__cxa_end_catch()
          to label %345 unwind label %137

345:                                              ; preds = %308, %318, %344
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %34) #8
  %346 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  %347 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %35) #8
  %348 = call noundef ptr @_ZNKSt19__shared_ptr_accessI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  invoke void @_ZNK23PrologQueryCompilerBaseIN6Prolog11HtnVariableEE6resultEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.74") align 8 %35, ptr noundef nonnull align 8 dereferenceable(64) %348)
          to label %349 unwind label %368

349:                                              ; preds = %345
  invoke void @_ZN15HtnGoalResolver10ResolveAllEP14HtnTermFactoryP10HtnRuleSetRKSt6vectorISt10shared_ptrI7HtnTermESaIS7_EEiiPlPiPS9_(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.82") align 8 %34, ptr noundef nonnull align 8 dereferenceable(64) %2, ptr noundef %346, ptr noundef %347, ptr noundef nonnull align 8 dereferenceable(24) %35, i32 noundef 0, i32 noundef 1000000, ptr noundef null, ptr noundef null, ptr noundef null)
          to label %350 unwind label %370

350:                                              ; preds = %349
  %351 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %34) #8
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %34) #8
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %35) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %34) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %36) #8
  %352 = call noundef ptr @_ZNKSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  invoke void @_ZN15HtnGoalResolver8ToStringB5cxx11EPKSt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EEb(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %36, ptr noundef %352, i1 noundef zeroext false)
          to label %353 unwind label %373

353:                                              ; preds = %350
  %354 = 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) %36) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #8
  %355 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %356 unwind label %375

356:                                              ; preds = %353
  %357 = load ptr, ptr %355, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %37) #8
  %358 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %359 unwind label %377

359:                                              ; preds = %356
  %360 = load ptr, ptr %358, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %37, ptr noundef nonnull align 8 dereferenceable(30) %360, i32 noundef 244)
          to label %361 unwind label %377

361:                                              ; preds = %359
  invoke void @_ZN8UnitTest10CheckEqualIA44_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %357, ptr noundef nonnull align 1 dereferenceable(44) @.str.110, ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(30) %37)
          to label %362 unwind label %377

362:                                              ; preds = %361
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #8
  br label %389

363:                                              ; preds = %335
  %364 = landingpad { ptr, i32 }
          cleanup
  br label %367

365:                                              ; preds = %343, %341, %338
  %366 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #8
  br label %367

367:                                              ; preds = %365, %363
  %.pn65 = phi { ptr, i32 } [ %366, %365 ], [ %364, %363 ]
  invoke void @__cxa_end_catch()
          to label %951 unwind label %954

368:                                              ; preds = %345
  %369 = landingpad { ptr, i32 }
          cleanup
  br label %372

370:                                              ; preds = %349
  %371 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #8
  br label %372

372:                                              ; preds = %370, %368
  %.pn67 = phi { ptr, i32 } [ %371, %370 ], [ %369, %368 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %35) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %34) #8
  br label %951

373:                                              ; preds = %350
  %374 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #8
  br label %951

375:                                              ; preds = %353
  %376 = landingpad { ptr, i32 }
          catch ptr null
  br label %379

377:                                              ; preds = %361, %359, %356
  %378 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #8
  br label %379

379:                                              ; preds = %377, %375
  %.pn69 = phi { ptr, i32 } [ %378, %377 ], [ %376, %375 ]
  %.1636 = extractvalue { ptr, i32 } %.pn69, 0
  %380 = call ptr @__cxa_begin_catch(ptr %.1636) #8
  %381 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %382 unwind label %412

382:                                              ; preds = %379
  %383 = load ptr, ptr %381, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %38) #8
  %384 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %385 unwind label %414

385:                                              ; preds = %382
  %386 = load ptr, ptr %384, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %38, ptr noundef nonnull align 8 dereferenceable(30) %386, i32 noundef 244)
          to label %387 unwind label %414

387:                                              ; preds = %385
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %383, ptr noundef nonnull align 8 dereferenceable(30) %38, ptr noundef nonnull @.str.111)
          to label %388 unwind label %414

388:                                              ; preds = %387
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %38) #8
  invoke void @__cxa_end_catch()
          to label %389 unwind label %137

389:                                              ; preds = %388, %362
  %390 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #8
  invoke void @_ZN10HtnRuleSet8ClearAllEv(ptr noundef nonnull align 8 dereferenceable(144) %390)
          to label %391 unwind label %137

391:                                              ; preds = %389
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %39) #8
  %392 = invoke noalias noundef nonnull dereferenceable(88) ptr @_Znwm(i64 noundef 88) #9
          to label %393 unwind label %417

393:                                              ; preds = %391
  %394 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  %395 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  call void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactoryP10HtnRuleSet(ptr noundef nonnull align 8 dereferenceable(88) %392, ptr noundef %394, ptr noundef %395)
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %39, ptr noundef nonnull %392)
          to label %396 unwind label %417

396:                                              ; preds = %393
  %397 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %39) #8
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %39) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %39) #8
  %398 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %41) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull @.str.112, ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %399 unwind label %419

399:                                              ; preds = %396
  %400 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %398, ptr noundef nonnull %40)
          to label %401 unwind label %421

401:                                              ; preds = %399
  %402 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %400)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %41) #8
  br i1 %402, label %438, label %403

403:                                              ; preds = %401
  %404 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %405 unwind label %424

405:                                              ; preds = %403
  %406 = load ptr, ptr %404, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %42) #8
  %407 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %408 unwind label %426

408:                                              ; preds = %405
  %409 = load ptr, ptr %407, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %42, ptr noundef nonnull align 8 dereferenceable(30) %409, i32 noundef 249)
          to label %410 unwind label %426

410:                                              ; preds = %408
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %406, ptr noundef nonnull align 8 dereferenceable(30) %42, ptr noundef nonnull @.str.113)
          to label %411 unwind label %426

411:                                              ; preds = %410
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %42) #8
  br label %438

412:                                              ; preds = %379
  %413 = landingpad { ptr, i32 }
          cleanup
  br label %416

414:                                              ; preds = %387, %385, %382
  %415 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %38) #8
  br label %416

416:                                              ; preds = %414, %412
  %.pn70 = phi { ptr, i32 } [ %415, %414 ], [ %413, %412 ]
  invoke void @__cxa_end_catch()
          to label %951 unwind label %954

417:                                              ; preds = %393, %391
  %418 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %39) #8
  br label %951

419:                                              ; preds = %396
  %420 = landingpad { ptr, i32 }
          catch ptr null
  br label %423

421:                                              ; preds = %399
  %422 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #8
  br label %423

423:                                              ; preds = %421, %419
  %.pn72 = phi { ptr, i32 } [ %422, %421 ], [ %420, %419 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %41) #8
  br label %428

424:                                              ; preds = %403
  %425 = landingpad { ptr, i32 }
          catch ptr null
  br label %428

426:                                              ; preds = %410, %408, %405
  %427 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %42) #8
  br label %428

428:                                              ; preds = %426, %424, %423
  %.pn73 = phi { ptr, i32 } [ %427, %426 ], [ %425, %424 ], [ %.pn72, %423 ]
  %.1939 = extractvalue { ptr, i32 } %.pn73, 0
  %429 = call ptr @__cxa_begin_catch(ptr %.1939) #8
  %430 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %431 unwind label %458

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

434:                                              ; preds = %431
  %435 = load ptr, ptr %433, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %43, ptr noundef nonnull align 8 dereferenceable(30) %435, i32 noundef 249)
          to label %436 unwind label %460

436:                                              ; preds = %434
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %432, ptr noundef nonnull align 8 dereferenceable(30) %43, ptr noundef nonnull @.str.114)
          to label %437 unwind label %460

437:                                              ; preds = %436
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %43) #8
  invoke void @__cxa_end_catch()
          to label %438 unwind label %137

438:                                              ; preds = %401, %411, %437
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %44) #8
  %439 = invoke noalias noundef nonnull dereferenceable(64) ptr @_Znwm(i64 noundef 64) #9
          to label %440 unwind label %463

440:                                              ; preds = %438
  %441 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  call void @_ZN23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactory(ptr noundef nonnull align 8 dereferenceable(64) %439, ptr noundef %441)
  invoke void @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef nonnull %439)
          to label %442 unwind label %463

442:                                              ; preds = %440
  %443 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %44) #8
  call void @_ZNSt12__shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %44) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %44) #8
  %444 = call noundef ptr @_ZNKSt19__shared_ptr_accessI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %46) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull @.str.99, ptr noundef nonnull align 1 dereferenceable(1) %46)
          to label %445 unwind label %465

445:                                              ; preds = %442
  %446 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog11PrologQueryINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %444, ptr noundef nonnull %45)
          to label %447 unwind label %467

447:                                              ; preds = %445
  %448 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %446)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %46) #8
  br i1 %448, label %484, label %449

449:                                              ; preds = %447
  %450 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %451 unwind label %470

451:                                              ; preds = %449
  %452 = load ptr, ptr %450, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %47) #8
  %453 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %454 unwind label %472

454:                                              ; preds = %451
  %455 = load ptr, ptr %453, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %47, ptr noundef nonnull align 8 dereferenceable(30) %455, i32 noundef 251)
          to label %456 unwind label %472

456:                                              ; preds = %454
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %452, ptr noundef nonnull align 8 dereferenceable(30) %47, ptr noundef nonnull @.str.100)
          to label %457 unwind label %472

457:                                              ; preds = %456
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %47) #8
  br label %484

458:                                              ; preds = %428
  %459 = landingpad { ptr, i32 }
          cleanup
  br label %462

460:                                              ; preds = %436, %434, %431
  %461 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %43) #8
  br label %462

462:                                              ; preds = %460, %458
  %.pn74 = phi { ptr, i32 } [ %461, %460 ], [ %459, %458 ]
  invoke void @__cxa_end_catch()
          to label %951 unwind label %954

463:                                              ; preds = %440, %438
  %464 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %44) #8
  br label %951

465:                                              ; preds = %442
  %466 = landingpad { ptr, i32 }
          catch ptr null
  br label %469

467:                                              ; preds = %445
  %468 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #8
  br label %469

469:                                              ; preds = %467, %465
  %.pn76 = phi { ptr, i32 } [ %468, %467 ], [ %466, %465 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %46) #8
  br label %474

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

472:                                              ; preds = %456, %454, %451
  %473 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %47) #8
  br label %474

474:                                              ; preds = %472, %470, %469
  %.pn77 = phi { ptr, i32 } [ %473, %472 ], [ %471, %470 ], [ %.pn76, %469 ]
  %.2242 = extractvalue { ptr, i32 } %.pn77, 0
  %475 = call ptr @__cxa_begin_catch(ptr %.2242) #8
  %476 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %477 unwind label %502

477:                                              ; preds = %474
  %478 = load ptr, ptr %476, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %48) #8
  %479 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %480 unwind label %504

480:                                              ; preds = %477
  %481 = load ptr, ptr %479, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %48, ptr noundef nonnull align 8 dereferenceable(30) %481, i32 noundef 251)
          to label %482 unwind label %504

482:                                              ; preds = %480
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %478, ptr noundef nonnull align 8 dereferenceable(30) %48, ptr noundef nonnull @.str.101)
          to label %483 unwind label %504

483:                                              ; preds = %482
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %48) #8
  invoke void @__cxa_end_catch()
          to label %484 unwind label %137

484:                                              ; preds = %447, %457, %483
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %49) #8
  %485 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  %486 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %50) #8
  %487 = call noundef ptr @_ZNKSt19__shared_ptr_accessI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  invoke void @_ZNK23PrologQueryCompilerBaseIN6Prolog11HtnVariableEE6resultEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.74") align 8 %50, ptr noundef nonnull align 8 dereferenceable(64) %487)
          to label %488 unwind label %507

488:                                              ; preds = %484
  invoke void @_ZN15HtnGoalResolver10ResolveAllEP14HtnTermFactoryP10HtnRuleSetRKSt6vectorISt10shared_ptrI7HtnTermESaIS7_EEiiPlPiPS9_(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.82") align 8 %49, ptr noundef nonnull align 8 dereferenceable(64) %2, ptr noundef %485, ptr noundef %486, ptr noundef nonnull align 8 dereferenceable(24) %50, i32 noundef 0, i32 noundef 1000000, ptr noundef null, ptr noundef null, ptr noundef null)
          to label %489 unwind label %509

489:                                              ; preds = %488
  %490 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %49) #8
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %49) #8
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %50) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %50) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %49) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %51) #8
  %491 = call noundef ptr @_ZNKSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  invoke void @_ZN15HtnGoalResolver8ToStringB5cxx11EPKSt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EEb(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %51, ptr noundef %491, i1 noundef zeroext false)
          to label %492 unwind label %512

492:                                              ; preds = %489
  %493 = 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) %51) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %51) #8
  %494 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %495 unwind label %514

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

498:                                              ; preds = %495
  %499 = load ptr, ptr %497, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %52, ptr noundef nonnull align 8 dereferenceable(30) %499, i32 noundef 254)
          to label %500 unwind label %516

500:                                              ; preds = %498
  invoke void @_ZN8UnitTest10CheckEqualIA21_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %496, ptr noundef nonnull align 1 dereferenceable(21) @.str.115, ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(30) %52)
          to label %501 unwind label %516

501:                                              ; preds = %500
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %52) #8
  br label %528

502:                                              ; preds = %474
  %503 = landingpad { ptr, i32 }
          cleanup
  br label %506

504:                                              ; preds = %482, %480, %477
  %505 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %48) #8
  br label %506

506:                                              ; preds = %504, %502
  %.pn78 = phi { ptr, i32 } [ %505, %504 ], [ %503, %502 ]
  invoke void @__cxa_end_catch()
          to label %951 unwind label %954

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

509:                                              ; preds = %488
  %510 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %50) #8
  br label %511

511:                                              ; preds = %509, %507
  %.pn80 = phi { ptr, i32 } [ %510, %509 ], [ %508, %507 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %50) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %49) #8
  br label %951

512:                                              ; preds = %489
  %513 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %51) #8
  br label %951

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

516:                                              ; preds = %500, %498, %495
  %517 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %52) #8
  br label %518

518:                                              ; preds = %516, %514
  %.pn82 = phi { ptr, i32 } [ %517, %516 ], [ %515, %514 ]
  %.2545 = extractvalue { ptr, i32 } %.pn82, 0
  %519 = call ptr @__cxa_begin_catch(ptr %.2545) #8
  %520 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %521 unwind label %551

521:                                              ; preds = %518
  %522 = load ptr, ptr %520, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %53) #8
  %523 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %524 unwind label %553

524:                                              ; preds = %521
  %525 = load ptr, ptr %523, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %53, ptr noundef nonnull align 8 dereferenceable(30) %525, i32 noundef 254)
          to label %526 unwind label %553

526:                                              ; preds = %524
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %522, ptr noundef nonnull align 8 dereferenceable(30) %53, ptr noundef nonnull @.str.116)
          to label %527 unwind label %553

527:                                              ; preds = %526
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %53) #8
  invoke void @__cxa_end_catch()
          to label %528 unwind label %137

528:                                              ; preds = %527, %501
  %529 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #8
  invoke void @_ZN10HtnRuleSet8ClearAllEv(ptr noundef nonnull align 8 dereferenceable(144) %529)
          to label %530 unwind label %137

530:                                              ; preds = %528
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %54) #8
  %531 = invoke noalias noundef nonnull dereferenceable(88) ptr @_Znwm(i64 noundef 88) #9
          to label %532 unwind label %556

532:                                              ; preds = %530
  %533 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  %534 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  call void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactoryP10HtnRuleSet(ptr noundef nonnull align 8 dereferenceable(88) %531, ptr noundef %533, ptr noundef %534)
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %54, ptr noundef nonnull %531)
          to label %535 unwind label %556

535:                                              ; preds = %532
  %536 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %54) #8
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %54) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %54) #8
  %537 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %56) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef nonnull @.str.117, ptr noundef nonnull align 1 dereferenceable(1) %56)
          to label %538 unwind label %558

538:                                              ; preds = %535
  %539 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %537, ptr noundef nonnull %55)
          to label %540 unwind label %560

540:                                              ; preds = %538
  %541 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %539)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %56) #8
  br i1 %541, label %577, label %542

542:                                              ; preds = %540
  %543 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %544 unwind label %563

544:                                              ; preds = %542
  %545 = load ptr, ptr %543, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %57) #8
  %546 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %547 unwind label %565

547:                                              ; preds = %544
  %548 = load ptr, ptr %546, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %57, ptr noundef nonnull align 8 dereferenceable(30) %548, i32 noundef 259)
          to label %549 unwind label %565

549:                                              ; preds = %547
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %545, ptr noundef nonnull align 8 dereferenceable(30) %57, ptr noundef nonnull @.str.118)
          to label %550 unwind label %565

550:                                              ; preds = %549
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %57) #8
  br label %577

551:                                              ; preds = %518
  %552 = landingpad { ptr, i32 }
          cleanup
  br label %555

553:                                              ; preds = %526, %524, %521
  %554 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %53) #8
  br label %555

555:                                              ; preds = %553, %551
  %.pn83 = phi { ptr, i32 } [ %554, %553 ], [ %552, %551 ]
  invoke void @__cxa_end_catch()
          to label %951 unwind label %954

556:                                              ; preds = %532, %530
  %557 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %54) #8
  br label %951

558:                                              ; preds = %535
  %559 = landingpad { ptr, i32 }
          catch ptr null
  br label %562

560:                                              ; preds = %538
  %561 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #8
  br label %562

562:                                              ; preds = %560, %558
  %.pn85 = phi { ptr, i32 } [ %561, %560 ], [ %559, %558 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %56) #8
  br label %567

563:                                              ; preds = %542
  %564 = landingpad { ptr, i32 }
          catch ptr null
  br label %567

565:                                              ; preds = %549, %547, %544
  %566 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %57) #8
  br label %567

567:                                              ; preds = %565, %563, %562
  %.pn86 = phi { ptr, i32 } [ %566, %565 ], [ %564, %563 ], [ %.pn85, %562 ]
  %.28 = extractvalue { ptr, i32 } %.pn86, 0
  %568 = call ptr @__cxa_begin_catch(ptr %.28) #8
  %569 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %570 unwind label %597

570:                                              ; preds = %567
  %571 = load ptr, ptr %569, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %58) #8
  %572 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %573 unwind label %599

573:                                              ; preds = %570
  %574 = load ptr, ptr %572, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %58, ptr noundef nonnull align 8 dereferenceable(30) %574, i32 noundef 259)
          to label %575 unwind label %599

575:                                              ; preds = %573
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %571, ptr noundef nonnull align 8 dereferenceable(30) %58, ptr noundef nonnull @.str.119)
          to label %576 unwind label %599

576:                                              ; preds = %575
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %58) #8
  invoke void @__cxa_end_catch()
          to label %577 unwind label %137

577:                                              ; preds = %540, %550, %576
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %59) #8
  %578 = invoke noalias noundef nonnull dereferenceable(64) ptr @_Znwm(i64 noundef 64) #9
          to label %579 unwind label %602

579:                                              ; preds = %577
  %580 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  call void @_ZN23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactory(ptr noundef nonnull align 8 dereferenceable(64) %578, ptr noundef %580)
  invoke void @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %59, ptr noundef nonnull %578)
          to label %581 unwind label %602

581:                                              ; preds = %579
  %582 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %59) #8
  call void @_ZNSt12__shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %59) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %59) #8
  %583 = call noundef ptr @_ZNKSt19__shared_ptr_accessI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %61) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %60, ptr noundef nonnull @.str.99, ptr noundef nonnull align 1 dereferenceable(1) %61)
          to label %584 unwind label %604

584:                                              ; preds = %581
  %585 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog11PrologQueryINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %583, ptr noundef nonnull %60)
          to label %586 unwind label %606

586:                                              ; preds = %584
  %587 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %585)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %61) #8
  br i1 %587, label %623, label %588

588:                                              ; preds = %586
  %589 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %590 unwind label %609

590:                                              ; preds = %588
  %591 = load ptr, ptr %589, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %62) #8
  %592 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %593 unwind label %611

593:                                              ; preds = %590
  %594 = load ptr, ptr %592, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %62, ptr noundef nonnull align 8 dereferenceable(30) %594, i32 noundef 261)
          to label %595 unwind label %611

595:                                              ; preds = %593
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %591, ptr noundef nonnull align 8 dereferenceable(30) %62, ptr noundef nonnull @.str.100)
          to label %596 unwind label %611

596:                                              ; preds = %595
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %62) #8
  br label %623

597:                                              ; preds = %567
  %598 = landingpad { ptr, i32 }
          cleanup
  br label %601

599:                                              ; preds = %575, %573, %570
  %600 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %58) #8
  br label %601

601:                                              ; preds = %599, %597
  %.pn87 = phi { ptr, i32 } [ %600, %599 ], [ %598, %597 ]
  invoke void @__cxa_end_catch()
          to label %951 unwind label %954

602:                                              ; preds = %579, %577
  %603 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %59) #8
  br label %951

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

606:                                              ; preds = %584
  %607 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #8
  br label %608

608:                                              ; preds = %606, %604
  %.pn89 = phi { ptr, i32 } [ %607, %606 ], [ %605, %604 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %61) #8
  br label %613

609:                                              ; preds = %588
  %610 = landingpad { ptr, i32 }
          catch ptr null
  br label %613

611:                                              ; preds = %595, %593, %590
  %612 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %62) #8
  br label %613

613:                                              ; preds = %611, %609, %608
  %.pn90 = phi { ptr, i32 } [ %612, %611 ], [ %610, %609 ], [ %.pn89, %608 ]
  %.31 = extractvalue { ptr, i32 } %.pn90, 0
  %614 = call ptr @__cxa_begin_catch(ptr %.31) #8
  %615 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %616 unwind label %641

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

619:                                              ; preds = %616
  %620 = load ptr, ptr %618, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %63, ptr noundef nonnull align 8 dereferenceable(30) %620, i32 noundef 261)
          to label %621 unwind label %643

621:                                              ; preds = %619
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %617, ptr noundef nonnull align 8 dereferenceable(30) %63, ptr noundef nonnull @.str.101)
          to label %622 unwind label %643

622:                                              ; preds = %621
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %63) #8
  invoke void @__cxa_end_catch()
          to label %623 unwind label %137

623:                                              ; preds = %586, %596, %622
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %64) #8
  %624 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  %625 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %65) #8
  %626 = call noundef ptr @_ZNKSt19__shared_ptr_accessI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  invoke void @_ZNK23PrologQueryCompilerBaseIN6Prolog11HtnVariableEE6resultEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.74") align 8 %65, ptr noundef nonnull align 8 dereferenceable(64) %626)
          to label %627 unwind label %646

627:                                              ; preds = %623
  invoke void @_ZN15HtnGoalResolver10ResolveAllEP14HtnTermFactoryP10HtnRuleSetRKSt6vectorISt10shared_ptrI7HtnTermESaIS7_EEiiPlPiPS9_(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.82") align 8 %64, ptr noundef nonnull align 8 dereferenceable(64) %2, ptr noundef %624, ptr noundef %625, ptr noundef nonnull align 8 dereferenceable(24) %65, i32 noundef 0, i32 noundef 1000000, ptr noundef null, ptr noundef null, ptr noundef null)
          to label %628 unwind label %648

628:                                              ; preds = %627
  %629 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %64) #8
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %64) #8
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %65) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %65) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %64) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %66) #8
  %630 = call noundef ptr @_ZNKSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  invoke void @_ZN15HtnGoalResolver8ToStringB5cxx11EPKSt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EEb(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %66, ptr noundef %630, i1 noundef zeroext false)
          to label %631 unwind label %651

631:                                              ; preds = %628
  %632 = 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) %66) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %66) #8
  %633 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %634 unwind label %653

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

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

639:                                              ; preds = %637
  invoke void @_ZN8UnitTest10CheckEqualIA23_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %635, ptr noundef nonnull align 1 dereferenceable(23) @.str.120, ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(30) %67)
          to label %640 unwind label %655

640:                                              ; preds = %639
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %67) #8
  br label %667

641:                                              ; preds = %613
  %642 = landingpad { ptr, i32 }
          cleanup
  br label %645

643:                                              ; preds = %621, %619, %616
  %644 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %63) #8
  br label %645

645:                                              ; preds = %643, %641
  %.pn91 = phi { ptr, i32 } [ %644, %643 ], [ %642, %641 ]
  invoke void @__cxa_end_catch()
          to label %951 unwind label %954

646:                                              ; preds = %623
  %647 = landingpad { ptr, i32 }
          cleanup
  br label %650

648:                                              ; preds = %627
  %649 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %65) #8
  br label %650

650:                                              ; preds = %648, %646
  %.pn93 = phi { ptr, i32 } [ %649, %648 ], [ %647, %646 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %65) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %64) #8
  br label %951

651:                                              ; preds = %628
  %652 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %66) #8
  br label %951

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

655:                                              ; preds = %639, %637, %634
  %656 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %67) #8
  br label %657

657:                                              ; preds = %655, %653
  %.pn95 = phi { ptr, i32 } [ %656, %655 ], [ %654, %653 ]
  %.34 = extractvalue { ptr, i32 } %.pn95, 0
  %658 = call ptr @__cxa_begin_catch(ptr %.34) #8
  %659 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %660 unwind label %690

660:                                              ; preds = %657
  %661 = load ptr, ptr %659, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %68) #8
  %662 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %663 unwind label %692

663:                                              ; preds = %660
  %664 = load ptr, ptr %662, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %68, ptr noundef nonnull align 8 dereferenceable(30) %664, i32 noundef 264)
          to label %665 unwind label %692

665:                                              ; preds = %663
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %661, ptr noundef nonnull align 8 dereferenceable(30) %68, ptr noundef nonnull @.str.121)
          to label %666 unwind label %692

666:                                              ; preds = %665
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %68) #8
  invoke void @__cxa_end_catch()
          to label %667 unwind label %137

667:                                              ; preds = %666, %640
  %668 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #8
  invoke void @_ZN10HtnRuleSet8ClearAllEv(ptr noundef nonnull align 8 dereferenceable(144) %668)
          to label %669 unwind label %137

669:                                              ; preds = %667
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %69) #8
  %670 = invoke noalias noundef nonnull dereferenceable(88) ptr @_Znwm(i64 noundef 88) #9
          to label %671 unwind label %695

671:                                              ; preds = %669
  %672 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  %673 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  call void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactoryP10HtnRuleSet(ptr noundef nonnull align 8 dereferenceable(88) %670, ptr noundef %672, ptr noundef %673)
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %69, ptr noundef nonnull %670)
          to label %674 unwind label %695

674:                                              ; preds = %671
  %675 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %69) #8
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %69) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %69) #8
  %676 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %71) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %71) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %70, ptr noundef nonnull @.str.122, ptr noundef nonnull align 1 dereferenceable(1) %71)
          to label %677 unwind label %697

677:                                              ; preds = %674
  %678 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %676, ptr noundef nonnull %70)
          to label %679 unwind label %699

679:                                              ; preds = %677
  %680 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %678)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %70) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %71) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %71) #8
  br i1 %680, label %716, label %681

681:                                              ; preds = %679
  %682 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %683 unwind label %702

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

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

688:                                              ; preds = %686
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %684, ptr noundef nonnull align 8 dereferenceable(30) %72, ptr noundef nonnull @.str.123)
          to label %689 unwind label %704

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

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

692:                                              ; preds = %665, %663, %660
  %693 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %68) #8
  br label %694

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

695:                                              ; preds = %671, %669
  %696 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %69) #8
  br label %951

697:                                              ; preds = %674
  %698 = landingpad { ptr, i32 }
          catch ptr null
  br label %701

699:                                              ; preds = %677
  %700 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %70) #8
  br label %701

701:                                              ; preds = %699, %697
  %.pn98 = phi { ptr, i32 } [ %700, %699 ], [ %698, %697 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %71) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %71) #8
  br label %706

702:                                              ; preds = %681
  %703 = landingpad { ptr, i32 }
          catch ptr null
  br label %706

704:                                              ; preds = %688, %686, %683
  %705 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %72) #8
  br label %706

706:                                              ; preds = %704, %702, %701
  %.pn99 = phi { ptr, i32 } [ %705, %704 ], [ %703, %702 ], [ %.pn98, %701 ]
  %.37 = extractvalue { ptr, i32 } %.pn99, 0
  %707 = call ptr @__cxa_begin_catch(ptr %.37) #8
  %708 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %709 unwind label %736

709:                                              ; preds = %706
  %710 = load ptr, ptr %708, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %73) #8
  %711 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %712 unwind label %738

712:                                              ; preds = %709
  %713 = load ptr, ptr %711, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %73, ptr noundef nonnull align 8 dereferenceable(30) %713, i32 noundef 270)
          to label %714 unwind label %738

714:                                              ; preds = %712
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %710, ptr noundef nonnull align 8 dereferenceable(30) %73, ptr noundef nonnull @.str.124)
          to label %715 unwind label %738

715:                                              ; preds = %714
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %73) #8
  invoke void @__cxa_end_catch()
          to label %716 unwind label %137

716:                                              ; preds = %679, %689, %715
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %74) #8
  %717 = invoke noalias noundef nonnull dereferenceable(64) ptr @_Znwm(i64 noundef 64) #9
          to label %718 unwind label %741

718:                                              ; preds = %716
  %719 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  call void @_ZN23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactory(ptr noundef nonnull align 8 dereferenceable(64) %717, ptr noundef %719)
  invoke void @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %74, ptr noundef nonnull %717)
          to label %720 unwind label %741

720:                                              ; preds = %718
  %721 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %74) #8
  call void @_ZNSt12__shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %74) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %74) #8
  %722 = call noundef ptr @_ZNKSt19__shared_ptr_accessI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %76) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %76) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %75, ptr noundef nonnull @.str.99, ptr noundef nonnull align 1 dereferenceable(1) %76)
          to label %723 unwind label %743

723:                                              ; preds = %720
  %724 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog11PrologQueryINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %722, ptr noundef nonnull %75)
          to label %725 unwind label %745

725:                                              ; preds = %723
  %726 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %724)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %75) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %76) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %76) #8
  br i1 %726, label %762, label %727

727:                                              ; preds = %725
  %728 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %729 unwind label %748

729:                                              ; preds = %727
  %730 = load ptr, ptr %728, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %77) #8
  %731 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %732 unwind label %750

732:                                              ; preds = %729
  %733 = load ptr, ptr %731, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %77, ptr noundef nonnull align 8 dereferenceable(30) %733, i32 noundef 272)
          to label %734 unwind label %750

734:                                              ; preds = %732
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %730, ptr noundef nonnull align 8 dereferenceable(30) %77, ptr noundef nonnull @.str.100)
          to label %735 unwind label %750

735:                                              ; preds = %734
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %77) #8
  br label %762

736:                                              ; preds = %706
  %737 = landingpad { ptr, i32 }
          cleanup
  br label %740

738:                                              ; preds = %714, %712, %709
  %739 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %73) #8
  br label %740

740:                                              ; preds = %738, %736
  %.pn100 = phi { ptr, i32 } [ %739, %738 ], [ %737, %736 ]
  invoke void @__cxa_end_catch()
          to label %951 unwind label %954

741:                                              ; preds = %718, %716
  %742 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %74) #8
  br label %951

743:                                              ; preds = %720
  %744 = landingpad { ptr, i32 }
          catch ptr null
  br label %747

745:                                              ; preds = %723
  %746 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %75) #8
  br label %747

747:                                              ; preds = %745, %743
  %.pn102 = phi { ptr, i32 } [ %746, %745 ], [ %744, %743 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %76) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %76) #8
  br label %752

748:                                              ; preds = %727
  %749 = landingpad { ptr, i32 }
          catch ptr null
  br label %752

750:                                              ; preds = %734, %732, %729
  %751 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %77) #8
  br label %752

752:                                              ; preds = %750, %748, %747
  %.pn103 = phi { ptr, i32 } [ %751, %750 ], [ %749, %748 ], [ %.pn102, %747 ]
  %.40 = extractvalue { ptr, i32 } %.pn103, 0
  %753 = call ptr @__cxa_begin_catch(ptr %.40) #8
  %754 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %755 unwind label %780

755:                                              ; preds = %752
  %756 = load ptr, ptr %754, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %78) #8
  %757 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %758 unwind label %782

758:                                              ; preds = %755
  %759 = load ptr, ptr %757, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %78, ptr noundef nonnull align 8 dereferenceable(30) %759, i32 noundef 272)
          to label %760 unwind label %782

760:                                              ; preds = %758
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %756, ptr noundef nonnull align 8 dereferenceable(30) %78, ptr noundef nonnull @.str.101)
          to label %761 unwind label %782

761:                                              ; preds = %760
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %78) #8
  invoke void @__cxa_end_catch()
          to label %762 unwind label %137

762:                                              ; preds = %725, %735, %761
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %79) #8
  %763 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  %764 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %80) #8
  %765 = call noundef ptr @_ZNKSt19__shared_ptr_accessI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  invoke void @_ZNK23PrologQueryCompilerBaseIN6Prolog11HtnVariableEE6resultEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.74") align 8 %80, ptr noundef nonnull align 8 dereferenceable(64) %765)
          to label %766 unwind label %785

766:                                              ; preds = %762
  invoke void @_ZN15HtnGoalResolver10ResolveAllEP14HtnTermFactoryP10HtnRuleSetRKSt6vectorISt10shared_ptrI7HtnTermESaIS7_EEiiPlPiPS9_(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.82") align 8 %79, ptr noundef nonnull align 8 dereferenceable(64) %2, ptr noundef %763, ptr noundef %764, ptr noundef nonnull align 8 dereferenceable(24) %80, i32 noundef 0, i32 noundef 1000000, ptr noundef null, ptr noundef null, ptr noundef null)
          to label %767 unwind label %787

767:                                              ; preds = %766
  %768 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %79) #8
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %79) #8
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %80) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %80) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %79) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %81) #8
  %769 = call noundef ptr @_ZNKSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  invoke void @_ZN15HtnGoalResolver8ToStringB5cxx11EPKSt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EEb(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %81, ptr noundef %769, i1 noundef zeroext false)
          to label %770 unwind label %790

770:                                              ; preds = %767
  %771 = 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) %81) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %81) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %81) #8
  %772 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %773 unwind label %792

773:                                              ; preds = %770
  %774 = load ptr, ptr %772, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %82) #8
  %775 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %776 unwind label %794

776:                                              ; preds = %773
  %777 = load ptr, ptr %775, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %82, ptr noundef nonnull align 8 dereferenceable(30) %777, i32 noundef 275)
          to label %778 unwind label %794

778:                                              ; preds = %776
  invoke void @_ZN8UnitTest10CheckEqualIA19_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %774, ptr noundef nonnull align 1 dereferenceable(19) @.str.125, ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(30) %82)
          to label %779 unwind label %794

779:                                              ; preds = %778
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %82) #8
  br label %806

780:                                              ; preds = %752
  %781 = landingpad { ptr, i32 }
          cleanup
  br label %784

782:                                              ; preds = %760, %758, %755
  %783 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %78) #8
  br label %784

784:                                              ; preds = %782, %780
  %.pn104 = phi { ptr, i32 } [ %783, %782 ], [ %781, %780 ]
  invoke void @__cxa_end_catch()
          to label %951 unwind label %954

785:                                              ; preds = %762
  %786 = landingpad { ptr, i32 }
          cleanup
  br label %789

787:                                              ; preds = %766
  %788 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %80) #8
  br label %789

789:                                              ; preds = %787, %785
  %.pn106 = phi { ptr, i32 } [ %788, %787 ], [ %786, %785 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %80) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %79) #8
  br label %951

790:                                              ; preds = %767
  %791 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %81) #8
  br label %951

792:                                              ; preds = %770
  %793 = landingpad { ptr, i32 }
          catch ptr null
  br label %796

794:                                              ; preds = %778, %776, %773
  %795 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %82) #8
  br label %796

796:                                              ; preds = %794, %792
  %.pn108 = phi { ptr, i32 } [ %795, %794 ], [ %793, %792 ]
  %.43 = extractvalue { ptr, i32 } %.pn108, 0
  %797 = call ptr @__cxa_begin_catch(ptr %.43) #8
  %798 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %799 unwind label %829

799:                                              ; preds = %796
  %800 = load ptr, ptr %798, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %83) #8
  %801 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %802 unwind label %831

802:                                              ; preds = %799
  %803 = load ptr, ptr %801, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %83, ptr noundef nonnull align 8 dereferenceable(30) %803, i32 noundef 275)
          to label %804 unwind label %831

804:                                              ; preds = %802
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %800, ptr noundef nonnull align 8 dereferenceable(30) %83, ptr noundef nonnull @.str.126)
          to label %805 unwind label %831

805:                                              ; preds = %804
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %83) #8
  invoke void @__cxa_end_catch()
          to label %806 unwind label %137

806:                                              ; preds = %805, %779
  %807 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #8
  invoke void @_ZN10HtnRuleSet8ClearAllEv(ptr noundef nonnull align 8 dereferenceable(144) %807)
          to label %808 unwind label %137

808:                                              ; preds = %806
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %84) #8
  %809 = invoke noalias noundef nonnull dereferenceable(88) ptr @_Znwm(i64 noundef 88) #9
          to label %810 unwind label %834

810:                                              ; preds = %808
  %811 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  %812 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  call void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactoryP10HtnRuleSet(ptr noundef nonnull align 8 dereferenceable(88) %809, ptr noundef %811, ptr noundef %812)
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %84, ptr noundef nonnull %809)
          to label %813 unwind label %834

813:                                              ; preds = %810
  %814 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %84) #8
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %84) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %84) #8
  %815 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %86) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %86) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %85, ptr noundef nonnull @.str.127, ptr noundef nonnull align 1 dereferenceable(1) %86)
          to label %816 unwind label %836

816:                                              ; preds = %813
  %817 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %815, ptr noundef nonnull %85)
          to label %818 unwind label %838

818:                                              ; preds = %816
  %819 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %817)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %85) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %86) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %86) #8
  br i1 %819, label %855, label %820

820:                                              ; preds = %818
  %821 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %822 unwind label %841

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

825:                                              ; preds = %822
  %826 = load ptr, ptr %824, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %87, ptr noundef nonnull align 8 dereferenceable(30) %826, i32 noundef 281)
          to label %827 unwind label %843

827:                                              ; preds = %825
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %823, ptr noundef nonnull align 8 dereferenceable(30) %87, ptr noundef nonnull @.str.128)
          to label %828 unwind label %843

828:                                              ; preds = %827
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %87) #8
  br label %855

829:                                              ; preds = %796
  %830 = landingpad { ptr, i32 }
          cleanup
  br label %833

831:                                              ; preds = %804, %802, %799
  %832 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %83) #8
  br label %833

833:                                              ; preds = %831, %829
  %.pn109 = phi { ptr, i32 } [ %832, %831 ], [ %830, %829 ]
  invoke void @__cxa_end_catch()
          to label %951 unwind label %954

834:                                              ; preds = %810, %808
  %835 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %84) #8
  br label %951

836:                                              ; preds = %813
  %837 = landingpad { ptr, i32 }
          catch ptr null
  br label %840

838:                                              ; preds = %816
  %839 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %85) #8
  br label %840

840:                                              ; preds = %838, %836
  %.pn111 = phi { ptr, i32 } [ %839, %838 ], [ %837, %836 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %86) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %86) #8
  br label %845

841:                                              ; preds = %820
  %842 = landingpad { ptr, i32 }
          catch ptr null
  br label %845

843:                                              ; preds = %827, %825, %822
  %844 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %87) #8
  br label %845

845:                                              ; preds = %843, %841, %840
  %.pn112 = phi { ptr, i32 } [ %844, %843 ], [ %842, %841 ], [ %.pn111, %840 ]
  %.46 = extractvalue { ptr, i32 } %.pn112, 0
  %846 = call ptr @__cxa_begin_catch(ptr %.46) #8
  %847 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %848 unwind label %875

848:                                              ; preds = %845
  %849 = load ptr, ptr %847, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %88) #8
  %850 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %851 unwind label %877

851:                                              ; preds = %848
  %852 = load ptr, ptr %850, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %88, ptr noundef nonnull align 8 dereferenceable(30) %852, i32 noundef 281)
          to label %853 unwind label %877

853:                                              ; preds = %851
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %849, ptr noundef nonnull align 8 dereferenceable(30) %88, ptr noundef nonnull @.str.129)
          to label %854 unwind label %877

854:                                              ; preds = %853
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %88) #8
  invoke void @__cxa_end_catch()
          to label %855 unwind label %137

855:                                              ; preds = %818, %828, %854
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %89) #8
  %856 = invoke noalias noundef nonnull dereferenceable(64) ptr @_Znwm(i64 noundef 64) #9
          to label %857 unwind label %880

857:                                              ; preds = %855
  %858 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  call void @_ZN23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactory(ptr noundef nonnull align 8 dereferenceable(64) %856, ptr noundef %858)
  invoke void @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %89, ptr noundef nonnull %856)
          to label %859 unwind label %880

859:                                              ; preds = %857
  %860 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %89) #8
  call void @_ZNSt12__shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %89) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %89) #8
  %861 = call noundef ptr @_ZNKSt19__shared_ptr_accessI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %91) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %91) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %90, ptr noundef nonnull @.str.130, ptr noundef nonnull align 1 dereferenceable(1) %91)
          to label %862 unwind label %882

862:                                              ; preds = %859
  %863 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog11PrologQueryINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %861, ptr noundef nonnull %90)
          to label %864 unwind label %884

864:                                              ; preds = %862
  %865 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %863)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %90) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %91) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %91) #8
  br i1 %865, label %901, label %866

866:                                              ; preds = %864
  %867 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %868 unwind label %887

868:                                              ; preds = %866
  %869 = load ptr, ptr %867, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %92) #8
  %870 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %871 unwind label %889

871:                                              ; preds = %868
  %872 = load ptr, ptr %870, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %92, ptr noundef nonnull align 8 dereferenceable(30) %872, i32 noundef 283)
          to label %873 unwind label %889

873:                                              ; preds = %871
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %869, ptr noundef nonnull align 8 dereferenceable(30) %92, ptr noundef nonnull @.str.131)
          to label %874 unwind label %889

874:                                              ; preds = %873
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %92) #8
  br label %901

875:                                              ; preds = %845
  %876 = landingpad { ptr, i32 }
          cleanup
  br label %879

877:                                              ; preds = %853, %851, %848
  %878 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %88) #8
  br label %879

879:                                              ; preds = %877, %875
  %.pn113 = phi { ptr, i32 } [ %878, %877 ], [ %876, %875 ]
  invoke void @__cxa_end_catch()
          to label %951 unwind label %954

880:                                              ; preds = %857, %855
  %881 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %89) #8
  br label %951

882:                                              ; preds = %859
  %883 = landingpad { ptr, i32 }
          catch ptr null
  br label %886

884:                                              ; preds = %862
  %885 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %90) #8
  br label %886

886:                                              ; preds = %884, %882
  %.pn115 = phi { ptr, i32 } [ %885, %884 ], [ %883, %882 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %91) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %91) #8
  br label %891

887:                                              ; preds = %866
  %888 = landingpad { ptr, i32 }
          catch ptr null
  br label %891

889:                                              ; preds = %873, %871, %868
  %890 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %92) #8
  br label %891

891:                                              ; preds = %889, %887, %886
  %.pn116 = phi { ptr, i32 } [ %890, %889 ], [ %888, %887 ], [ %.pn115, %886 ]
  %.49 = extractvalue { ptr, i32 } %.pn116, 0
  %892 = call ptr @__cxa_begin_catch(ptr %.49) #8
  %893 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %894 unwind label %919

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

897:                                              ; preds = %894
  %898 = load ptr, ptr %896, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %93, ptr noundef nonnull align 8 dereferenceable(30) %898, i32 noundef 283)
          to label %899 unwind label %921

899:                                              ; preds = %897
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %895, ptr noundef nonnull align 8 dereferenceable(30) %93, ptr noundef nonnull @.str.132)
          to label %900 unwind label %921

900:                                              ; preds = %899
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %93) #8
  invoke void @__cxa_end_catch()
          to label %901 unwind label %137

901:                                              ; preds = %864, %874, %900
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %94) #8
  %902 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  %903 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %95) #8
  %904 = call noundef ptr @_ZNKSt19__shared_ptr_accessI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  invoke void @_ZNK23PrologQueryCompilerBaseIN6Prolog11HtnVariableEE6resultEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.74") align 8 %95, ptr noundef nonnull align 8 dereferenceable(64) %904)
          to label %905 unwind label %924

905:                                              ; preds = %901
  invoke void @_ZN15HtnGoalResolver10ResolveAllEP14HtnTermFactoryP10HtnRuleSetRKSt6vectorISt10shared_ptrI7HtnTermESaIS7_EEiiPlPiPS9_(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.82") align 8 %94, ptr noundef nonnull align 8 dereferenceable(64) %2, ptr noundef %902, ptr noundef %903, ptr noundef nonnull align 8 dereferenceable(24) %95, i32 noundef 0, i32 noundef 1000000, ptr noundef null, ptr noundef null, ptr noundef null)
          to label %906 unwind label %926

906:                                              ; preds = %905
  %907 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrISt6vectorIS0_ISt4pairIS_I7HtnTermES3_ESaIS4_EESaIS6_EEEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %94) #8
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %94) #8
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %95) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %95) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %94) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %96) #8
  %908 = call noundef ptr @_ZNKSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  invoke void @_ZN15HtnGoalResolver8ToStringB5cxx11EPKSt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EEb(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %96, ptr noundef %908, i1 noundef zeroext false)
          to label %909 unwind label %929

909:                                              ; preds = %906
  %910 = 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) %96) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %96) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %96) #8
  %911 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %912 unwind label %931

912:                                              ; preds = %909
  %913 = load ptr, ptr %911, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %97) #8
  %914 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %915 unwind label %933

915:                                              ; preds = %912
  %916 = load ptr, ptr %914, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %97, ptr noundef nonnull align 8 dereferenceable(30) %916, i32 noundef 286)
          to label %917 unwind label %933

917:                                              ; preds = %915
  invoke void @_ZN8UnitTest10CheckEqualIA24_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRNS_11TestResultsERKT_RKT0_RKNS_11TestDetailsE(ptr noundef nonnull align 8 dereferenceable(21) %913, ptr noundef nonnull align 1 dereferenceable(24) @.str.133, ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(30) %97)
          to label %918 unwind label %933

918:                                              ; preds = %917
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %97) #8
  br label %945

919:                                              ; preds = %891
  %920 = landingpad { ptr, i32 }
          cleanup
  br label %923

921:                                              ; preds = %899, %897, %894
  %922 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %93) #8
  br label %923

923:                                              ; preds = %921, %919
  %.pn117 = phi { ptr, i32 } [ %922, %921 ], [ %920, %919 ]
  invoke void @__cxa_end_catch()
          to label %951 unwind label %954

924:                                              ; preds = %901
  %925 = landingpad { ptr, i32 }
          cleanup
  br label %928

926:                                              ; preds = %905
  %927 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorISt10shared_ptrI7HtnTermESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %95) #8
  br label %928

928:                                              ; preds = %926, %924
  %.pn119 = phi { ptr, i32 } [ %927, %926 ], [ %925, %924 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %95) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %94) #8
  br label %951

929:                                              ; preds = %906
  %930 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %96) #8
  br label %951

931:                                              ; preds = %909
  %932 = landingpad { ptr, i32 }
          catch ptr null
  br label %935

933:                                              ; preds = %917, %915, %912
  %934 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %97) #8
  br label %935

935:                                              ; preds = %933, %931
  %.pn121 = phi { ptr, i32 } [ %934, %933 ], [ %932, %931 ]
  %.52 = extractvalue { ptr, i32 } %.pn121, 0
  %936 = call ptr @__cxa_begin_catch(ptr %.52) #8
  %937 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %938 unwind label %946

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

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

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

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

945:                                              ; preds = %944, %918
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  call void @_ZNSt12__shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  call void @_ZNSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  call void @_ZNSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #8
  call void @_ZN15HtnGoalResolverD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %2) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #8
  ret void

946:                                              ; preds = %935
  %947 = landingpad { ptr, i32 }
          cleanup
  br label %950

948:                                              ; preds = %943, %941, %938
  %949 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %98) #8
  br label %950

950:                                              ; preds = %948, %946
  %.pn122 = phi { ptr, i32 } [ %949, %948 ], [ %947, %946 ]
  invoke void @__cxa_end_catch()
          to label %951 unwind label %954

951:                                              ; preds = %950, %923, %879, %833, %784, %740, %694, %645, %601, %555, %506, %462, %416, %367, %323, %277, %228, %184, %929, %928, %880, %834, %790, %789, %741, %695, %651, %650, %602, %556, %512, %511, %463, %417, %373, %372, %324, %278, %234, %233, %185, %139, %137
  %.pn124 = phi { ptr, i32 } [ %138, %137 ], [ %.pn122, %950 ], [ %930, %929 ], [ %.pn119, %928 ], [ %.pn117, %923 ], [ %881, %880 ], [ %.pn113, %879 ], [ %835, %834 ], [ %.pn109, %833 ], [ %791, %790 ], [ %.pn106, %789 ], [ %.pn104, %784 ], [ %742, %741 ], [ %.pn100, %740 ], [ %696, %695 ], [ %.pn96, %694 ], [ %652, %651 ], [ %.pn93, %650 ], [ %.pn91, %645 ], [ %603, %602 ], [ %.pn87, %601 ], [ %557, %556 ], [ %.pn83, %555 ], [ %513, %512 ], [ %.pn80, %511 ], [ %.pn78, %506 ], [ %464, %463 ], [ %.pn74, %462 ], [ %418, %417 ], [ %.pn70, %416 ], [ %374, %373 ], [ %.pn67, %372 ], [ %.pn65, %367 ], [ %325, %324 ], [ %.pn61, %323 ], [ %279, %278 ], [ %.pn57, %277 ], [ %235, %234 ], [ %.pn54, %233 ], [ %.pn52, %228 ], [ %186, %185 ], [ %.pn48, %184 ], [ %140, %139 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  call void @_ZNSt12__shared_ptrISt6vectorIS0_ISt4pairISt10shared_ptrI7HtnTermES4_ESaIS5_EESaIS7_EELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  call void @_ZNSt12__shared_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  call void @_ZNSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  br label %952

952:                                              ; preds = %951, %135, %133
  %.pn124.pn = phi { ptr, i32 } [ %.pn124, %951 ], [ %134, %133 ], [ %136, %135 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  call void @_ZNSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #8
  br label %953

953:                                              ; preds = %952, %131, %129
  %.pn124.pn.pn = phi { ptr, i32 } [ %.pn124.pn, %952 ], [ %130, %129 ], [ %132, %131 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #8
  call void @_ZN15HtnGoalResolverD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %2) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #8
  resume { ptr, i32 } %.pn124.pn.pn

954:                                              ; preds = %950, %923, %879, %833, %784, %740, %694, %645, %601, %555, %506, %462, %416, %367, %323, %277, %228, %184
  %955 = landingpad { ptr, i32 }
          catch ptr null
  %956 = extractvalue { ptr, i32 } %955, 0
  call void @__clang_call_terminate(ptr %956) #11
  unreachable
}

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

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

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

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

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

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

; 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_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_ptrI23PrologQueryCompilerBaseIN6Prolog11HtnVariableEELN9__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 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nobuiltin 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 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin nounwind }
attributes #11 = { noreturn nounwind }

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

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


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