; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::set" = type { %"class.std::_Rb_tree.64" }
%"class.std::_Rb_tree.64" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::_Identity<std::__cxx11::basic_string<char>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::_Identity<std::__cxx11::basic_string<char>>, 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_count" = type { ptr }
%"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.53" = type { %"class.std::__shared_ptr.54" }
%"class.std::__shared_ptr.54" = type { ptr, %"class.std::__shared_count" }
%"class.UnitTest::TestDetails" = type <{ ptr, ptr, ptr, i32, i8, i8, [2 x i8] }>
%"struct.std::_Rb_tree_const_iterator" = type { ptr }

@.str.18 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [135 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [113 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [125 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [155 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [120 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [115 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [145 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [128 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [96 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 uwtable
declare dso_local void @_ZNSt10shared_ptrI15HtnGoalResolverEC2IS0_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt19__shared_ptr_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: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #6

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

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

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

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

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

declare ptr @__cxa_begin_catch(ptr)

declare void @__cxa_end_catch()

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #8

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

91:                                               ; preds = %1
  call void @_ZNSt10shared_ptrI14HtnTermFactoryEC2IS0_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef %90)
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #9
  %92 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 144) #10
          to label %93 unwind label %130

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

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

95:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #9
  call void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #9
  %96 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 64) #10
          to label %97 unwind label %138

97:                                               ; preds = %95
  invoke void @_ZN15HtnGoalResolverC1Ev(ptr noundef nonnull align 8 dereferenceable(64) %96)
          to label %98 unwind label %142

98:                                               ; preds = %97
  invoke void @_ZNSt10shared_ptrI15HtnGoalResolverEC2IS0_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef %96)
          to label %99 unwind label %138

99:                                               ; preds = %98
  call void @llvm.lifetime.start.p0(i64 48, ptr %9) #9
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  %100 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %6) #9
  invoke void @_ZN10HtnRuleSet8ClearAllEv(ptr noundef nonnull align 8 dereferenceable(144) %100)
          to label %101 unwind label %146

101:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #9
  %102 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 88) #10
          to label %103 unwind label %150

103:                                              ; preds = %101
  %104 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #9
  %105 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %6) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactoryP10HtnRuleSet(ptr noundef nonnull align 8 dereferenceable(88) %102, ptr noundef %104, ptr noundef %105)
          to label %106 unwind label %154

106:                                              ; preds = %103
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef %102)
          to label %107 unwind label %150

107:                                              ; preds = %106
  %108 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %11) #9
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #9
  br label %109

109:                                              ; preds = %107
  %110 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %12, ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.18)
          to label %111 unwind label %159

111:                                              ; preds = %109
  %112 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %110, ptr noundef %12)
          to label %113 unwind label %163

113:                                              ; preds = %111
  %114 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %112)
          to label %115 unwind label %163

115:                                              ; preds = %113
  %116 = xor i1 %114, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #9
  br i1 %116, label %117, label %208

117:                                              ; preds = %115
  %118 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %119 unwind label %168

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

122:                                              ; preds = %119
  %123 = load ptr, ptr %121, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %14, ptr noundef nonnull align 8 dereferenceable(30) %123, i32 noundef 85)
          to label %124 unwind label %172

124:                                              ; preds = %122
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %120, ptr noundef nonnull align 8 dereferenceable(30) %14, ptr noundef @.str.19)
          to label %125 unwind label %172

125:                                              ; preds = %124
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #9
  br label %208

126:                                              ; preds = %1
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %4, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %5, align 4
  call void @_ZdlPvm(ptr noundef %90, i64 noundef 33088) #11
  br label %1383

130:                                              ; preds = %94, %91
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %4, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %5, align 4
  br label %1382

134:                                              ; preds = %93
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %4, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %5, align 4
  call void @_ZdlPvm(ptr noundef %92, i64 noundef 144) #11
  br label %1382

138:                                              ; preds = %98, %95
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %4, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %5, align 4
  br label %1381

142:                                              ; preds = %97
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %4, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %5, align 4
  call void @_ZdlPvm(ptr noundef %96, i64 noundef 64) #11
  br label %1381

146:                                              ; preds = %1364, %1306, %1249, %1194, %1120, %1116, %1061, %987, %983, %925, %868, %813, %739, %735, %678, %622, %567, %493, %489, %431, %374, %319, %245, %241, %186, %99
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %4, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %5, align 4
  br label %1380

150:                                              ; preds = %106, %101
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %4, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %5, align 4
  br label %158

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

158:                                              ; preds = %154, %150
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #9
  br label %1380

159:                                              ; preds = %109
  %160 = landingpad { ptr, i32 }
          catch ptr null
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %4, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %5, align 4
  br label %167

163:                                              ; preds = %113, %111
  %164 = landingpad { ptr, i32 }
          catch ptr null
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %4, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #9
  br label %167

167:                                              ; preds = %163, %159
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #9
  br label %176

168:                                              ; preds = %117
  %169 = landingpad { ptr, i32 }
          catch ptr null
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %4, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %5, align 4
  br label %176

172:                                              ; preds = %124, %122, %119
  %173 = landingpad { ptr, i32 }
          catch ptr null
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %4, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #9
  br label %176

176:                                              ; preds = %172, %168, %167
  %177 = load ptr, ptr %4, align 8
  %178 = call ptr @__cxa_begin_catch(ptr %177) #9
  %179 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %180 unwind label %209

180:                                              ; preds = %176
  %181 = load ptr, ptr %179, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #9
  %182 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %183 unwind label %213

183:                                              ; preds = %180
  %184 = load ptr, ptr %182, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %15, ptr noundef nonnull align 8 dereferenceable(30) %184, i32 noundef 85)
          to label %185 unwind label %213

185:                                              ; preds = %183
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %181, ptr noundef nonnull align 8 dereferenceable(30) %15, ptr noundef @.str.20)
          to label %186 unwind label %213

186:                                              ; preds = %185
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #9
  invoke void @__cxa_end_catch()
          to label %187 unwind label %146

187:                                              ; preds = %186
  br label %188

188:                                              ; preds = %208, %187
  br label %189

189:                                              ; preds = %188
  br label %190

190:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 48, ptr %16) #9
  %191 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @_ZNSt10shared_ptrI15HtnGoalResolverEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(16) %8) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE19FindRuleLogicErrorsB5cxx11ESt10shared_ptrI15HtnGoalResolverE(ptr dead_on_unwind writable sret(%"class.std::set") align 8 %16, ptr noundef nonnull align 8 dereferenceable(88) %191, ptr noundef %17)
          to label %192 unwind label %219

192:                                              ; preds = %190
  %193 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(48) %16) #9
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #9
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #9
  br label %194

194:                                              ; preds = %192
  %195 = call noundef i64 @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #9
  %196 = icmp eq i64 %195, 0
  %197 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %196)
          to label %198 unwind label %223

198:                                              ; preds = %194
  br i1 %197, label %272, label %199

199:                                              ; preds = %198
  %200 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %201 unwind label %223

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

204:                                              ; preds = %201
  %205 = load ptr, ptr %203, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %18, ptr noundef nonnull align 8 dereferenceable(30) %205, i32 noundef 87)
          to label %206 unwind label %227

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

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

208:                                              ; preds = %125, %115
  br label %188

209:                                              ; preds = %176
  %210 = landingpad { ptr, i32 }
          cleanup
  %211 = extractvalue { ptr, i32 } %210, 0
  store ptr %211, ptr %4, align 8
  %212 = extractvalue { ptr, i32 } %210, 1
  store i32 %212, ptr %5, align 4
  br label %217

213:                                              ; preds = %185, %183, %180
  %214 = landingpad { ptr, i32 }
          cleanup
  %215 = extractvalue { ptr, i32 } %214, 0
  store ptr %215, ptr %4, align 8
  %216 = extractvalue { ptr, i32 } %214, 1
  store i32 %216, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #9
  br label %217

217:                                              ; preds = %213, %209
  invoke void @__cxa_end_catch()
          to label %218 unwind label %1389

218:                                              ; preds = %217
  br label %1380

219:                                              ; preds = %190
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %4, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %5, align 4
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #9
  br label %1380

223:                                              ; preds = %199, %194
  %224 = landingpad { ptr, i32 }
          catch ptr null
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %4, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %5, align 4
  br label %231

227:                                              ; preds = %206, %204, %201
  %228 = landingpad { ptr, i32 }
          catch ptr null
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %4, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #9
  br label %231

231:                                              ; preds = %227, %223
  %232 = load ptr, ptr %4, align 8
  %233 = call ptr @__cxa_begin_catch(ptr %232) #9
  %234 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %235 unwind label %273

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

238:                                              ; preds = %235
  %239 = load ptr, ptr %237, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %19, ptr noundef nonnull align 8 dereferenceable(30) %239, i32 noundef 87)
          to label %240 unwind label %277

240:                                              ; preds = %238
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %236, ptr noundef nonnull align 8 dereferenceable(30) %19, ptr noundef @.str.22)
          to label %241 unwind label %277

241:                                              ; preds = %240
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #9
  invoke void @__cxa_end_catch()
          to label %242 unwind label %146

242:                                              ; preds = %241
  br label %243

243:                                              ; preds = %272, %242
  br label %244

244:                                              ; preds = %243
  br label %245

245:                                              ; preds = %244
  %246 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %6) #9
  invoke void @_ZN10HtnRuleSet8ClearAllEv(ptr noundef nonnull align 8 dereferenceable(144) %246)
          to label %247 unwind label %146

247:                                              ; preds = %245
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #9
  %248 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 88) #10
          to label %249 unwind label %283

249:                                              ; preds = %247
  %250 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #9
  %251 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %6) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactoryP10HtnRuleSet(ptr noundef nonnull align 8 dereferenceable(88) %248, ptr noundef %250, ptr noundef %251)
          to label %252 unwind label %287

252:                                              ; preds = %249
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef %248)
          to label %253 unwind label %283

253:                                              ; preds = %252
  %254 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %20) #9
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #9
  br label %255

255:                                              ; preds = %253
  %256 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %21, ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef @.str.23)
          to label %257 unwind label %292

257:                                              ; preds = %255
  %258 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %256, ptr noundef %21)
          to label %259 unwind label %296

259:                                              ; preds = %257
  %260 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %258)
          to label %261 unwind label %296

261:                                              ; preds = %259
  %262 = xor i1 %260, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #9
  br i1 %262, label %263, label %341

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

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

268:                                              ; preds = %265
  %269 = load ptr, ptr %267, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %23, ptr noundef nonnull align 8 dereferenceable(30) %269, i32 noundef 95)
          to label %270 unwind label %305

270:                                              ; preds = %268
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %266, ptr noundef nonnull align 8 dereferenceable(30) %23, ptr noundef @.str.24)
          to label %271 unwind label %305

271:                                              ; preds = %270
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #9
  br label %341

272:                                              ; preds = %207, %198
  br label %243

273:                                              ; preds = %231
  %274 = landingpad { ptr, i32 }
          cleanup
  %275 = extractvalue { ptr, i32 } %274, 0
  store ptr %275, ptr %4, align 8
  %276 = extractvalue { ptr, i32 } %274, 1
  store i32 %276, ptr %5, align 4
  br label %281

277:                                              ; preds = %240, %238, %235
  %278 = landingpad { ptr, i32 }
          cleanup
  %279 = extractvalue { ptr, i32 } %278, 0
  store ptr %279, ptr %4, align 8
  %280 = extractvalue { ptr, i32 } %278, 1
  store i32 %280, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #9
  br label %281

281:                                              ; preds = %277, %273
  invoke void @__cxa_end_catch()
          to label %282 unwind label %1389

282:                                              ; preds = %281
  br label %1380

283:                                              ; preds = %252, %247
  %284 = landingpad { ptr, i32 }
          cleanup
  %285 = extractvalue { ptr, i32 } %284, 0
  store ptr %285, ptr %4, align 8
  %286 = extractvalue { ptr, i32 } %284, 1
  store i32 %286, ptr %5, align 4
  br label %291

287:                                              ; preds = %249
  %288 = landingpad { ptr, i32 }
          cleanup
  %289 = extractvalue { ptr, i32 } %288, 0
  store ptr %289, ptr %4, align 8
  %290 = extractvalue { ptr, i32 } %288, 1
  store i32 %290, ptr %5, align 4
  call void @_ZdlPvm(ptr noundef %248, i64 noundef 88) #11
  br label %291

291:                                              ; preds = %287, %283
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #9
  br label %1380

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

296:                                              ; preds = %259, %257
  %297 = landingpad { ptr, i32 }
          catch ptr null
  %298 = extractvalue { ptr, i32 } %297, 0
  store ptr %298, ptr %4, align 8
  %299 = extractvalue { ptr, i32 } %297, 1
  store i32 %299, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  br label %300

300:                                              ; preds = %296, %292
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #9
  br label %309

301:                                              ; preds = %263
  %302 = landingpad { ptr, i32 }
          catch ptr null
  %303 = extractvalue { ptr, i32 } %302, 0
  store ptr %303, ptr %4, align 8
  %304 = extractvalue { ptr, i32 } %302, 1
  store i32 %304, ptr %5, align 4
  br label %309

305:                                              ; preds = %270, %268, %265
  %306 = landingpad { ptr, i32 }
          catch ptr null
  %307 = extractvalue { ptr, i32 } %306, 0
  store ptr %307, ptr %4, align 8
  %308 = extractvalue { ptr, i32 } %306, 1
  store i32 %308, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #9
  br label %309

309:                                              ; preds = %305, %301, %300
  %310 = load ptr, ptr %4, align 8
  %311 = call ptr @__cxa_begin_catch(ptr %310) #9
  %312 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %313 unwind label %342

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

316:                                              ; preds = %313
  %317 = load ptr, ptr %315, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %24, ptr noundef nonnull align 8 dereferenceable(30) %317, i32 noundef 95)
          to label %318 unwind label %346

318:                                              ; preds = %316
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %314, ptr noundef nonnull align 8 dereferenceable(30) %24, ptr noundef @.str.25)
          to label %319 unwind label %346

319:                                              ; preds = %318
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #9
  invoke void @__cxa_end_catch()
          to label %320 unwind label %146

320:                                              ; preds = %319
  br label %321

321:                                              ; preds = %341, %320
  br label %322

322:                                              ; preds = %321
  br label %323

323:                                              ; preds = %322
  call void @llvm.lifetime.start.p0(i64 48, ptr %25) #9
  %324 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @_ZNSt10shared_ptrI15HtnGoalResolverEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(16) %8) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE19FindRuleLogicErrorsB5cxx11ESt10shared_ptrI15HtnGoalResolverE(ptr dead_on_unwind writable sret(%"class.std::set") align 8 %25, ptr noundef nonnull align 8 dereferenceable(88) %324, ptr noundef %26)
          to label %325 unwind label %352

325:                                              ; preds = %323
  %326 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(48) %25) #9
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #9
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %25) #9
  br label %327

327:                                              ; preds = %325
  %328 = call noundef i64 @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #9
  %329 = icmp eq i64 %328, 2
  %330 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %329)
          to label %331 unwind label %356

331:                                              ; preds = %327
  br i1 %330, label %398, label %332

332:                                              ; preds = %331
  %333 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %334 unwind label %356

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

337:                                              ; preds = %334
  %338 = load ptr, ptr %336, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %27, ptr noundef nonnull align 8 dereferenceable(30) %338, i32 noundef 97)
          to label %339 unwind label %360

339:                                              ; preds = %337
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %335, ptr noundef nonnull align 8 dereferenceable(30) %27, ptr noundef @.str.26)
          to label %340 unwind label %360

340:                                              ; preds = %339
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #9
  br label %398

341:                                              ; preds = %271, %261
  br label %321

342:                                              ; preds = %309
  %343 = landingpad { ptr, i32 }
          cleanup
  %344 = extractvalue { ptr, i32 } %343, 0
  store ptr %344, ptr %4, align 8
  %345 = extractvalue { ptr, i32 } %343, 1
  store i32 %345, ptr %5, align 4
  br label %350

346:                                              ; preds = %318, %316, %313
  %347 = landingpad { ptr, i32 }
          cleanup
  %348 = extractvalue { ptr, i32 } %347, 0
  store ptr %348, ptr %4, align 8
  %349 = extractvalue { ptr, i32 } %347, 1
  store i32 %349, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #9
  br label %350

350:                                              ; preds = %346, %342
  invoke void @__cxa_end_catch()
          to label %351 unwind label %1389

351:                                              ; preds = %350
  br label %1380

352:                                              ; preds = %323
  %353 = landingpad { ptr, i32 }
          cleanup
  %354 = extractvalue { ptr, i32 } %353, 0
  store ptr %354, ptr %4, align 8
  %355 = extractvalue { ptr, i32 } %353, 1
  store i32 %355, ptr %5, align 4
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %25) #9
  br label %1380

356:                                              ; preds = %332, %327
  %357 = landingpad { ptr, i32 }
          catch ptr null
  %358 = extractvalue { ptr, i32 } %357, 0
  store ptr %358, ptr %4, align 8
  %359 = extractvalue { ptr, i32 } %357, 1
  store i32 %359, ptr %5, align 4
  br label %364

360:                                              ; preds = %339, %337, %334
  %361 = landingpad { ptr, i32 }
          catch ptr null
  %362 = extractvalue { ptr, i32 } %361, 0
  store ptr %362, ptr %4, align 8
  %363 = extractvalue { ptr, i32 } %361, 1
  store i32 %363, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #9
  br label %364

364:                                              ; preds = %360, %356
  %365 = load ptr, ptr %4, align 8
  %366 = call ptr @__cxa_begin_catch(ptr %365) #9
  %367 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %368 unwind label %399

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

371:                                              ; preds = %368
  %372 = load ptr, ptr %370, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %28, ptr noundef nonnull align 8 dereferenceable(30) %372, i32 noundef 97)
          to label %373 unwind label %403

373:                                              ; preds = %371
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %369, ptr noundef nonnull align 8 dereferenceable(30) %28, ptr noundef @.str.27)
          to label %374 unwind label %403

374:                                              ; preds = %373
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #9
  invoke void @__cxa_end_catch()
          to label %375 unwind label %146

375:                                              ; preds = %374
  br label %376

376:                                              ; preds = %398, %375
  br label %377

377:                                              ; preds = %376
  br label %378

378:                                              ; preds = %377
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #9
  %379 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #9
  %380 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %29, i32 0, i32 0
  store ptr %379, ptr %380, align 8
  %381 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #9
  %382 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %381)
          to label %383 unwind label %409

383:                                              ; preds = %378
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  br label %384

384:                                              ; preds = %383
  %385 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef @.str.28)
          to label %386 unwind label %413

386:                                              ; preds = %384
  %387 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %385)
          to label %388 unwind label %413

388:                                              ; preds = %386
  br i1 %387, label %456, label %389

389:                                              ; preds = %388
  %390 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %391 unwind label %413

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

394:                                              ; preds = %391
  %395 = load ptr, ptr %393, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %30, ptr noundef nonnull align 8 dereferenceable(30) %395, i32 noundef 99)
          to label %396 unwind label %417

396:                                              ; preds = %394
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %392, ptr noundef nonnull align 8 dereferenceable(30) %30, ptr noundef @.str.29)
          to label %397 unwind label %417

397:                                              ; preds = %396
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #9
  br label %456

398:                                              ; preds = %340, %331
  br label %376

399:                                              ; preds = %364
  %400 = landingpad { ptr, i32 }
          cleanup
  %401 = extractvalue { ptr, i32 } %400, 0
  store ptr %401, ptr %4, align 8
  %402 = extractvalue { ptr, i32 } %400, 1
  store i32 %402, ptr %5, align 4
  br label %407

403:                                              ; preds = %373, %371, %368
  %404 = landingpad { ptr, i32 }
          cleanup
  %405 = extractvalue { ptr, i32 } %404, 0
  store ptr %405, ptr %4, align 8
  %406 = extractvalue { ptr, i32 } %404, 1
  store i32 %406, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #9
  br label %407

407:                                              ; preds = %403, %399
  invoke void @__cxa_end_catch()
          to label %408 unwind label %1389

408:                                              ; preds = %407
  br label %1380

409:                                              ; preds = %378
  %410 = landingpad { ptr, i32 }
          cleanup
  %411 = extractvalue { ptr, i32 } %410, 0
  store ptr %411, ptr %4, align 8
  %412 = extractvalue { ptr, i32 } %410, 1
  store i32 %412, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  br label %1380

413:                                              ; preds = %389, %386, %384
  %414 = landingpad { ptr, i32 }
          catch ptr null
  %415 = extractvalue { ptr, i32 } %414, 0
  store ptr %415, ptr %4, align 8
  %416 = extractvalue { ptr, i32 } %414, 1
  store i32 %416, ptr %5, align 4
  br label %421

417:                                              ; preds = %396, %394, %391
  %418 = landingpad { ptr, i32 }
          catch ptr null
  %419 = extractvalue { ptr, i32 } %418, 0
  store ptr %419, ptr %4, align 8
  %420 = extractvalue { ptr, i32 } %418, 1
  store i32 %420, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #9
  br label %421

421:                                              ; preds = %417, %413
  %422 = load ptr, ptr %4, align 8
  %423 = call ptr @__cxa_begin_catch(ptr %422) #9
  %424 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %425 unwind label %457

425:                                              ; preds = %421
  %426 = load ptr, ptr %424, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #9
  %427 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %428 unwind label %461

428:                                              ; preds = %425
  %429 = load ptr, ptr %427, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %31, ptr noundef nonnull align 8 dereferenceable(30) %429, i32 noundef 99)
          to label %430 unwind label %461

430:                                              ; preds = %428
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %426, ptr noundef nonnull align 8 dereferenceable(30) %31, ptr noundef @.str.30)
          to label %431 unwind label %461

431:                                              ; preds = %430
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #9
  invoke void @__cxa_end_catch()
          to label %432 unwind label %146

432:                                              ; preds = %431
  br label %433

433:                                              ; preds = %456, %432
  br label %434

434:                                              ; preds = %433
  br label %435

435:                                              ; preds = %434
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #9
  %436 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #9
  %437 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %32, i32 0, i32 0
  store ptr %436, ptr %437, align 8
  %438 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #9
  %439 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %438) #9
  %440 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %439)
          to label %441 unwind label %467

441:                                              ; preds = %435
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  br label %442

442:                                              ; preds = %441
  %443 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef @.str.31)
          to label %444 unwind label %471

444:                                              ; preds = %442
  %445 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %443)
          to label %446 unwind label %471

446:                                              ; preds = %444
  br i1 %445, label %520, label %447

447:                                              ; preds = %446
  %448 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %449 unwind label %471

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

452:                                              ; preds = %449
  %453 = load ptr, ptr %451, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %33, ptr noundef nonnull align 8 dereferenceable(30) %453, i32 noundef 101)
          to label %454 unwind label %475

454:                                              ; preds = %452
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %450, ptr noundef nonnull align 8 dereferenceable(30) %33, ptr noundef @.str.32)
          to label %455 unwind label %475

455:                                              ; preds = %454
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #9
  br label %520

456:                                              ; preds = %397, %388
  br label %433

457:                                              ; preds = %421
  %458 = landingpad { ptr, i32 }
          cleanup
  %459 = extractvalue { ptr, i32 } %458, 0
  store ptr %459, ptr %4, align 8
  %460 = extractvalue { ptr, i32 } %458, 1
  store i32 %460, ptr %5, align 4
  br label %465

461:                                              ; preds = %430, %428, %425
  %462 = landingpad { ptr, i32 }
          cleanup
  %463 = extractvalue { ptr, i32 } %462, 0
  store ptr %463, ptr %4, align 8
  %464 = extractvalue { ptr, i32 } %462, 1
  store i32 %464, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #9
  br label %465

465:                                              ; preds = %461, %457
  invoke void @__cxa_end_catch()
          to label %466 unwind label %1389

466:                                              ; preds = %465
  br label %1380

467:                                              ; preds = %435
  %468 = landingpad { ptr, i32 }
          cleanup
  %469 = extractvalue { ptr, i32 } %468, 0
  store ptr %469, ptr %4, align 8
  %470 = extractvalue { ptr, i32 } %468, 1
  store i32 %470, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  br label %1380

471:                                              ; preds = %447, %444, %442
  %472 = landingpad { ptr, i32 }
          catch ptr null
  %473 = extractvalue { ptr, i32 } %472, 0
  store ptr %473, ptr %4, align 8
  %474 = extractvalue { ptr, i32 } %472, 1
  store i32 %474, ptr %5, align 4
  br label %479

475:                                              ; preds = %454, %452, %449
  %476 = landingpad { ptr, i32 }
          catch ptr null
  %477 = extractvalue { ptr, i32 } %476, 0
  store ptr %477, ptr %4, align 8
  %478 = extractvalue { ptr, i32 } %476, 1
  store i32 %478, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #9
  br label %479

479:                                              ; preds = %475, %471
  %480 = load ptr, ptr %4, align 8
  %481 = call ptr @__cxa_begin_catch(ptr %480) #9
  %482 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %483 unwind label %521

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

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

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

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

490:                                              ; preds = %489
  br label %491

491:                                              ; preds = %520, %490
  br label %492

492:                                              ; preds = %491
  br label %493

493:                                              ; preds = %492
  %494 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %6) #9
  invoke void @_ZN10HtnRuleSet8ClearAllEv(ptr noundef nonnull align 8 dereferenceable(144) %494)
          to label %495 unwind label %146

495:                                              ; preds = %493
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #9
  %496 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 88) #10
          to label %497 unwind label %531

497:                                              ; preds = %495
  %498 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #9
  %499 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %6) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactoryP10HtnRuleSet(ptr noundef nonnull align 8 dereferenceable(88) %496, ptr noundef %498, ptr noundef %499)
          to label %500 unwind label %535

500:                                              ; preds = %497
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %35, ptr noundef %496)
          to label %501 unwind label %531

501:                                              ; preds = %500
  %502 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %35) #9
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %35) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #9
  br label %503

503:                                              ; preds = %501
  %504 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %37) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %36, ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef @.str.34)
          to label %505 unwind label %540

505:                                              ; preds = %503
  %506 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %504, ptr noundef %36)
          to label %507 unwind label %544

507:                                              ; preds = %505
  %508 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %506)
          to label %509 unwind label %544

509:                                              ; preds = %507
  %510 = xor i1 %508, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #9
  br i1 %510, label %511, label %589

511:                                              ; preds = %509
  %512 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %513 unwind label %549

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

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

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

519:                                              ; preds = %518
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #9
  br label %589

520:                                              ; preds = %455, %446
  br label %491

521:                                              ; preds = %479
  %522 = landingpad { ptr, i32 }
          cleanup
  %523 = extractvalue { ptr, i32 } %522, 0
  store ptr %523, ptr %4, align 8
  %524 = extractvalue { ptr, i32 } %522, 1
  store i32 %524, ptr %5, align 4
  br label %529

525:                                              ; preds = %488, %486, %483
  %526 = landingpad { ptr, i32 }
          cleanup
  %527 = extractvalue { ptr, i32 } %526, 0
  store ptr %527, ptr %4, align 8
  %528 = extractvalue { ptr, i32 } %526, 1
  store i32 %528, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #9
  br label %529

529:                                              ; preds = %525, %521
  invoke void @__cxa_end_catch()
          to label %530 unwind label %1389

530:                                              ; preds = %529
  br label %1380

531:                                              ; preds = %500, %495
  %532 = landingpad { ptr, i32 }
          cleanup
  %533 = extractvalue { ptr, i32 } %532, 0
  store ptr %533, ptr %4, align 8
  %534 = extractvalue { ptr, i32 } %532, 1
  store i32 %534, ptr %5, align 4
  br label %539

535:                                              ; preds = %497
  %536 = landingpad { ptr, i32 }
          cleanup
  %537 = extractvalue { ptr, i32 } %536, 0
  store ptr %537, ptr %4, align 8
  %538 = extractvalue { ptr, i32 } %536, 1
  store i32 %538, ptr %5, align 4
  call void @_ZdlPvm(ptr noundef %496, i64 noundef 88) #11
  br label %539

539:                                              ; preds = %535, %531
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #9
  br label %1380

540:                                              ; preds = %503
  %541 = landingpad { ptr, i32 }
          catch ptr null
  %542 = extractvalue { ptr, i32 } %541, 0
  store ptr %542, ptr %4, align 8
  %543 = extractvalue { ptr, i32 } %541, 1
  store i32 %543, ptr %5, align 4
  br label %548

544:                                              ; preds = %507, %505
  %545 = landingpad { ptr, i32 }
          catch ptr null
  %546 = extractvalue { ptr, i32 } %545, 0
  store ptr %546, ptr %4, align 8
  %547 = extractvalue { ptr, i32 } %545, 1
  store i32 %547, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #9
  br label %548

548:                                              ; preds = %544, %540
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #9
  br label %557

549:                                              ; preds = %511
  %550 = landingpad { ptr, i32 }
          catch ptr null
  %551 = extractvalue { ptr, i32 } %550, 0
  store ptr %551, ptr %4, align 8
  %552 = extractvalue { ptr, i32 } %550, 1
  store i32 %552, ptr %5, align 4
  br label %557

553:                                              ; preds = %518, %516, %513
  %554 = landingpad { ptr, i32 }
          catch ptr null
  %555 = extractvalue { ptr, i32 } %554, 0
  store ptr %555, ptr %4, align 8
  %556 = extractvalue { ptr, i32 } %554, 1
  store i32 %556, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #9
  br label %557

557:                                              ; preds = %553, %549, %548
  %558 = load ptr, ptr %4, align 8
  %559 = call ptr @__cxa_begin_catch(ptr %558) #9
  %560 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %561 unwind label %590

561:                                              ; preds = %557
  %562 = load ptr, ptr %560, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %39) #9
  %563 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %564 unwind label %594

564:                                              ; preds = %561
  %565 = load ptr, ptr %563, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %39, ptr noundef nonnull align 8 dereferenceable(30) %565, i32 noundef 111)
          to label %566 unwind label %594

566:                                              ; preds = %564
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %562, ptr noundef nonnull align 8 dereferenceable(30) %39, ptr noundef @.str.36)
          to label %567 unwind label %594

567:                                              ; preds = %566
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #9
  invoke void @__cxa_end_catch()
          to label %568 unwind label %146

568:                                              ; preds = %567
  br label %569

569:                                              ; preds = %589, %568
  br label %570

570:                                              ; preds = %569
  br label %571

571:                                              ; preds = %570
  call void @llvm.lifetime.start.p0(i64 48, ptr %40) #9
  %572 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @_ZNSt10shared_ptrI15HtnGoalResolverEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %41, ptr noundef nonnull align 8 dereferenceable(16) %8) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE19FindRuleLogicErrorsB5cxx11ESt10shared_ptrI15HtnGoalResolverE(ptr dead_on_unwind writable sret(%"class.std::set") align 8 %40, ptr noundef nonnull align 8 dereferenceable(88) %572, ptr noundef %41)
          to label %573 unwind label %600

573:                                              ; preds = %571
  %574 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(48) %40) #9
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %40) #9
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %41) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %40) #9
  br label %575

575:                                              ; preds = %573
  %576 = call noundef i64 @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #9
  %577 = icmp eq i64 %576, 2
  %578 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %577)
          to label %579 unwind label %604

579:                                              ; preds = %575
  br i1 %578, label %645, label %580

580:                                              ; preds = %579
  %581 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %582 unwind label %604

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

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

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

588:                                              ; preds = %587
  call void @llvm.lifetime.end.p0(i64 32, ptr %42) #9
  br label %645

589:                                              ; preds = %519, %509
  br label %569

590:                                              ; preds = %557
  %591 = landingpad { ptr, i32 }
          cleanup
  %592 = extractvalue { ptr, i32 } %591, 0
  store ptr %592, ptr %4, align 8
  %593 = extractvalue { ptr, i32 } %591, 1
  store i32 %593, ptr %5, align 4
  br label %598

594:                                              ; preds = %566, %564, %561
  %595 = landingpad { ptr, i32 }
          cleanup
  %596 = extractvalue { ptr, i32 } %595, 0
  store ptr %596, ptr %4, align 8
  %597 = extractvalue { ptr, i32 } %595, 1
  store i32 %597, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #9
  br label %598

598:                                              ; preds = %594, %590
  invoke void @__cxa_end_catch()
          to label %599 unwind label %1389

599:                                              ; preds = %598
  br label %1380

600:                                              ; preds = %571
  %601 = landingpad { ptr, i32 }
          cleanup
  %602 = extractvalue { ptr, i32 } %601, 0
  store ptr %602, ptr %4, align 8
  %603 = extractvalue { ptr, i32 } %601, 1
  store i32 %603, ptr %5, align 4
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %41) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %40) #9
  br label %1380

604:                                              ; preds = %580, %575
  %605 = landingpad { ptr, i32 }
          catch ptr null
  %606 = extractvalue { ptr, i32 } %605, 0
  store ptr %606, ptr %4, align 8
  %607 = extractvalue { ptr, i32 } %605, 1
  store i32 %607, ptr %5, align 4
  br label %612

608:                                              ; preds = %587, %585, %582
  %609 = landingpad { ptr, i32 }
          catch ptr null
  %610 = extractvalue { ptr, i32 } %609, 0
  store ptr %610, ptr %4, align 8
  %611 = extractvalue { ptr, i32 } %609, 1
  store i32 %611, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %42) #9
  br label %612

612:                                              ; preds = %608, %604
  %613 = load ptr, ptr %4, align 8
  %614 = call ptr @__cxa_begin_catch(ptr %613) #9
  %615 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %616 unwind label %646

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

619:                                              ; preds = %616
  %620 = load ptr, ptr %618, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %43, ptr noundef nonnull align 8 dereferenceable(30) %620, i32 noundef 113)
          to label %621 unwind label %650

621:                                              ; preds = %619
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %617, ptr noundef nonnull align 8 dereferenceable(30) %43, ptr noundef @.str.27)
          to label %622 unwind label %650

622:                                              ; preds = %621
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #9
  invoke void @__cxa_end_catch()
          to label %623 unwind label %146

623:                                              ; preds = %622
  br label %624

624:                                              ; preds = %645, %623
  br label %625

625:                                              ; preds = %624
  br label %626

626:                                              ; preds = %625
  br label %627

627:                                              ; preds = %626
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #9
  %628 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #9
  %629 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %44, i32 0, i32 0
  store ptr %628, ptr %629, align 8
  %630 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %44) #9
  %631 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %630, ptr noundef @.str.28)
          to label %632 unwind label %656

632:                                              ; preds = %627
  %633 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %631)
          to label %634 unwind label %656

634:                                              ; preds = %632
  %635 = xor i1 %633, true
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #9
  br i1 %635, label %636, label %702

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

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

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

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

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

645:                                              ; preds = %588, %579
  br label %624

646:                                              ; preds = %612
  %647 = landingpad { ptr, i32 }
          cleanup
  %648 = extractvalue { ptr, i32 } %647, 0
  store ptr %648, ptr %4, align 8
  %649 = extractvalue { ptr, i32 } %647, 1
  store i32 %649, ptr %5, align 4
  br label %654

650:                                              ; preds = %621, %619, %616
  %651 = landingpad { ptr, i32 }
          cleanup
  %652 = extractvalue { ptr, i32 } %651, 0
  store ptr %652, ptr %4, align 8
  %653 = extractvalue { ptr, i32 } %651, 1
  store i32 %653, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #9
  br label %654

654:                                              ; preds = %650, %646
  invoke void @__cxa_end_catch()
          to label %655 unwind label %1389

655:                                              ; preds = %654
  br label %1380

656:                                              ; preds = %632, %627
  %657 = landingpad { ptr, i32 }
          catch ptr null
  %658 = extractvalue { ptr, i32 } %657, 0
  store ptr %658, ptr %4, align 8
  %659 = extractvalue { ptr, i32 } %657, 1
  store i32 %659, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #9
  br label %668

660:                                              ; preds = %636
  %661 = landingpad { ptr, i32 }
          catch ptr null
  %662 = extractvalue { ptr, i32 } %661, 0
  store ptr %662, ptr %4, align 8
  %663 = extractvalue { ptr, i32 } %661, 1
  store i32 %663, ptr %5, align 4
  br label %668

664:                                              ; preds = %643, %641, %638
  %665 = landingpad { ptr, i32 }
          catch ptr null
  %666 = extractvalue { ptr, i32 } %665, 0
  store ptr %666, ptr %4, align 8
  %667 = extractvalue { ptr, i32 } %665, 1
  store i32 %667, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #9
  br label %668

668:                                              ; preds = %664, %660, %656
  %669 = load ptr, ptr %4, align 8
  %670 = call ptr @__cxa_begin_catch(ptr %669) #9
  %671 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %672 unwind label %703

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

675:                                              ; preds = %672
  %676 = load ptr, ptr %674, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %46, ptr noundef nonnull align 8 dereferenceable(30) %676, i32 noundef 114)
          to label %677 unwind label %707

677:                                              ; preds = %675
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %673, ptr noundef nonnull align 8 dereferenceable(30) %46, ptr noundef @.str.38)
          to label %678 unwind label %707

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

679:                                              ; preds = %678
  br label %680

680:                                              ; preds = %702, %679
  br label %681

681:                                              ; preds = %680
  br label %682

682:                                              ; preds = %681
  br label %683

683:                                              ; preds = %682
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #9
  %684 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #9
  %685 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %47, i32 0, i32 0
  store ptr %684, ptr %685, align 8
  %686 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %47) #9
  %687 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %686) #9
  %688 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %687, ptr noundef @.str.31)
          to label %689 unwind label %713

689:                                              ; preds = %683
  %690 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %688)
          to label %691 unwind label %713

691:                                              ; preds = %689
  %692 = xor i1 %690, true
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #9
  br i1 %692, label %693, label %766

693:                                              ; preds = %691
  %694 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %695 unwind label %717

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

698:                                              ; preds = %695
  %699 = load ptr, ptr %697, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %48, ptr noundef nonnull align 8 dereferenceable(30) %699, i32 noundef 115)
          to label %700 unwind label %721

700:                                              ; preds = %698
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %696, ptr noundef nonnull align 8 dereferenceable(30) %48, ptr noundef @.str.39)
          to label %701 unwind label %721

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

702:                                              ; preds = %644, %634
  br label %680

703:                                              ; preds = %668
  %704 = landingpad { ptr, i32 }
          cleanup
  %705 = extractvalue { ptr, i32 } %704, 0
  store ptr %705, ptr %4, align 8
  %706 = extractvalue { ptr, i32 } %704, 1
  store i32 %706, ptr %5, align 4
  br label %711

707:                                              ; preds = %677, %675, %672
  %708 = landingpad { ptr, i32 }
          cleanup
  %709 = extractvalue { ptr, i32 } %708, 0
  store ptr %709, ptr %4, align 8
  %710 = extractvalue { ptr, i32 } %708, 1
  store i32 %710, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #9
  br label %711

711:                                              ; preds = %707, %703
  invoke void @__cxa_end_catch()
          to label %712 unwind label %1389

712:                                              ; preds = %711
  br label %1380

713:                                              ; preds = %689, %683
  %714 = landingpad { ptr, i32 }
          catch ptr null
  %715 = extractvalue { ptr, i32 } %714, 0
  store ptr %715, ptr %4, align 8
  %716 = extractvalue { ptr, i32 } %714, 1
  store i32 %716, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #9
  br label %725

717:                                              ; preds = %693
  %718 = landingpad { ptr, i32 }
          catch ptr null
  %719 = extractvalue { ptr, i32 } %718, 0
  store ptr %719, ptr %4, align 8
  %720 = extractvalue { ptr, i32 } %718, 1
  store i32 %720, ptr %5, align 4
  br label %725

721:                                              ; preds = %700, %698, %695
  %722 = landingpad { ptr, i32 }
          catch ptr null
  %723 = extractvalue { ptr, i32 } %722, 0
  store ptr %723, ptr %4, align 8
  %724 = extractvalue { ptr, i32 } %722, 1
  store i32 %724, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #9
  br label %725

725:                                              ; preds = %721, %717, %713
  %726 = load ptr, ptr %4, align 8
  %727 = call ptr @__cxa_begin_catch(ptr %726) #9
  %728 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %729 unwind label %767

729:                                              ; preds = %725
  %730 = load ptr, ptr %728, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %49) #9
  %731 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %732 unwind label %771

732:                                              ; preds = %729
  %733 = load ptr, ptr %731, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %49, ptr noundef nonnull align 8 dereferenceable(30) %733, i32 noundef 115)
          to label %734 unwind label %771

734:                                              ; preds = %732
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %730, ptr noundef nonnull align 8 dereferenceable(30) %49, ptr noundef @.str.40)
          to label %735 unwind label %771

735:                                              ; preds = %734
  call void @llvm.lifetime.end.p0(i64 32, ptr %49) #9
  invoke void @__cxa_end_catch()
          to label %736 unwind label %146

736:                                              ; preds = %735
  br label %737

737:                                              ; preds = %766, %736
  br label %738

738:                                              ; preds = %737
  br label %739

739:                                              ; preds = %738
  %740 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %6) #9
  invoke void @_ZN10HtnRuleSet8ClearAllEv(ptr noundef nonnull align 8 dereferenceable(144) %740)
          to label %741 unwind label %146

741:                                              ; preds = %739
  call void @llvm.lifetime.start.p0(i64 16, ptr %50) #9
  %742 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 88) #10
          to label %743 unwind label %777

743:                                              ; preds = %741
  %744 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #9
  %745 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %6) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactoryP10HtnRuleSet(ptr noundef nonnull align 8 dereferenceable(88) %742, ptr noundef %744, ptr noundef %745)
          to label %746 unwind label %781

746:                                              ; preds = %743
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %50, ptr noundef %742)
          to label %747 unwind label %777

747:                                              ; preds = %746
  %748 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %50) #9
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %50) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %50) #9
  br label %749

749:                                              ; preds = %747
  %750 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %52) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %51, ptr noundef nonnull align 8 dereferenceable(32) %52, ptr noundef @.str.41)
          to label %751 unwind label %786

751:                                              ; preds = %749
  %752 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %750, ptr noundef %51)
          to label %753 unwind label %790

753:                                              ; preds = %751
  %754 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %752)
          to label %755 unwind label %790

755:                                              ; preds = %753
  %756 = xor i1 %754, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %52) #9
  br i1 %756, label %757, label %835

757:                                              ; preds = %755
  %758 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %759 unwind label %795

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

762:                                              ; preds = %759
  %763 = load ptr, ptr %761, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %53, ptr noundef nonnull align 8 dereferenceable(30) %763, i32 noundef 123)
          to label %764 unwind label %799

764:                                              ; preds = %762
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %760, ptr noundef nonnull align 8 dereferenceable(30) %53, ptr noundef @.str.42)
          to label %765 unwind label %799

765:                                              ; preds = %764
  call void @llvm.lifetime.end.p0(i64 32, ptr %53) #9
  br label %835

766:                                              ; preds = %701, %691
  br label %737

767:                                              ; preds = %725
  %768 = landingpad { ptr, i32 }
          cleanup
  %769 = extractvalue { ptr, i32 } %768, 0
  store ptr %769, ptr %4, align 8
  %770 = extractvalue { ptr, i32 } %768, 1
  store i32 %770, ptr %5, align 4
  br label %775

771:                                              ; preds = %734, %732, %729
  %772 = landingpad { ptr, i32 }
          cleanup
  %773 = extractvalue { ptr, i32 } %772, 0
  store ptr %773, ptr %4, align 8
  %774 = extractvalue { ptr, i32 } %772, 1
  store i32 %774, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %49) #9
  br label %775

775:                                              ; preds = %771, %767
  invoke void @__cxa_end_catch()
          to label %776 unwind label %1389

776:                                              ; preds = %775
  br label %1380

777:                                              ; preds = %746, %741
  %778 = landingpad { ptr, i32 }
          cleanup
  %779 = extractvalue { ptr, i32 } %778, 0
  store ptr %779, ptr %4, align 8
  %780 = extractvalue { ptr, i32 } %778, 1
  store i32 %780, ptr %5, align 4
  br label %785

781:                                              ; preds = %743
  %782 = landingpad { ptr, i32 }
          cleanup
  %783 = extractvalue { ptr, i32 } %782, 0
  store ptr %783, ptr %4, align 8
  %784 = extractvalue { ptr, i32 } %782, 1
  store i32 %784, ptr %5, align 4
  call void @_ZdlPvm(ptr noundef %742, i64 noundef 88) #11
  br label %785

785:                                              ; preds = %781, %777
  call void @llvm.lifetime.end.p0(i64 16, ptr %50) #9
  br label %1380

786:                                              ; preds = %749
  %787 = landingpad { ptr, i32 }
          catch ptr null
  %788 = extractvalue { ptr, i32 } %787, 0
  store ptr %788, ptr %4, align 8
  %789 = extractvalue { ptr, i32 } %787, 1
  store i32 %789, ptr %5, align 4
  br label %794

790:                                              ; preds = %753, %751
  %791 = landingpad { ptr, i32 }
          catch ptr null
  %792 = extractvalue { ptr, i32 } %791, 0
  store ptr %792, ptr %4, align 8
  %793 = extractvalue { ptr, i32 } %791, 1
  store i32 %793, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #9
  br label %794

794:                                              ; preds = %790, %786
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %52) #9
  br label %803

795:                                              ; preds = %757
  %796 = landingpad { ptr, i32 }
          catch ptr null
  %797 = extractvalue { ptr, i32 } %796, 0
  store ptr %797, ptr %4, align 8
  %798 = extractvalue { ptr, i32 } %796, 1
  store i32 %798, ptr %5, align 4
  br label %803

799:                                              ; preds = %764, %762, %759
  %800 = landingpad { ptr, i32 }
          catch ptr null
  %801 = extractvalue { ptr, i32 } %800, 0
  store ptr %801, ptr %4, align 8
  %802 = extractvalue { ptr, i32 } %800, 1
  store i32 %802, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %53) #9
  br label %803

803:                                              ; preds = %799, %795, %794
  %804 = load ptr, ptr %4, align 8
  %805 = call ptr @__cxa_begin_catch(ptr %804) #9
  %806 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %807 unwind label %836

807:                                              ; preds = %803
  %808 = load ptr, ptr %806, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %54) #9
  %809 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %810 unwind label %840

810:                                              ; preds = %807
  %811 = load ptr, ptr %809, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %54, ptr noundef nonnull align 8 dereferenceable(30) %811, i32 noundef 123)
          to label %812 unwind label %840

812:                                              ; preds = %810
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %808, ptr noundef nonnull align 8 dereferenceable(30) %54, ptr noundef @.str.43)
          to label %813 unwind label %840

813:                                              ; preds = %812
  call void @llvm.lifetime.end.p0(i64 32, ptr %54) #9
  invoke void @__cxa_end_catch()
          to label %814 unwind label %146

814:                                              ; preds = %813
  br label %815

815:                                              ; preds = %835, %814
  br label %816

816:                                              ; preds = %815
  br label %817

817:                                              ; preds = %816
  call void @llvm.lifetime.start.p0(i64 48, ptr %55) #9
  %818 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @_ZNSt10shared_ptrI15HtnGoalResolverEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %56, ptr noundef nonnull align 8 dereferenceable(16) %8) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE19FindRuleLogicErrorsB5cxx11ESt10shared_ptrI15HtnGoalResolverE(ptr dead_on_unwind writable sret(%"class.std::set") align 8 %55, ptr noundef nonnull align 8 dereferenceable(88) %818, ptr noundef %56)
          to label %819 unwind label %846

819:                                              ; preds = %817
  %820 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(48) %55) #9
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %55) #9
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %56) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %55) #9
  br label %821

821:                                              ; preds = %819
  %822 = call noundef i64 @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #9
  %823 = icmp eq i64 %822, 2
  %824 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %823)
          to label %825 unwind label %850

825:                                              ; preds = %821
  br i1 %824, label %892, label %826

826:                                              ; preds = %825
  %827 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %828 unwind label %850

828:                                              ; preds = %826
  %829 = load ptr, ptr %827, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %57) #9
  %830 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %831 unwind label %854

831:                                              ; preds = %828
  %832 = load ptr, ptr %830, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %57, ptr noundef nonnull align 8 dereferenceable(30) %832, i32 noundef 125)
          to label %833 unwind label %854

833:                                              ; preds = %831
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %829, ptr noundef nonnull align 8 dereferenceable(30) %57, ptr noundef @.str.26)
          to label %834 unwind label %854

834:                                              ; preds = %833
  call void @llvm.lifetime.end.p0(i64 32, ptr %57) #9
  br label %892

835:                                              ; preds = %765, %755
  br label %815

836:                                              ; preds = %803
  %837 = landingpad { ptr, i32 }
          cleanup
  %838 = extractvalue { ptr, i32 } %837, 0
  store ptr %838, ptr %4, align 8
  %839 = extractvalue { ptr, i32 } %837, 1
  store i32 %839, ptr %5, align 4
  br label %844

840:                                              ; preds = %812, %810, %807
  %841 = landingpad { ptr, i32 }
          cleanup
  %842 = extractvalue { ptr, i32 } %841, 0
  store ptr %842, ptr %4, align 8
  %843 = extractvalue { ptr, i32 } %841, 1
  store i32 %843, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %54) #9
  br label %844

844:                                              ; preds = %840, %836
  invoke void @__cxa_end_catch()
          to label %845 unwind label %1389

845:                                              ; preds = %844
  br label %1380

846:                                              ; preds = %817
  %847 = landingpad { ptr, i32 }
          cleanup
  %848 = extractvalue { ptr, i32 } %847, 0
  store ptr %848, ptr %4, align 8
  %849 = extractvalue { ptr, i32 } %847, 1
  store i32 %849, ptr %5, align 4
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %56) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %55) #9
  br label %1380

850:                                              ; preds = %826, %821
  %851 = landingpad { ptr, i32 }
          catch ptr null
  %852 = extractvalue { ptr, i32 } %851, 0
  store ptr %852, ptr %4, align 8
  %853 = extractvalue { ptr, i32 } %851, 1
  store i32 %853, ptr %5, align 4
  br label %858

854:                                              ; preds = %833, %831, %828
  %855 = landingpad { ptr, i32 }
          catch ptr null
  %856 = extractvalue { ptr, i32 } %855, 0
  store ptr %856, ptr %4, align 8
  %857 = extractvalue { ptr, i32 } %855, 1
  store i32 %857, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %57) #9
  br label %858

858:                                              ; preds = %854, %850
  %859 = load ptr, ptr %4, align 8
  %860 = call ptr @__cxa_begin_catch(ptr %859) #9
  %861 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %862 unwind label %893

862:                                              ; preds = %858
  %863 = load ptr, ptr %861, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %58) #9
  %864 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %865 unwind label %897

865:                                              ; preds = %862
  %866 = load ptr, ptr %864, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %58, ptr noundef nonnull align 8 dereferenceable(30) %866, i32 noundef 125)
          to label %867 unwind label %897

867:                                              ; preds = %865
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %863, ptr noundef nonnull align 8 dereferenceable(30) %58, ptr noundef @.str.27)
          to label %868 unwind label %897

868:                                              ; preds = %867
  call void @llvm.lifetime.end.p0(i64 32, ptr %58) #9
  invoke void @__cxa_end_catch()
          to label %869 unwind label %146

869:                                              ; preds = %868
  br label %870

870:                                              ; preds = %892, %869
  br label %871

871:                                              ; preds = %870
  br label %872

872:                                              ; preds = %871
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #9
  %873 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #9
  %874 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %59, i32 0, i32 0
  store ptr %873, ptr %874, align 8
  %875 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %59) #9
  %876 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %875)
          to label %877 unwind label %903

877:                                              ; preds = %872
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #9
  br label %878

878:                                              ; preds = %877
  %879 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef @.str.44)
          to label %880 unwind label %907

880:                                              ; preds = %878
  %881 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %879)
          to label %882 unwind label %907

882:                                              ; preds = %880
  br i1 %881, label %950, label %883

883:                                              ; preds = %882
  %884 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %885 unwind label %907

885:                                              ; preds = %883
  %886 = load ptr, ptr %884, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %60) #9
  %887 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %888 unwind label %911

888:                                              ; preds = %885
  %889 = load ptr, ptr %887, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %60, ptr noundef nonnull align 8 dereferenceable(30) %889, i32 noundef 127)
          to label %890 unwind label %911

890:                                              ; preds = %888
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %886, ptr noundef nonnull align 8 dereferenceable(30) %60, ptr noundef @.str.45)
          to label %891 unwind label %911

891:                                              ; preds = %890
  call void @llvm.lifetime.end.p0(i64 32, ptr %60) #9
  br label %950

892:                                              ; preds = %834, %825
  br label %870

893:                                              ; preds = %858
  %894 = landingpad { ptr, i32 }
          cleanup
  %895 = extractvalue { ptr, i32 } %894, 0
  store ptr %895, ptr %4, align 8
  %896 = extractvalue { ptr, i32 } %894, 1
  store i32 %896, ptr %5, align 4
  br label %901

897:                                              ; preds = %867, %865, %862
  %898 = landingpad { ptr, i32 }
          cleanup
  %899 = extractvalue { ptr, i32 } %898, 0
  store ptr %899, ptr %4, align 8
  %900 = extractvalue { ptr, i32 } %898, 1
  store i32 %900, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %58) #9
  br label %901

901:                                              ; preds = %897, %893
  invoke void @__cxa_end_catch()
          to label %902 unwind label %1389

902:                                              ; preds = %901
  br label %1380

903:                                              ; preds = %872
  %904 = landingpad { ptr, i32 }
          cleanup
  %905 = extractvalue { ptr, i32 } %904, 0
  store ptr %905, ptr %4, align 8
  %906 = extractvalue { ptr, i32 } %904, 1
  store i32 %906, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #9
  br label %1380

907:                                              ; preds = %883, %880, %878
  %908 = landingpad { ptr, i32 }
          catch ptr null
  %909 = extractvalue { ptr, i32 } %908, 0
  store ptr %909, ptr %4, align 8
  %910 = extractvalue { ptr, i32 } %908, 1
  store i32 %910, ptr %5, align 4
  br label %915

911:                                              ; preds = %890, %888, %885
  %912 = landingpad { ptr, i32 }
          catch ptr null
  %913 = extractvalue { ptr, i32 } %912, 0
  store ptr %913, ptr %4, align 8
  %914 = extractvalue { ptr, i32 } %912, 1
  store i32 %914, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %60) #9
  br label %915

915:                                              ; preds = %911, %907
  %916 = load ptr, ptr %4, align 8
  %917 = call ptr @__cxa_begin_catch(ptr %916) #9
  %918 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %919 unwind label %951

919:                                              ; preds = %915
  %920 = load ptr, ptr %918, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %61) #9
  %921 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %922 unwind label %955

922:                                              ; preds = %919
  %923 = load ptr, ptr %921, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %61, ptr noundef nonnull align 8 dereferenceable(30) %923, i32 noundef 127)
          to label %924 unwind label %955

924:                                              ; preds = %922
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %920, ptr noundef nonnull align 8 dereferenceable(30) %61, ptr noundef @.str.46)
          to label %925 unwind label %955

925:                                              ; preds = %924
  call void @llvm.lifetime.end.p0(i64 32, ptr %61) #9
  invoke void @__cxa_end_catch()
          to label %926 unwind label %146

926:                                              ; preds = %925
  br label %927

927:                                              ; preds = %950, %926
  br label %928

928:                                              ; preds = %927
  br label %929

929:                                              ; preds = %928
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #9
  %930 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #9
  %931 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %62, i32 0, i32 0
  store ptr %930, ptr %931, align 8
  %932 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %62) #9
  %933 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %932) #9
  %934 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %933)
          to label %935 unwind label %961

935:                                              ; preds = %929
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #9
  br label %936

936:                                              ; preds = %935
  %937 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef @.str.47)
          to label %938 unwind label %965

938:                                              ; preds = %936
  %939 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %937)
          to label %940 unwind label %965

940:                                              ; preds = %938
  br i1 %939, label %1014, label %941

941:                                              ; preds = %940
  %942 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %943 unwind label %965

943:                                              ; preds = %941
  %944 = load ptr, ptr %942, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %63) #9
  %945 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %946 unwind label %969

946:                                              ; preds = %943
  %947 = load ptr, ptr %945, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %63, ptr noundef nonnull align 8 dereferenceable(30) %947, i32 noundef 129)
          to label %948 unwind label %969

948:                                              ; preds = %946
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %944, ptr noundef nonnull align 8 dereferenceable(30) %63, ptr noundef @.str.48)
          to label %949 unwind label %969

949:                                              ; preds = %948
  call void @llvm.lifetime.end.p0(i64 32, ptr %63) #9
  br label %1014

950:                                              ; preds = %891, %882
  br label %927

951:                                              ; preds = %915
  %952 = landingpad { ptr, i32 }
          cleanup
  %953 = extractvalue { ptr, i32 } %952, 0
  store ptr %953, ptr %4, align 8
  %954 = extractvalue { ptr, i32 } %952, 1
  store i32 %954, ptr %5, align 4
  br label %959

955:                                              ; preds = %924, %922, %919
  %956 = landingpad { ptr, i32 }
          cleanup
  %957 = extractvalue { ptr, i32 } %956, 0
  store ptr %957, ptr %4, align 8
  %958 = extractvalue { ptr, i32 } %956, 1
  store i32 %958, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %61) #9
  br label %959

959:                                              ; preds = %955, %951
  invoke void @__cxa_end_catch()
          to label %960 unwind label %1389

960:                                              ; preds = %959
  br label %1380

961:                                              ; preds = %929
  %962 = landingpad { ptr, i32 }
          cleanup
  %963 = extractvalue { ptr, i32 } %962, 0
  store ptr %963, ptr %4, align 8
  %964 = extractvalue { ptr, i32 } %962, 1
  store i32 %964, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #9
  br label %1380

965:                                              ; preds = %941, %938, %936
  %966 = landingpad { ptr, i32 }
          catch ptr null
  %967 = extractvalue { ptr, i32 } %966, 0
  store ptr %967, ptr %4, align 8
  %968 = extractvalue { ptr, i32 } %966, 1
  store i32 %968, ptr %5, align 4
  br label %973

969:                                              ; preds = %948, %946, %943
  %970 = landingpad { ptr, i32 }
          catch ptr null
  %971 = extractvalue { ptr, i32 } %970, 0
  store ptr %971, ptr %4, align 8
  %972 = extractvalue { ptr, i32 } %970, 1
  store i32 %972, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %63) #9
  br label %973

973:                                              ; preds = %969, %965
  %974 = load ptr, ptr %4, align 8
  %975 = call ptr @__cxa_begin_catch(ptr %974) #9
  %976 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %977 unwind label %1015

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

980:                                              ; preds = %977
  %981 = load ptr, ptr %979, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %64, ptr noundef nonnull align 8 dereferenceable(30) %981, i32 noundef 129)
          to label %982 unwind label %1019

982:                                              ; preds = %980
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %978, ptr noundef nonnull align 8 dereferenceable(30) %64, ptr noundef @.str.49)
          to label %983 unwind label %1019

983:                                              ; preds = %982
  call void @llvm.lifetime.end.p0(i64 32, ptr %64) #9
  invoke void @__cxa_end_catch()
          to label %984 unwind label %146

984:                                              ; preds = %983
  br label %985

985:                                              ; preds = %1014, %984
  br label %986

986:                                              ; preds = %985
  br label %987

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

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

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

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

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

997:                                              ; preds = %995
  %998 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %67) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %66, ptr noundef nonnull align 8 dereferenceable(32) %67, ptr noundef @.str.50)
          to label %999 unwind label %1034

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

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

1003:                                             ; preds = %1001
  %1004 = xor i1 %1002, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %67) #9
  br i1 %1004, label %1005, label %1083

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

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

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

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

1013:                                             ; preds = %1012
  call void @llvm.lifetime.end.p0(i64 32, ptr %68) #9
  br label %1083

1014:                                             ; preds = %949, %940
  br label %985

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

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

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

1024:                                             ; preds = %1023
  br label %1380

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

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

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

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

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

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

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

1047:                                             ; preds = %1012, %1010, %1007
  %1048 = landingpad { ptr, i32 }
          catch ptr null
  %1049 = extractvalue { ptr, i32 } %1048, 0
  store ptr %1049, ptr %4, align 8
  %1050 = extractvalue { ptr, i32 } %1048, 1
  store i32 %1050, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %68) #9
  br label %1051

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

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

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

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

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

1062:                                             ; preds = %1061
  br label %1063

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

1064:                                             ; preds = %1063
  br label %1065

1065:                                             ; preds = %1064
  call void @llvm.lifetime.start.p0(i64 48, ptr %70) #9
  %1066 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @_ZNSt10shared_ptrI15HtnGoalResolverEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %71, ptr noundef nonnull align 8 dereferenceable(16) %8) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE19FindRuleLogicErrorsB5cxx11ESt10shared_ptrI15HtnGoalResolverE(ptr dead_on_unwind writable sret(%"class.std::set") align 8 %70, ptr noundef nonnull align 8 dereferenceable(88) %1066, ptr noundef %71)
          to label %1067 unwind label %1094

1067:                                             ; preds = %1065
  %1068 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(48) %70) #9
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %70) #9
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %71) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %70) #9
  br label %1069

1069:                                             ; preds = %1067
  %1070 = call noundef i64 @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #9
  %1071 = icmp eq i64 %1070, 0
  %1072 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %1071)
          to label %1073 unwind label %1098

1073:                                             ; preds = %1069
  br i1 %1072, label %1147, label %1074

1074:                                             ; preds = %1073
  %1075 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1076 unwind label %1098

1076:                                             ; preds = %1074
  %1077 = load ptr, ptr %1075, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %72) #9
  %1078 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1079 unwind label %1102

1079:                                             ; preds = %1076
  %1080 = load ptr, ptr %1078, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %72, ptr noundef nonnull align 8 dereferenceable(30) %1080, i32 noundef 140)
          to label %1081 unwind label %1102

1081:                                             ; preds = %1079
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1077, ptr noundef nonnull align 8 dereferenceable(30) %72, ptr noundef @.str.21)
          to label %1082 unwind label %1102

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

1083:                                             ; preds = %1013, %1003
  br label %1063

1084:                                             ; preds = %1051
  %1085 = landingpad { ptr, i32 }
          cleanup
  %1086 = extractvalue { ptr, i32 } %1085, 0
  store ptr %1086, ptr %4, align 8
  %1087 = extractvalue { ptr, i32 } %1085, 1
  store i32 %1087, ptr %5, align 4
  br label %1092

1088:                                             ; preds = %1060, %1058, %1055
  %1089 = landingpad { ptr, i32 }
          cleanup
  %1090 = extractvalue { ptr, i32 } %1089, 0
  store ptr %1090, ptr %4, align 8
  %1091 = extractvalue { ptr, i32 } %1089, 1
  store i32 %1091, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %69) #9
  br label %1092

1092:                                             ; preds = %1088, %1084
  invoke void @__cxa_end_catch()
          to label %1093 unwind label %1389

1093:                                             ; preds = %1092
  br label %1380

1094:                                             ; preds = %1065
  %1095 = landingpad { ptr, i32 }
          cleanup
  %1096 = extractvalue { ptr, i32 } %1095, 0
  store ptr %1096, ptr %4, align 8
  %1097 = extractvalue { ptr, i32 } %1095, 1
  store i32 %1097, ptr %5, align 4
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %71) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %70) #9
  br label %1380

1098:                                             ; preds = %1074, %1069
  %1099 = landingpad { ptr, i32 }
          catch ptr null
  %1100 = extractvalue { ptr, i32 } %1099, 0
  store ptr %1100, ptr %4, align 8
  %1101 = extractvalue { ptr, i32 } %1099, 1
  store i32 %1101, ptr %5, align 4
  br label %1106

1102:                                             ; preds = %1081, %1079, %1076
  %1103 = landingpad { ptr, i32 }
          catch ptr null
  %1104 = extractvalue { ptr, i32 } %1103, 0
  store ptr %1104, ptr %4, align 8
  %1105 = extractvalue { ptr, i32 } %1103, 1
  store i32 %1105, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %72) #9
  br label %1106

1106:                                             ; preds = %1102, %1098
  %1107 = load ptr, ptr %4, align 8
  %1108 = call ptr @__cxa_begin_catch(ptr %1107) #9
  %1109 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1110 unwind label %1148

1110:                                             ; preds = %1106
  %1111 = load ptr, ptr %1109, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %73) #9
  %1112 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1113 unwind label %1152

1113:                                             ; preds = %1110
  %1114 = load ptr, ptr %1112, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %73, ptr noundef nonnull align 8 dereferenceable(30) %1114, i32 noundef 140)
          to label %1115 unwind label %1152

1115:                                             ; preds = %1113
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1111, ptr noundef nonnull align 8 dereferenceable(30) %73, ptr noundef @.str.22)
          to label %1116 unwind label %1152

1116:                                             ; preds = %1115
  call void @llvm.lifetime.end.p0(i64 32, ptr %73) #9
  invoke void @__cxa_end_catch()
          to label %1117 unwind label %146

1117:                                             ; preds = %1116
  br label %1118

1118:                                             ; preds = %1147, %1117
  br label %1119

1119:                                             ; preds = %1118
  br label %1120

1120:                                             ; preds = %1119
  %1121 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %6) #9
  invoke void @_ZN10HtnRuleSet8ClearAllEv(ptr noundef nonnull align 8 dereferenceable(144) %1121)
          to label %1122 unwind label %146

1122:                                             ; preds = %1120
  call void @llvm.lifetime.start.p0(i64 16, ptr %74) #9
  %1123 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 88) #10
          to label %1124 unwind label %1158

1124:                                             ; preds = %1122
  %1125 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #9
  %1126 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %6) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactoryP10HtnRuleSet(ptr noundef nonnull align 8 dereferenceable(88) %1123, ptr noundef %1125, ptr noundef %1126)
          to label %1127 unwind label %1162

1127:                                             ; preds = %1124
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %74, ptr noundef %1123)
          to label %1128 unwind label %1158

1128:                                             ; preds = %1127
  %1129 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %74) #9
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %74) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %74) #9
  br label %1130

1130:                                             ; preds = %1128
  %1131 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %76) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %76) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %75, ptr noundef nonnull align 8 dereferenceable(32) %76, ptr noundef @.str.53)
          to label %1132 unwind label %1167

1132:                                             ; preds = %1130
  %1133 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %1131, ptr noundef %75)
          to label %1134 unwind label %1171

1134:                                             ; preds = %1132
  %1135 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %1133)
          to label %1136 unwind label %1171

1136:                                             ; preds = %1134
  %1137 = xor i1 %1135, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %75) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %76) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %76) #9
  br i1 %1137, label %1138, label %1216

1138:                                             ; preds = %1136
  %1139 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1140 unwind label %1176

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

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

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

1146:                                             ; preds = %1145
  call void @llvm.lifetime.end.p0(i64 32, ptr %77) #9
  br label %1216

1147:                                             ; preds = %1082, %1073
  br label %1118

1148:                                             ; preds = %1106
  %1149 = landingpad { ptr, i32 }
          cleanup
  %1150 = extractvalue { ptr, i32 } %1149, 0
  store ptr %1150, ptr %4, align 8
  %1151 = extractvalue { ptr, i32 } %1149, 1
  store i32 %1151, ptr %5, align 4
  br label %1156

1152:                                             ; preds = %1115, %1113, %1110
  %1153 = landingpad { ptr, i32 }
          cleanup
  %1154 = extractvalue { ptr, i32 } %1153, 0
  store ptr %1154, ptr %4, align 8
  %1155 = extractvalue { ptr, i32 } %1153, 1
  store i32 %1155, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %73) #9
  br label %1156

1156:                                             ; preds = %1152, %1148
  invoke void @__cxa_end_catch()
          to label %1157 unwind label %1389

1157:                                             ; preds = %1156
  br label %1380

1158:                                             ; preds = %1127, %1122
  %1159 = landingpad { ptr, i32 }
          cleanup
  %1160 = extractvalue { ptr, i32 } %1159, 0
  store ptr %1160, ptr %4, align 8
  %1161 = extractvalue { ptr, i32 } %1159, 1
  store i32 %1161, ptr %5, align 4
  br label %1166

1162:                                             ; preds = %1124
  %1163 = landingpad { ptr, i32 }
          cleanup
  %1164 = extractvalue { ptr, i32 } %1163, 0
  store ptr %1164, ptr %4, align 8
  %1165 = extractvalue { ptr, i32 } %1163, 1
  store i32 %1165, ptr %5, align 4
  call void @_ZdlPvm(ptr noundef %1123, i64 noundef 88) #11
  br label %1166

1166:                                             ; preds = %1162, %1158
  call void @llvm.lifetime.end.p0(i64 16, ptr %74) #9
  br label %1380

1167:                                             ; preds = %1130
  %1168 = landingpad { ptr, i32 }
          catch ptr null
  %1169 = extractvalue { ptr, i32 } %1168, 0
  store ptr %1169, ptr %4, align 8
  %1170 = extractvalue { ptr, i32 } %1168, 1
  store i32 %1170, ptr %5, align 4
  br label %1175

1171:                                             ; preds = %1134, %1132
  %1172 = landingpad { ptr, i32 }
          catch ptr null
  %1173 = extractvalue { ptr, i32 } %1172, 0
  store ptr %1173, ptr %4, align 8
  %1174 = extractvalue { ptr, i32 } %1172, 1
  store i32 %1174, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %75) #9
  br label %1175

1175:                                             ; preds = %1171, %1167
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %76) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %76) #9
  br label %1184

1176:                                             ; preds = %1138
  %1177 = landingpad { ptr, i32 }
          catch ptr null
  %1178 = extractvalue { ptr, i32 } %1177, 0
  store ptr %1178, ptr %4, align 8
  %1179 = extractvalue { ptr, i32 } %1177, 1
  store i32 %1179, ptr %5, align 4
  br label %1184

1180:                                             ; preds = %1145, %1143, %1140
  %1181 = landingpad { ptr, i32 }
          catch ptr null
  %1182 = extractvalue { ptr, i32 } %1181, 0
  store ptr %1182, ptr %4, align 8
  %1183 = extractvalue { ptr, i32 } %1181, 1
  store i32 %1183, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %77) #9
  br label %1184

1184:                                             ; preds = %1180, %1176, %1175
  %1185 = load ptr, ptr %4, align 8
  %1186 = call ptr @__cxa_begin_catch(ptr %1185) #9
  %1187 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1188 unwind label %1217

1188:                                             ; preds = %1184
  %1189 = load ptr, ptr %1187, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %78) #9
  %1190 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1191 unwind label %1221

1191:                                             ; preds = %1188
  %1192 = load ptr, ptr %1190, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %78, ptr noundef nonnull align 8 dereferenceable(30) %1192, i32 noundef 148)
          to label %1193 unwind label %1221

1193:                                             ; preds = %1191
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1189, ptr noundef nonnull align 8 dereferenceable(30) %78, ptr noundef @.str.55)
          to label %1194 unwind label %1221

1194:                                             ; preds = %1193
  call void @llvm.lifetime.end.p0(i64 32, ptr %78) #9
  invoke void @__cxa_end_catch()
          to label %1195 unwind label %146

1195:                                             ; preds = %1194
  br label %1196

1196:                                             ; preds = %1216, %1195
  br label %1197

1197:                                             ; preds = %1196
  br label %1198

1198:                                             ; preds = %1197
  call void @llvm.lifetime.start.p0(i64 48, ptr %79) #9
  %1199 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @_ZNSt10shared_ptrI15HtnGoalResolverEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %80, ptr noundef nonnull align 8 dereferenceable(16) %8) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE19FindRuleLogicErrorsB5cxx11ESt10shared_ptrI15HtnGoalResolverE(ptr dead_on_unwind writable sret(%"class.std::set") align 8 %79, ptr noundef nonnull align 8 dereferenceable(88) %1199, ptr noundef %80)
          to label %1200 unwind label %1227

1200:                                             ; preds = %1198
  %1201 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(48) %79) #9
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %79) #9
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %80) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %79) #9
  br label %1202

1202:                                             ; preds = %1200
  %1203 = call noundef i64 @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #9
  %1204 = icmp eq i64 %1203, 2
  %1205 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %1204)
          to label %1206 unwind label %1231

1206:                                             ; preds = %1202
  br i1 %1205, label %1273, label %1207

1207:                                             ; preds = %1206
  %1208 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1209 unwind label %1231

1209:                                             ; preds = %1207
  %1210 = load ptr, ptr %1208, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %81) #9
  %1211 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1212 unwind label %1235

1212:                                             ; preds = %1209
  %1213 = load ptr, ptr %1211, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %81, ptr noundef nonnull align 8 dereferenceable(30) %1213, i32 noundef 150)
          to label %1214 unwind label %1235

1214:                                             ; preds = %1212
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1210, ptr noundef nonnull align 8 dereferenceable(30) %81, ptr noundef @.str.26)
          to label %1215 unwind label %1235

1215:                                             ; preds = %1214
  call void @llvm.lifetime.end.p0(i64 32, ptr %81) #9
  br label %1273

1216:                                             ; preds = %1146, %1136
  br label %1196

1217:                                             ; preds = %1184
  %1218 = landingpad { ptr, i32 }
          cleanup
  %1219 = extractvalue { ptr, i32 } %1218, 0
  store ptr %1219, ptr %4, align 8
  %1220 = extractvalue { ptr, i32 } %1218, 1
  store i32 %1220, ptr %5, align 4
  br label %1225

1221:                                             ; preds = %1193, %1191, %1188
  %1222 = landingpad { ptr, i32 }
          cleanup
  %1223 = extractvalue { ptr, i32 } %1222, 0
  store ptr %1223, ptr %4, align 8
  %1224 = extractvalue { ptr, i32 } %1222, 1
  store i32 %1224, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %78) #9
  br label %1225

1225:                                             ; preds = %1221, %1217
  invoke void @__cxa_end_catch()
          to label %1226 unwind label %1389

1226:                                             ; preds = %1225
  br label %1380

1227:                                             ; preds = %1198
  %1228 = landingpad { ptr, i32 }
          cleanup
  %1229 = extractvalue { ptr, i32 } %1228, 0
  store ptr %1229, ptr %4, align 8
  %1230 = extractvalue { ptr, i32 } %1228, 1
  store i32 %1230, ptr %5, align 4
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %80) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %79) #9
  br label %1380

1231:                                             ; preds = %1207, %1202
  %1232 = landingpad { ptr, i32 }
          catch ptr null
  %1233 = extractvalue { ptr, i32 } %1232, 0
  store ptr %1233, ptr %4, align 8
  %1234 = extractvalue { ptr, i32 } %1232, 1
  store i32 %1234, ptr %5, align 4
  br label %1239

1235:                                             ; preds = %1214, %1212, %1209
  %1236 = landingpad { ptr, i32 }
          catch ptr null
  %1237 = extractvalue { ptr, i32 } %1236, 0
  store ptr %1237, ptr %4, align 8
  %1238 = extractvalue { ptr, i32 } %1236, 1
  store i32 %1238, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %81) #9
  br label %1239

1239:                                             ; preds = %1235, %1231
  %1240 = load ptr, ptr %4, align 8
  %1241 = call ptr @__cxa_begin_catch(ptr %1240) #9
  %1242 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1243 unwind label %1274

1243:                                             ; preds = %1239
  %1244 = load ptr, ptr %1242, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %82) #9
  %1245 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1246 unwind label %1278

1246:                                             ; preds = %1243
  %1247 = load ptr, ptr %1245, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %82, ptr noundef nonnull align 8 dereferenceable(30) %1247, i32 noundef 150)
          to label %1248 unwind label %1278

1248:                                             ; preds = %1246
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1244, ptr noundef nonnull align 8 dereferenceable(30) %82, ptr noundef @.str.27)
          to label %1249 unwind label %1278

1249:                                             ; preds = %1248
  call void @llvm.lifetime.end.p0(i64 32, ptr %82) #9
  invoke void @__cxa_end_catch()
          to label %1250 unwind label %146

1250:                                             ; preds = %1249
  br label %1251

1251:                                             ; preds = %1273, %1250
  br label %1252

1252:                                             ; preds = %1251
  br label %1253

1253:                                             ; preds = %1252
  call void @llvm.lifetime.start.p0(i64 8, ptr %83) #9
  %1254 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #9
  %1255 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %83, i32 0, i32 0
  store ptr %1254, ptr %1255, align 8
  %1256 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %83) #9
  %1257 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %1256)
          to label %1258 unwind label %1284

1258:                                             ; preds = %1253
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #9
  br label %1259

1259:                                             ; preds = %1258
  %1260 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef @.str.56)
          to label %1261 unwind label %1288

1261:                                             ; preds = %1259
  %1262 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %1260)
          to label %1263 unwind label %1288

1263:                                             ; preds = %1261
  br i1 %1262, label %1331, label %1264

1264:                                             ; preds = %1263
  %1265 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1266 unwind label %1288

1266:                                             ; preds = %1264
  %1267 = load ptr, ptr %1265, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %84) #9
  %1268 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1269 unwind label %1292

1269:                                             ; preds = %1266
  %1270 = load ptr, ptr %1268, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %84, ptr noundef nonnull align 8 dereferenceable(30) %1270, i32 noundef 152)
          to label %1271 unwind label %1292

1271:                                             ; preds = %1269
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1267, ptr noundef nonnull align 8 dereferenceable(30) %84, ptr noundef @.str.57)
          to label %1272 unwind label %1292

1272:                                             ; preds = %1271
  call void @llvm.lifetime.end.p0(i64 32, ptr %84) #9
  br label %1331

1273:                                             ; preds = %1215, %1206
  br label %1251

1274:                                             ; preds = %1239
  %1275 = landingpad { ptr, i32 }
          cleanup
  %1276 = extractvalue { ptr, i32 } %1275, 0
  store ptr %1276, ptr %4, align 8
  %1277 = extractvalue { ptr, i32 } %1275, 1
  store i32 %1277, ptr %5, align 4
  br label %1282

1278:                                             ; preds = %1248, %1246, %1243
  %1279 = landingpad { ptr, i32 }
          cleanup
  %1280 = extractvalue { ptr, i32 } %1279, 0
  store ptr %1280, ptr %4, align 8
  %1281 = extractvalue { ptr, i32 } %1279, 1
  store i32 %1281, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %82) #9
  br label %1282

1282:                                             ; preds = %1278, %1274
  invoke void @__cxa_end_catch()
          to label %1283 unwind label %1389

1283:                                             ; preds = %1282
  br label %1380

1284:                                             ; preds = %1253
  %1285 = landingpad { ptr, i32 }
          cleanup
  %1286 = extractvalue { ptr, i32 } %1285, 0
  store ptr %1286, ptr %4, align 8
  %1287 = extractvalue { ptr, i32 } %1285, 1
  store i32 %1287, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #9
  br label %1380

1288:                                             ; preds = %1264, %1261, %1259
  %1289 = landingpad { ptr, i32 }
          catch ptr null
  %1290 = extractvalue { ptr, i32 } %1289, 0
  store ptr %1290, ptr %4, align 8
  %1291 = extractvalue { ptr, i32 } %1289, 1
  store i32 %1291, ptr %5, align 4
  br label %1296

1292:                                             ; preds = %1271, %1269, %1266
  %1293 = landingpad { ptr, i32 }
          catch ptr null
  %1294 = extractvalue { ptr, i32 } %1293, 0
  store ptr %1294, ptr %4, align 8
  %1295 = extractvalue { ptr, i32 } %1293, 1
  store i32 %1295, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %84) #9
  br label %1296

1296:                                             ; preds = %1292, %1288
  %1297 = load ptr, ptr %4, align 8
  %1298 = call ptr @__cxa_begin_catch(ptr %1297) #9
  %1299 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1300 unwind label %1332

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

1303:                                             ; preds = %1300
  %1304 = load ptr, ptr %1302, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %85, ptr noundef nonnull align 8 dereferenceable(30) %1304, i32 noundef 152)
          to label %1305 unwind label %1336

1305:                                             ; preds = %1303
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1301, ptr noundef nonnull align 8 dereferenceable(30) %85, ptr noundef @.str.58)
          to label %1306 unwind label %1336

1306:                                             ; preds = %1305
  call void @llvm.lifetime.end.p0(i64 32, ptr %85) #9
  invoke void @__cxa_end_catch()
          to label %1307 unwind label %146

1307:                                             ; preds = %1306
  br label %1308

1308:                                             ; preds = %1331, %1307
  br label %1309

1309:                                             ; preds = %1308
  br label %1310

1310:                                             ; preds = %1309
  call void @llvm.lifetime.start.p0(i64 8, ptr %86) #9
  %1311 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #9
  %1312 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %86, i32 0, i32 0
  store ptr %1311, ptr %1312, align 8
  %1313 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %86) #9
  %1314 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %1313) #9
  %1315 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %1314)
          to label %1316 unwind label %1342

1316:                                             ; preds = %1310
  call void @llvm.lifetime.end.p0(i64 8, ptr %86) #9
  br label %1317

1317:                                             ; preds = %1316
  %1318 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef @.str.59)
          to label %1319 unwind label %1346

1319:                                             ; preds = %1317
  %1320 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %1318)
          to label %1321 unwind label %1346

1321:                                             ; preds = %1319
  br i1 %1320, label %1369, label %1322

1322:                                             ; preds = %1321
  %1323 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1324 unwind label %1346

1324:                                             ; preds = %1322
  %1325 = load ptr, ptr %1323, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %87) #9
  %1326 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1327 unwind label %1350

1327:                                             ; preds = %1324
  %1328 = load ptr, ptr %1326, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %87, ptr noundef nonnull align 8 dereferenceable(30) %1328, i32 noundef 154)
          to label %1329 unwind label %1350

1329:                                             ; preds = %1327
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1325, ptr noundef nonnull align 8 dereferenceable(30) %87, ptr noundef @.str.60)
          to label %1330 unwind label %1350

1330:                                             ; preds = %1329
  call void @llvm.lifetime.end.p0(i64 32, ptr %87) #9
  br label %1369

1331:                                             ; preds = %1272, %1263
  br label %1308

1332:                                             ; preds = %1296
  %1333 = landingpad { ptr, i32 }
          cleanup
  %1334 = extractvalue { ptr, i32 } %1333, 0
  store ptr %1334, ptr %4, align 8
  %1335 = extractvalue { ptr, i32 } %1333, 1
  store i32 %1335, ptr %5, align 4
  br label %1340

1336:                                             ; preds = %1305, %1303, %1300
  %1337 = landingpad { ptr, i32 }
          cleanup
  %1338 = extractvalue { ptr, i32 } %1337, 0
  store ptr %1338, ptr %4, align 8
  %1339 = extractvalue { ptr, i32 } %1337, 1
  store i32 %1339, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %85) #9
  br label %1340

1340:                                             ; preds = %1336, %1332
  invoke void @__cxa_end_catch()
          to label %1341 unwind label %1389

1341:                                             ; preds = %1340
  br label %1380

1342:                                             ; preds = %1310
  %1343 = landingpad { ptr, i32 }
          cleanup
  %1344 = extractvalue { ptr, i32 } %1343, 0
  store ptr %1344, ptr %4, align 8
  %1345 = extractvalue { ptr, i32 } %1343, 1
  store i32 %1345, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %86) #9
  br label %1380

1346:                                             ; preds = %1322, %1319, %1317
  %1347 = landingpad { ptr, i32 }
          catch ptr null
  %1348 = extractvalue { ptr, i32 } %1347, 0
  store ptr %1348, ptr %4, align 8
  %1349 = extractvalue { ptr, i32 } %1347, 1
  store i32 %1349, ptr %5, align 4
  br label %1354

1350:                                             ; preds = %1329, %1327, %1324
  %1351 = landingpad { ptr, i32 }
          catch ptr null
  %1352 = extractvalue { ptr, i32 } %1351, 0
  store ptr %1352, ptr %4, align 8
  %1353 = extractvalue { ptr, i32 } %1351, 1
  store i32 %1353, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %87) #9
  br label %1354

1354:                                             ; preds = %1350, %1346
  %1355 = load ptr, ptr %4, align 8
  %1356 = call ptr @__cxa_begin_catch(ptr %1355) #9
  %1357 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %1358 unwind label %1370

1358:                                             ; preds = %1354
  %1359 = load ptr, ptr %1357, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %88) #9
  %1360 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %1361 unwind label %1374

1361:                                             ; preds = %1358
  %1362 = load ptr, ptr %1360, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %88, ptr noundef nonnull align 8 dereferenceable(30) %1362, i32 noundef 154)
          to label %1363 unwind label %1374

1363:                                             ; preds = %1361
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %1359, ptr noundef nonnull align 8 dereferenceable(30) %88, ptr noundef @.str.61)
          to label %1364 unwind label %1374

1364:                                             ; preds = %1363
  call void @llvm.lifetime.end.p0(i64 32, ptr %88) #9
  invoke void @__cxa_end_catch()
          to label %1365 unwind label %146

1365:                                             ; preds = %1364
  br label %1366

1366:                                             ; preds = %1369, %1365
  br label %1367

1367:                                             ; preds = %1366
  br label %1368

1368:                                             ; preds = %1367
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #9
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #9
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #9
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #9
  call void @_ZNSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #9
  call void @_ZNSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #9
  ret void

1369:                                             ; preds = %1330, %1321
  br label %1366

1370:                                             ; preds = %1354
  %1371 = landingpad { ptr, i32 }
          cleanup
  %1372 = extractvalue { ptr, i32 } %1371, 0
  store ptr %1372, ptr %4, align 8
  %1373 = extractvalue { ptr, i32 } %1371, 1
  store i32 %1373, ptr %5, align 4
  br label %1378

1374:                                             ; preds = %1363, %1361, %1358
  %1375 = landingpad { ptr, i32 }
          cleanup
  %1376 = extractvalue { ptr, i32 } %1375, 0
  store ptr %1376, ptr %4, align 8
  %1377 = extractvalue { ptr, i32 } %1375, 1
  store i32 %1377, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %88) #9
  br label %1378

1378:                                             ; preds = %1374, %1370
  invoke void @__cxa_end_catch()
          to label %1379 unwind label %1389

1379:                                             ; preds = %1378
  br label %1380

1380:                                             ; preds = %1379, %1342, %1341, %1284, %1283, %1227, %1226, %1166, %1157, %1094, %1093, %1033, %1024, %961, %960, %903, %902, %846, %845, %785, %776, %712, %655, %600, %599, %539, %530, %467, %466, %409, %408, %352, %351, %291, %282, %219, %218, %158, %146
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #9
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #9
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #9
  br label %1381

1381:                                             ; preds = %1380, %142, %138
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #9
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #9
  call void @_ZNSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #9
  br label %1382

1382:                                             ; preds = %1381, %134, %130
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #9
  call void @_ZNSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #9
  br label %1383

1383:                                             ; preds = %1382, %126
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #9
  br label %1384

1384:                                             ; preds = %1383
  %1385 = load ptr, ptr %4, align 8
  %1386 = load i32, ptr %5, align 4
  %1387 = insertvalue { ptr, i32 } poison, ptr %1385, 0
  %1388 = insertvalue { ptr, i32 } %1387, i32 %1386, 1
  resume { ptr, i32 } %1388

1389:                                             ; preds = %1378, %1340, %1282, %1225, %1156, %1092, %1023, %959, %901, %844, %775, %711, %654, %598, %529, %465, %407, %350, %281, %217
  %1390 = landingpad { ptr, i32 }
          catch ptr null
  %1391 = extractvalue { ptr, i32 } %1390, 0
  call void @__clang_call_terminate(ptr %1391) #12
  unreachable
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { noinline noreturn nounwind uwtable "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { builtin nounwind }
attributes #12 = { noreturn nounwind }

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

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


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::set" = type { %"class.std::_Rb_tree.64" }
%"class.std::_Rb_tree.64" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::_Identity<std::__cxx11::basic_string<char>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::_Identity<std::__cxx11::basic_string<char>>, 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_count" = type { ptr }
%"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.53" = type { %"class.std::__shared_ptr.54" }
%"class.std::__shared_ptr.54" = type { ptr, %"class.std::__shared_count" }
%"class.UnitTest::TestDetails" = type <{ ptr, ptr, ptr, i32, i8, i8, [2 x i8] }>
%"struct.std::_Rb_tree_const_iterator" = type { ptr }

@.str.18 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [135 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [113 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [125 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [155 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [120 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [115 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [145 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [128 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [96 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 uwtable
declare dso_local void @_ZNSt10shared_ptrI15HtnGoalResolverEC2IS0_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt19__shared_ptr_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: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #6

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

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

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

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

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

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

declare void @__cxa_end_catch() local_unnamed_addr

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #8

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

87:                                               ; preds = %1
  call void @_ZNSt10shared_ptrI14HtnTermFactoryEC2IS0_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull %86)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #9
  %88 = invoke noalias noundef nonnull dereferenceable(144) ptr @_Znwm(i64 noundef 144) #10
          to label %89 unwind label %120

89:                                               ; preds = %87
  invoke void @_ZN10HtnRuleSetC2Ev(ptr noundef nonnull align 8 dereferenceable(144) %88)
          to label %90 unwind label %122

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

91:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  call void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #9
  %92 = invoke noalias noundef nonnull dereferenceable(64) ptr @_Znwm(i64 noundef 64) #10
          to label %93 unwind label %124

93:                                               ; preds = %91
  invoke void @_ZN15HtnGoalResolverC1Ev(ptr noundef nonnull align 8 dereferenceable(64) %92)
          to label %94 unwind label %126

94:                                               ; preds = %93
  invoke void @_ZNSt10shared_ptrI15HtnGoalResolverEC2IS0_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull %92)
          to label %95 unwind label %124

95:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #9
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #9
  %96 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #9
  invoke void @_ZN10HtnRuleSet8ClearAllEv(ptr noundef nonnull align 8 dereferenceable(144) %96)
          to label %97 unwind label %128

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

99:                                               ; preds = %97
  %100 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %2) #9
  %101 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #9
  call void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactoryP10HtnRuleSet(ptr noundef nonnull align 8 dereferenceable(88) %98, ptr noundef %100, ptr noundef %101)
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull %98)
          to label %102 unwind label %130

102:                                              ; preds = %99
  %103 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %8) #9
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #9
  %104 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %9, ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull @.str.18)
          to label %105 unwind label %132

105:                                              ; preds = %102
  %106 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %104, ptr noundef nonnull %9)
          to label %107 unwind label %134

107:                                              ; preds = %105
  %108 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %106)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #9
  br i1 %108, label %151, label %109

109:                                              ; preds = %107
  %110 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %111 unwind label %137

111:                                              ; preds = %109
  %112 = load ptr, ptr %110, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #9
  %113 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %114 unwind label %139

114:                                              ; preds = %111
  %115 = load ptr, ptr %113, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %11, ptr noundef nonnull align 8 dereferenceable(30) %115, i32 noundef 85)
          to label %116 unwind label %139

116:                                              ; preds = %114
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %112, ptr noundef nonnull align 8 dereferenceable(30) %11, ptr noundef nonnull @.str.19)
          to label %117 unwind label %139

117:                                              ; preds = %116
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #9
  br label %151

118:                                              ; preds = %1
  %119 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %86, i64 noundef 33088) #11
  br label %919

120:                                              ; preds = %90, %87
  %121 = landingpad { ptr, i32 }
          cleanup
  br label %918

122:                                              ; preds = %89
  %123 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %88, i64 noundef 144) #11
  br label %918

124:                                              ; preds = %94, %91
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %917

126:                                              ; preds = %93
  %127 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %92, i64 noundef 64) #11
  br label %917

128:                                              ; preds = %909, %871, %834, %797, %749, %748, %711, %663, %662, %624, %587, %550, %502, %501, %467, %434, %397, %349, %348, %310, %273, %236, %188, %187, %150, %95
  %129 = landingpad { ptr, i32 }
          cleanup
  br label %916

130:                                              ; preds = %99, %97
  %131 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #9
  br label %916

132:                                              ; preds = %102
  %133 = landingpad { ptr, i32 }
          catch ptr null
  br label %136

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

136:                                              ; preds = %134, %132
  %.pn = phi { ptr, i32 } [ %135, %134 ], [ %133, %132 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #9
  br label %141

137:                                              ; preds = %109
  %138 = landingpad { ptr, i32 }
          catch ptr null
  br label %141

139:                                              ; preds = %116, %114, %111
  %140 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #9
  br label %141

141:                                              ; preds = %139, %137, %136
  %.pn46 = phi { ptr, i32 } [ %140, %139 ], [ %138, %137 ], [ %.pn, %136 ]
  %.123 = extractvalue { ptr, i32 } %.pn46, 0
  %142 = call ptr @__cxa_begin_catch(ptr %.123) #9
  %143 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %144 unwind label %167

144:                                              ; preds = %141
  %145 = load ptr, ptr %143, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #9
  %146 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %147 unwind label %169

147:                                              ; preds = %144
  %148 = load ptr, ptr %146, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %12, ptr noundef nonnull align 8 dereferenceable(30) %148, i32 noundef 85)
          to label %149 unwind label %169

149:                                              ; preds = %147
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %145, ptr noundef nonnull align 8 dereferenceable(30) %12, ptr noundef nonnull @.str.20)
          to label %150 unwind label %169

150:                                              ; preds = %149
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #9
  invoke void @__cxa_end_catch()
          to label %151 unwind label %128

151:                                              ; preds = %107, %117, %150
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %13) #9
  %152 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  call void @_ZNSt10shared_ptrI15HtnGoalResolverEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %5) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE19FindRuleLogicErrorsB5cxx11ESt10shared_ptrI15HtnGoalResolverE(ptr dead_on_unwind nonnull writable sret(%"class.std::set") align 8 %13, ptr noundef nonnull align 8 dereferenceable(88) %152, ptr noundef nonnull %14)
          to label %153 unwind label %172

153:                                              ; preds = %151
  %154 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 8 dereferenceable(48) %13) #9
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #9
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #9
  %155 = call noundef i64 @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #9
  %156 = icmp eq i64 %155, 0
  %157 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %156)
  br i1 %157, label %188, label %158

158:                                              ; preds = %153
  %159 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %160 unwind label %174

160:                                              ; preds = %158
  %161 = load ptr, ptr %159, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #9
  %162 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %163 unwind label %176

163:                                              ; preds = %160
  %164 = load ptr, ptr %162, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %15, ptr noundef nonnull align 8 dereferenceable(30) %164, i32 noundef 87)
          to label %165 unwind label %176

165:                                              ; preds = %163
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %161, ptr noundef nonnull align 8 dereferenceable(30) %15, ptr noundef nonnull @.str.21)
          to label %166 unwind label %176

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

167:                                              ; preds = %141
  %168 = landingpad { ptr, i32 }
          cleanup
  br label %171

169:                                              ; preds = %149, %147, %144
  %170 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #9
  br label %171

171:                                              ; preds = %169, %167
  %.pn47 = phi { ptr, i32 } [ %170, %169 ], [ %168, %167 ]
  invoke void @__cxa_end_catch()
          to label %916 unwind label %920

172:                                              ; preds = %151
  %173 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #9
  br label %916

174:                                              ; preds = %158
  %175 = landingpad { ptr, i32 }
          catch ptr null
  br label %178

176:                                              ; preds = %165, %163, %160
  %177 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #9
  br label %178

178:                                              ; preds = %176, %174
  %.pn49 = phi { ptr, i32 } [ %177, %176 ], [ %175, %174 ]
  %.325 = extractvalue { ptr, i32 } %.pn49, 0
  %179 = call ptr @__cxa_begin_catch(ptr %.325) #9
  %180 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %181 unwind label %211

181:                                              ; preds = %178
  %182 = load ptr, ptr %180, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #9
  %183 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %184 unwind label %213

184:                                              ; preds = %181
  %185 = load ptr, ptr %183, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %16, ptr noundef nonnull align 8 dereferenceable(30) %185, i32 noundef 87)
          to label %186 unwind label %213

186:                                              ; preds = %184
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %182, ptr noundef nonnull align 8 dereferenceable(30) %16, ptr noundef nonnull @.str.22)
          to label %187 unwind label %213

187:                                              ; preds = %186
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #9
  invoke void @__cxa_end_catch()
          to label %188 unwind label %128

188:                                              ; preds = %153, %166, %187
  %189 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #9
  invoke void @_ZN10HtnRuleSet8ClearAllEv(ptr noundef nonnull align 8 dereferenceable(144) %189)
          to label %190 unwind label %128

190:                                              ; preds = %188
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #9
  %191 = invoke noalias noundef nonnull dereferenceable(88) ptr @_Znwm(i64 noundef 88) #10
          to label %192 unwind label %216

192:                                              ; preds = %190
  %193 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %2) #9
  %194 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #9
  call void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactoryP10HtnRuleSet(ptr noundef nonnull align 8 dereferenceable(88) %191, ptr noundef %193, ptr noundef %194)
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull %191)
          to label %195 unwind label %216

195:                                              ; preds = %192
  %196 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %17) #9
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #9
  %197 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %18, ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull @.str.23)
          to label %198 unwind label %218

198:                                              ; preds = %195
  %199 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %197, ptr noundef nonnull %18)
          to label %200 unwind label %220

200:                                              ; preds = %198
  %201 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %199)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #9
  br i1 %201, label %237, label %202

202:                                              ; preds = %200
  %203 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %204 unwind label %223

204:                                              ; preds = %202
  %205 = load ptr, ptr %203, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #9
  %206 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %207 unwind label %225

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

209:                                              ; preds = %207
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %205, ptr noundef nonnull align 8 dereferenceable(30) %20, ptr noundef nonnull @.str.24)
          to label %210 unwind label %225

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

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

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

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

216:                                              ; preds = %192, %190
  %217 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #9
  br label %916

218:                                              ; preds = %195
  %219 = landingpad { ptr, i32 }
          catch ptr null
  br label %222

220:                                              ; preds = %198
  %221 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #9
  br label %222

222:                                              ; preds = %220, %218
  %.pn52 = phi { ptr, i32 } [ %221, %220 ], [ %219, %218 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #9
  br label %227

223:                                              ; preds = %202
  %224 = landingpad { ptr, i32 }
          catch ptr null
  br label %227

225:                                              ; preds = %209, %207, %204
  %226 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #9
  br label %227

227:                                              ; preds = %225, %223, %222
  %.pn53 = phi { ptr, i32 } [ %226, %225 ], [ %224, %223 ], [ %.pn52, %222 ]
  %.628 = extractvalue { ptr, i32 } %.pn53, 0
  %228 = call ptr @__cxa_begin_catch(ptr %.628) #9
  %229 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %230 unwind label %253

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

233:                                              ; preds = %230
  %234 = load ptr, ptr %232, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %21, ptr noundef nonnull align 8 dereferenceable(30) %234, i32 noundef 95)
          to label %235 unwind label %255

235:                                              ; preds = %233
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %231, ptr noundef nonnull align 8 dereferenceable(30) %21, ptr noundef nonnull @.str.25)
          to label %236 unwind label %255

236:                                              ; preds = %235
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #9
  invoke void @__cxa_end_catch()
          to label %237 unwind label %128

237:                                              ; preds = %200, %210, %236
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %22) #9
  %238 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  call void @_ZNSt10shared_ptrI15HtnGoalResolverEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(16) %5) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE19FindRuleLogicErrorsB5cxx11ESt10shared_ptrI15HtnGoalResolverE(ptr dead_on_unwind nonnull writable sret(%"class.std::set") align 8 %22, ptr noundef nonnull align 8 dereferenceable(88) %238, ptr noundef nonnull %23)
          to label %239 unwind label %258

239:                                              ; preds = %237
  %240 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 8 dereferenceable(48) %22) #9
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #9
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %22) #9
  %241 = call noundef i64 @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #9
  %242 = icmp eq i64 %241, 2
  %243 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %242)
  br i1 %243, label %274, label %244

244:                                              ; preds = %239
  %245 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %246 unwind label %260

246:                                              ; preds = %244
  %247 = load ptr, ptr %245, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #9
  %248 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %249 unwind label %262

249:                                              ; preds = %246
  %250 = load ptr, ptr %248, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %24, ptr noundef nonnull align 8 dereferenceable(30) %250, i32 noundef 97)
          to label %251 unwind label %262

251:                                              ; preds = %249
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %247, ptr noundef nonnull align 8 dereferenceable(30) %24, ptr noundef nonnull @.str.26)
          to label %252 unwind label %262

252:                                              ; preds = %251
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #9
  br label %274

253:                                              ; preds = %227
  %254 = landingpad { ptr, i32 }
          cleanup
  br label %257

255:                                              ; preds = %235, %233, %230
  %256 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #9
  br label %257

257:                                              ; preds = %255, %253
  %.pn54 = phi { ptr, i32 } [ %256, %255 ], [ %254, %253 ]
  invoke void @__cxa_end_catch()
          to label %916 unwind label %920

258:                                              ; preds = %237
  %259 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %22) #9
  br label %916

260:                                              ; preds = %244
  %261 = landingpad { ptr, i32 }
          catch ptr null
  br label %264

262:                                              ; preds = %251, %249, %246
  %263 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #9
  br label %264

264:                                              ; preds = %262, %260
  %.pn56 = phi { ptr, i32 } [ %263, %262 ], [ %261, %260 ]
  %.830 = extractvalue { ptr, i32 } %.pn56, 0
  %265 = call ptr @__cxa_begin_catch(ptr %.830) #9
  %266 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %267 unwind label %290

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

270:                                              ; preds = %267
  %271 = load ptr, ptr %269, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %25, ptr noundef nonnull align 8 dereferenceable(30) %271, i32 noundef 97)
          to label %272 unwind label %292

272:                                              ; preds = %270
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %268, ptr noundef nonnull align 8 dereferenceable(30) %25, ptr noundef nonnull @.str.27)
          to label %273 unwind label %292

273:                                              ; preds = %272
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #9
  invoke void @__cxa_end_catch()
          to label %274 unwind label %128

274:                                              ; preds = %239, %252, %273
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #9
  %275 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #9
  store ptr %275, ptr %26, align 8
  %276 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #9
  %277 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %276)
          to label %278 unwind label %295

278:                                              ; preds = %274
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #9
  %279 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.28)
  %280 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %279)
  br i1 %280, label %311, label %281

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

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

286:                                              ; preds = %283
  %287 = load ptr, ptr %285, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %27, ptr noundef nonnull align 8 dereferenceable(30) %287, i32 noundef 99)
          to label %288 unwind label %299

288:                                              ; preds = %286
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %284, ptr noundef nonnull align 8 dereferenceable(30) %27, ptr noundef nonnull @.str.29)
          to label %289 unwind label %299

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

290:                                              ; preds = %264
  %291 = landingpad { ptr, i32 }
          cleanup
  br label %294

292:                                              ; preds = %272, %270, %267
  %293 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #9
  br label %294

294:                                              ; preds = %292, %290
  %.pn57 = phi { ptr, i32 } [ %293, %292 ], [ %291, %290 ]
  invoke void @__cxa_end_catch()
          to label %916 unwind label %920

295:                                              ; preds = %274
  %296 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #9
  br label %916

297:                                              ; preds = %281
  %298 = landingpad { ptr, i32 }
          catch ptr null
  br label %301

299:                                              ; preds = %288, %286, %283
  %300 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #9
  br label %301

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

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

307:                                              ; preds = %304
  %308 = load ptr, ptr %306, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %28, ptr noundef nonnull align 8 dereferenceable(30) %308, i32 noundef 99)
          to label %309 unwind label %330

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

310:                                              ; preds = %309
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #9
  invoke void @__cxa_end_catch()
          to label %311 unwind label %128

311:                                              ; preds = %278, %289, %310
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #9
  %312 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #9
  store ptr %312, ptr %29, align 8
  %313 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #9
  %314 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %313) #9
  %315 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %314)
          to label %316 unwind label %333

316:                                              ; preds = %311
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #9
  %317 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.31)
  %318 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %317)
  br i1 %318, label %349, label %319

319:                                              ; preds = %316
  %320 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %321 unwind label %335

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

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

326:                                              ; preds = %324
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %322, ptr noundef nonnull align 8 dereferenceable(30) %30, ptr noundef nonnull @.str.32)
          to label %327 unwind label %337

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

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

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

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

333:                                              ; preds = %311
  %334 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #9
  br label %916

335:                                              ; preds = %319
  %336 = landingpad { ptr, i32 }
          catch ptr null
  br label %339

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

339:                                              ; preds = %337, %335
  %.pn62 = phi { ptr, i32 } [ %338, %337 ], [ %336, %335 ]
  %.1234 = extractvalue { ptr, i32 } %.pn62, 0
  %340 = call ptr @__cxa_begin_catch(ptr %.1234) #9
  %341 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %342 unwind label %372

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

345:                                              ; preds = %342
  %346 = load ptr, ptr %344, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %31, ptr noundef nonnull align 8 dereferenceable(30) %346, i32 noundef 101)
          to label %347 unwind label %374

347:                                              ; preds = %345
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %343, ptr noundef nonnull align 8 dereferenceable(30) %31, ptr noundef nonnull @.str.33)
          to label %348 unwind label %374

348:                                              ; preds = %347
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #9
  invoke void @__cxa_end_catch()
          to label %349 unwind label %128

349:                                              ; preds = %316, %327, %348
  %350 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #9
  invoke void @_ZN10HtnRuleSet8ClearAllEv(ptr noundef nonnull align 8 dereferenceable(144) %350)
          to label %351 unwind label %128

351:                                              ; preds = %349
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %32) #9
  %352 = invoke noalias noundef nonnull dereferenceable(88) ptr @_Znwm(i64 noundef 88) #10
          to label %353 unwind label %377

353:                                              ; preds = %351
  %354 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %2) #9
  %355 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #9
  call void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactoryP10HtnRuleSet(ptr noundef nonnull align 8 dereferenceable(88) %352, ptr noundef %354, ptr noundef %355)
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef nonnull %352)
          to label %356 unwind label %377

356:                                              ; preds = %353
  %357 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %32) #9
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %32) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #9
  %358 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %34) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %33, ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull @.str.34)
          to label %359 unwind label %379

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

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

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

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

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

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

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

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

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

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

377:                                              ; preds = %353, %351
  %378 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #9
  br label %916

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

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

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

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

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

388:                                              ; preds = %386, %384, %383
  %.pn66 = phi { ptr, i32 } [ %387, %386 ], [ %385, %384 ], [ %.pn65, %383 ]
  %.1537 = extractvalue { ptr, i32 } %.pn66, 0
  %389 = call ptr @__cxa_begin_catch(ptr %.1537) #9
  %390 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %391 unwind label %414

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

394:                                              ; preds = %391
  %395 = load ptr, ptr %393, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %36, ptr noundef nonnull align 8 dereferenceable(30) %395, i32 noundef 111)
          to label %396 unwind label %416

396:                                              ; preds = %394
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %392, ptr noundef nonnull align 8 dereferenceable(30) %36, ptr noundef nonnull @.str.36)
          to label %397 unwind label %416

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

398:                                              ; preds = %361, %371, %397
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %37) #9
  %399 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  call void @_ZNSt10shared_ptrI15HtnGoalResolverEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 8 dereferenceable(16) %5) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE19FindRuleLogicErrorsB5cxx11ESt10shared_ptrI15HtnGoalResolverE(ptr dead_on_unwind nonnull writable sret(%"class.std::set") align 8 %37, ptr noundef nonnull align 8 dereferenceable(88) %399, ptr noundef nonnull %38)
          to label %400 unwind label %419

400:                                              ; preds = %398
  %401 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 8 dereferenceable(48) %37) #9
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %37) #9
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %38) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %37) #9
  %402 = call noundef i64 @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #9
  %403 = icmp eq i64 %402, 2
  %404 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %403)
  br i1 %404, label %435, label %405

405:                                              ; preds = %400
  %406 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %407 unwind label %421

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

410:                                              ; preds = %407
  %411 = load ptr, ptr %409, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %39, ptr noundef nonnull align 8 dereferenceable(30) %411, i32 noundef 113)
          to label %412 unwind label %423

412:                                              ; preds = %410
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %408, ptr noundef nonnull align 8 dereferenceable(30) %39, ptr noundef nonnull @.str.26)
          to label %413 unwind label %423

413:                                              ; preds = %412
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %39) #9
  br label %435

414:                                              ; preds = %388
  %415 = landingpad { ptr, i32 }
          cleanup
  br label %418

416:                                              ; preds = %396, %394, %391
  %417 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #9
  br label %418

418:                                              ; preds = %416, %414
  %.pn67 = phi { ptr, i32 } [ %417, %416 ], [ %415, %414 ]
  invoke void @__cxa_end_catch()
          to label %916 unwind label %920

419:                                              ; preds = %398
  %420 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %38) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %37) #9
  br label %916

421:                                              ; preds = %405
  %422 = landingpad { ptr, i32 }
          catch ptr null
  br label %425

423:                                              ; preds = %412, %410, %407
  %424 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %39) #9
  br label %425

425:                                              ; preds = %423, %421
  %.pn69 = phi { ptr, i32 } [ %424, %423 ], [ %422, %421 ]
  %.1739 = extractvalue { ptr, i32 } %.pn69, 0
  %426 = call ptr @__cxa_begin_catch(ptr %.1739) #9
  %427 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %428 unwind label %449

428:                                              ; preds = %425
  %429 = load ptr, ptr %427, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %40) #9
  %430 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %431 unwind label %451

431:                                              ; preds = %428
  %432 = load ptr, ptr %430, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %40, ptr noundef nonnull align 8 dereferenceable(30) %432, i32 noundef 113)
          to label %433 unwind label %451

433:                                              ; preds = %431
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %429, ptr noundef nonnull align 8 dereferenceable(30) %40, ptr noundef nonnull @.str.27)
          to label %434 unwind label %451

434:                                              ; preds = %433
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %40) #9
  invoke void @__cxa_end_catch()
          to label %435 unwind label %128

435:                                              ; preds = %400, %413, %434
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %41) #9
  %436 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #9
  store ptr %436, ptr %41, align 8
  %437 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #9
  %438 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %437, ptr noundef nonnull @.str.28)
  %439 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %438)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %41) #9
  br i1 %439, label %468, label %440

440:                                              ; preds = %435
  %441 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %442 unwind label %454

442:                                              ; preds = %440
  %443 = load ptr, ptr %441, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %42) #9
  %444 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %445 unwind label %456

445:                                              ; preds = %442
  %446 = load ptr, ptr %444, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %42, ptr noundef nonnull align 8 dereferenceable(30) %446, i32 noundef 114)
          to label %447 unwind label %456

447:                                              ; preds = %445
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %443, ptr noundef nonnull align 8 dereferenceable(30) %42, ptr noundef nonnull @.str.37)
          to label %448 unwind label %456

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

449:                                              ; preds = %425
  %450 = landingpad { ptr, i32 }
          cleanup
  br label %453

451:                                              ; preds = %433, %431, %428
  %452 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %40) #9
  br label %453

453:                                              ; preds = %451, %449
  %.pn70 = phi { ptr, i32 } [ %452, %451 ], [ %450, %449 ]
  invoke void @__cxa_end_catch()
          to label %916 unwind label %920

454:                                              ; preds = %440
  %455 = landingpad { ptr, i32 }
          catch ptr null
  br label %458

456:                                              ; preds = %447, %445, %442
  %457 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %42) #9
  br label %458

458:                                              ; preds = %456, %454
  %.pn72 = phi { ptr, i32 } [ %457, %456 ], [ %455, %454 ]
  %.1941 = extractvalue { ptr, i32 } %.pn72, 0
  %459 = call ptr @__cxa_begin_catch(ptr %.1941) #9
  %460 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %461 unwind label %483

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

464:                                              ; preds = %461
  %465 = load ptr, ptr %463, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %43, ptr noundef nonnull align 8 dereferenceable(30) %465, i32 noundef 114)
          to label %466 unwind label %485

466:                                              ; preds = %464
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %462, ptr noundef nonnull align 8 dereferenceable(30) %43, ptr noundef nonnull @.str.38)
          to label %467 unwind label %485

467:                                              ; preds = %466
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %43) #9
  invoke void @__cxa_end_catch()
          to label %468 unwind label %128

468:                                              ; preds = %435, %448, %467
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %44) #9
  %469 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #9
  store ptr %469, ptr %44, align 8
  %470 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %44) #9
  %471 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %470) #9
  %472 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %471, ptr noundef nonnull @.str.31)
  %473 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %472)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %44) #9
  br i1 %473, label %502, label %474

474:                                              ; preds = %468
  %475 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %476 unwind label %488

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

479:                                              ; preds = %476
  %480 = load ptr, ptr %478, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %45, ptr noundef nonnull align 8 dereferenceable(30) %480, i32 noundef 115)
          to label %481 unwind label %490

481:                                              ; preds = %479
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %477, ptr noundef nonnull align 8 dereferenceable(30) %45, ptr noundef nonnull @.str.39)
          to label %482 unwind label %490

482:                                              ; preds = %481
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %45) #9
  br label %502

483:                                              ; preds = %458
  %484 = landingpad { ptr, i32 }
          cleanup
  br label %487

485:                                              ; preds = %466, %464, %461
  %486 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %43) #9
  br label %487

487:                                              ; preds = %485, %483
  %.pn73 = phi { ptr, i32 } [ %486, %485 ], [ %484, %483 ]
  invoke void @__cxa_end_catch()
          to label %916 unwind label %920

488:                                              ; preds = %474
  %489 = landingpad { ptr, i32 }
          catch ptr null
  br label %492

490:                                              ; preds = %481, %479, %476
  %491 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %45) #9
  br label %492

492:                                              ; preds = %490, %488
  %.pn75 = phi { ptr, i32 } [ %491, %490 ], [ %489, %488 ]
  %.2143 = extractvalue { ptr, i32 } %.pn75, 0
  %493 = call ptr @__cxa_begin_catch(ptr %.2143) #9
  %494 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %495 unwind label %525

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

498:                                              ; preds = %495
  %499 = load ptr, ptr %497, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %46, ptr noundef nonnull align 8 dereferenceable(30) %499, i32 noundef 115)
          to label %500 unwind label %527

500:                                              ; preds = %498
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %496, ptr noundef nonnull align 8 dereferenceable(30) %46, ptr noundef nonnull @.str.40)
          to label %501 unwind label %527

501:                                              ; preds = %500
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %46) #9
  invoke void @__cxa_end_catch()
          to label %502 unwind label %128

502:                                              ; preds = %468, %482, %501
  %503 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #9
  invoke void @_ZN10HtnRuleSet8ClearAllEv(ptr noundef nonnull align 8 dereferenceable(144) %503)
          to label %504 unwind label %128

504:                                              ; preds = %502
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %47) #9
  %505 = invoke noalias noundef nonnull dereferenceable(88) ptr @_Znwm(i64 noundef 88) #10
          to label %506 unwind label %530

506:                                              ; preds = %504
  %507 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %2) #9
  %508 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #9
  call void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactoryP10HtnRuleSet(ptr noundef nonnull align 8 dereferenceable(88) %505, ptr noundef %507, ptr noundef %508)
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %47, ptr noundef nonnull %505)
          to label %509 unwind label %530

509:                                              ; preds = %506
  %510 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %47) #9
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %47) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %47) #9
  %511 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %49) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %48, ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef nonnull @.str.41)
          to label %512 unwind label %532

512:                                              ; preds = %509
  %513 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %511, ptr noundef nonnull %48)
          to label %514 unwind label %534

514:                                              ; preds = %512
  %515 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %513)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %49) #9
  br i1 %515, label %551, label %516

516:                                              ; preds = %514
  %517 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %518 unwind label %537

518:                                              ; preds = %516
  %519 = load ptr, ptr %517, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %50) #9
  %520 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %521 unwind label %539

521:                                              ; preds = %518
  %522 = load ptr, ptr %520, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %50, ptr noundef nonnull align 8 dereferenceable(30) %522, i32 noundef 123)
          to label %523 unwind label %539

523:                                              ; preds = %521
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %519, ptr noundef nonnull align 8 dereferenceable(30) %50, ptr noundef nonnull @.str.42)
          to label %524 unwind label %539

524:                                              ; preds = %523
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %50) #9
  br label %551

525:                                              ; preds = %492
  %526 = landingpad { ptr, i32 }
          cleanup
  br label %529

527:                                              ; preds = %500, %498, %495
  %528 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %46) #9
  br label %529

529:                                              ; preds = %527, %525
  %.pn76 = phi { ptr, i32 } [ %528, %527 ], [ %526, %525 ]
  invoke void @__cxa_end_catch()
          to label %916 unwind label %920

530:                                              ; preds = %506, %504
  %531 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %47) #9
  br label %916

532:                                              ; preds = %509
  %533 = landingpad { ptr, i32 }
          catch ptr null
  br label %536

534:                                              ; preds = %512
  %535 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #9
  br label %536

536:                                              ; preds = %534, %532
  %.pn78 = phi { ptr, i32 } [ %535, %534 ], [ %533, %532 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %49) #9
  br label %541

537:                                              ; preds = %516
  %538 = landingpad { ptr, i32 }
          catch ptr null
  br label %541

539:                                              ; preds = %523, %521, %518
  %540 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %50) #9
  br label %541

541:                                              ; preds = %539, %537, %536
  %.pn79 = phi { ptr, i32 } [ %540, %539 ], [ %538, %537 ], [ %.pn78, %536 ]
  %.24 = extractvalue { ptr, i32 } %.pn79, 0
  %542 = call ptr @__cxa_begin_catch(ptr %.24) #9
  %543 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %544 unwind label %567

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

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

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

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

551:                                              ; preds = %514, %524, %550
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %52) #9
  %552 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  call void @_ZNSt10shared_ptrI15HtnGoalResolverEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %53, ptr noundef nonnull align 8 dereferenceable(16) %5) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE19FindRuleLogicErrorsB5cxx11ESt10shared_ptrI15HtnGoalResolverE(ptr dead_on_unwind nonnull writable sret(%"class.std::set") align 8 %52, ptr noundef nonnull align 8 dereferenceable(88) %552, ptr noundef nonnull %53)
          to label %553 unwind label %572

553:                                              ; preds = %551
  %554 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 8 dereferenceable(48) %52) #9
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %52) #9
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %53) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %52) #9
  %555 = call noundef i64 @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #9
  %556 = icmp eq i64 %555, 2
  %557 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %556)
  br i1 %557, label %588, label %558

558:                                              ; preds = %553
  %559 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %560 unwind label %574

560:                                              ; preds = %558
  %561 = load ptr, ptr %559, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %54) #9
  %562 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %563 unwind label %576

563:                                              ; preds = %560
  %564 = load ptr, ptr %562, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %54, ptr noundef nonnull align 8 dereferenceable(30) %564, i32 noundef 125)
          to label %565 unwind label %576

565:                                              ; preds = %563
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %561, ptr noundef nonnull align 8 dereferenceable(30) %54, ptr noundef nonnull @.str.26)
          to label %566 unwind label %576

566:                                              ; preds = %565
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %54) #9
  br label %588

567:                                              ; preds = %541
  %568 = landingpad { ptr, i32 }
          cleanup
  br label %571

569:                                              ; preds = %549, %547, %544
  %570 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %51) #9
  br label %571

571:                                              ; preds = %569, %567
  %.pn80 = phi { ptr, i32 } [ %570, %569 ], [ %568, %567 ]
  invoke void @__cxa_end_catch()
          to label %916 unwind label %920

572:                                              ; preds = %551
  %573 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %53) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %52) #9
  br label %916

574:                                              ; preds = %558
  %575 = landingpad { ptr, i32 }
          catch ptr null
  br label %578

576:                                              ; preds = %565, %563, %560
  %577 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %54) #9
  br label %578

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

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

584:                                              ; preds = %581
  %585 = load ptr, ptr %583, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %55, ptr noundef nonnull align 8 dereferenceable(30) %585, i32 noundef 125)
          to label %586 unwind label %606

586:                                              ; preds = %584
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %582, ptr noundef nonnull align 8 dereferenceable(30) %55, ptr noundef nonnull @.str.27)
          to label %587 unwind label %606

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

588:                                              ; preds = %553, %566, %587
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %56) #9
  %589 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #9
  store ptr %589, ptr %56, align 8
  %590 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %56) #9
  %591 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %590)
          to label %592 unwind label %609

592:                                              ; preds = %588
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %56) #9
  %593 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.44)
  %594 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %593)
  br i1 %594, label %625, label %595

595:                                              ; preds = %592
  %596 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %597 unwind label %611

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

600:                                              ; preds = %597
  %601 = load ptr, ptr %599, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %57, ptr noundef nonnull align 8 dereferenceable(30) %601, i32 noundef 127)
          to label %602 unwind label %613

602:                                              ; preds = %600
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %598, ptr noundef nonnull align 8 dereferenceable(30) %57, ptr noundef nonnull @.str.45)
          to label %603 unwind label %613

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

604:                                              ; preds = %578
  %605 = landingpad { ptr, i32 }
          cleanup
  br label %608

606:                                              ; preds = %586, %584, %581
  %607 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %55) #9
  br label %608

608:                                              ; preds = %606, %604
  %.pn83 = phi { ptr, i32 } [ %607, %606 ], [ %605, %604 ]
  invoke void @__cxa_end_catch()
          to label %916 unwind label %920

609:                                              ; preds = %588
  %610 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %56) #9
  br label %916

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

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

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

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

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

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

624:                                              ; preds = %623
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %58) #9
  invoke void @__cxa_end_catch()
          to label %625 unwind label %128

625:                                              ; preds = %592, %603, %624
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %59) #9
  %626 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #9
  store ptr %626, ptr %59, align 8
  %627 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %59) #9
  %628 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %627) #9
  %629 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %628)
          to label %630 unwind label %647

630:                                              ; preds = %625
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %59) #9
  %631 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.47)
  %632 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %631)
  br i1 %632, label %663, label %633

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

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

638:                                              ; preds = %635
  %639 = load ptr, ptr %637, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %60, ptr noundef nonnull align 8 dereferenceable(30) %639, i32 noundef 129)
          to label %640 unwind label %651

640:                                              ; preds = %638
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %636, ptr noundef nonnull align 8 dereferenceable(30) %60, ptr noundef nonnull @.str.48)
          to label %641 unwind label %651

641:                                              ; preds = %640
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %60) #9
  br label %663

642:                                              ; preds = %615
  %643 = landingpad { ptr, i32 }
          cleanup
  br label %646

644:                                              ; preds = %623, %621, %618
  %645 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %58) #9
  br label %646

646:                                              ; preds = %644, %642
  %.pn86 = phi { ptr, i32 } [ %645, %644 ], [ %643, %642 ]
  invoke void @__cxa_end_catch()
          to label %916 unwind label %920

647:                                              ; preds = %625
  %648 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %59) #9
  br label %916

649:                                              ; preds = %633
  %650 = landingpad { ptr, i32 }
          catch ptr null
  br label %653

651:                                              ; preds = %640, %638, %635
  %652 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %60) #9
  br label %653

653:                                              ; preds = %651, %649
  %.pn88 = phi { ptr, i32 } [ %652, %651 ], [ %650, %649 ]
  %.30 = extractvalue { ptr, i32 } %.pn88, 0
  %654 = call ptr @__cxa_begin_catch(ptr %.30) #9
  %655 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %656 unwind label %686

656:                                              ; preds = %653
  %657 = load ptr, ptr %655, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %61) #9
  %658 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %659 unwind label %688

659:                                              ; preds = %656
  %660 = load ptr, ptr %658, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %61, ptr noundef nonnull align 8 dereferenceable(30) %660, i32 noundef 129)
          to label %661 unwind label %688

661:                                              ; preds = %659
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %657, ptr noundef nonnull align 8 dereferenceable(30) %61, ptr noundef nonnull @.str.49)
          to label %662 unwind label %688

662:                                              ; preds = %661
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %61) #9
  invoke void @__cxa_end_catch()
          to label %663 unwind label %128

663:                                              ; preds = %630, %641, %662
  %664 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #9
  invoke void @_ZN10HtnRuleSet8ClearAllEv(ptr noundef nonnull align 8 dereferenceable(144) %664)
          to label %665 unwind label %128

665:                                              ; preds = %663
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %62) #9
  %666 = invoke noalias noundef nonnull dereferenceable(88) ptr @_Znwm(i64 noundef 88) #10
          to label %667 unwind label %691

667:                                              ; preds = %665
  %668 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %2) #9
  %669 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #9
  call void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactoryP10HtnRuleSet(ptr noundef nonnull align 8 dereferenceable(88) %666, ptr noundef %668, ptr noundef %669)
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %62, ptr noundef nonnull %666)
          to label %670 unwind label %691

670:                                              ; preds = %667
  %671 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %62) #9
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %62) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %62) #9
  %672 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %64) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %63, ptr noundef nonnull align 8 dereferenceable(32) %64, ptr noundef nonnull @.str.50)
          to label %673 unwind label %693

673:                                              ; preds = %670
  %674 = invoke noundef zeroext i1 @_ZN6FXPlat8CompilerIN6Prolog14PrologDocumentINS1_11HtnVariableEEEE7CompileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %672, ptr noundef nonnull %63)
          to label %675 unwind label %695

675:                                              ; preds = %673
  %676 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %674)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %64) #9
  br i1 %676, label %712, label %677

677:                                              ; preds = %675
  %678 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %679 unwind label %698

679:                                              ; preds = %677
  %680 = load ptr, ptr %678, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %65) #9
  %681 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %682 unwind label %700

682:                                              ; preds = %679
  %683 = load ptr, ptr %681, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %65, ptr noundef nonnull align 8 dereferenceable(30) %683, i32 noundef 138)
          to label %684 unwind label %700

684:                                              ; preds = %682
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %680, ptr noundef nonnull align 8 dereferenceable(30) %65, ptr noundef nonnull @.str.51)
          to label %685 unwind label %700

685:                                              ; preds = %684
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %65) #9
  br label %712

686:                                              ; preds = %653
  %687 = landingpad { ptr, i32 }
          cleanup
  br label %690

688:                                              ; preds = %661, %659, %656
  %689 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %61) #9
  br label %690

690:                                              ; preds = %688, %686
  %.pn89 = phi { ptr, i32 } [ %689, %688 ], [ %687, %686 ]
  invoke void @__cxa_end_catch()
          to label %916 unwind label %920

691:                                              ; preds = %667, %665
  %692 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %62) #9
  br label %916

693:                                              ; preds = %670
  %694 = landingpad { ptr, i32 }
          catch ptr null
  br label %697

695:                                              ; preds = %673
  %696 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #9
  br label %697

697:                                              ; preds = %695, %693
  %.pn91 = phi { ptr, i32 } [ %696, %695 ], [ %694, %693 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %64) #9
  br label %702

698:                                              ; preds = %677
  %699 = landingpad { ptr, i32 }
          catch ptr null
  br label %702

700:                                              ; preds = %684, %682, %679
  %701 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %65) #9
  br label %702

702:                                              ; preds = %700, %698, %697
  %.pn92 = phi { ptr, i32 } [ %701, %700 ], [ %699, %698 ], [ %.pn91, %697 ]
  %.33 = extractvalue { ptr, i32 } %.pn92, 0
  %703 = call ptr @__cxa_begin_catch(ptr %.33) #9
  %704 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %705 unwind label %728

705:                                              ; preds = %702
  %706 = load ptr, ptr %704, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %66) #9
  %707 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %708 unwind label %730

708:                                              ; preds = %705
  %709 = load ptr, ptr %707, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %66, ptr noundef nonnull align 8 dereferenceable(30) %709, i32 noundef 138)
          to label %710 unwind label %730

710:                                              ; preds = %708
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %706, ptr noundef nonnull align 8 dereferenceable(30) %66, ptr noundef nonnull @.str.52)
          to label %711 unwind label %730

711:                                              ; preds = %710
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %66) #9
  invoke void @__cxa_end_catch()
          to label %712 unwind label %128

712:                                              ; preds = %675, %685, %711
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %67) #9
  %713 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  call void @_ZNSt10shared_ptrI15HtnGoalResolverEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %68, ptr noundef nonnull align 8 dereferenceable(16) %5) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE19FindRuleLogicErrorsB5cxx11ESt10shared_ptrI15HtnGoalResolverE(ptr dead_on_unwind nonnull writable sret(%"class.std::set") align 8 %67, ptr noundef nonnull align 8 dereferenceable(88) %713, ptr noundef nonnull %68)
          to label %714 unwind label %733

714:                                              ; preds = %712
  %715 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 8 dereferenceable(48) %67) #9
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %67) #9
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %68) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %67) #9
  %716 = call noundef i64 @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #9
  %717 = icmp eq i64 %716, 0
  %718 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %717)
  br i1 %718, label %749, label %719

719:                                              ; preds = %714
  %720 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %721 unwind label %735

721:                                              ; preds = %719
  %722 = load ptr, ptr %720, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %69) #9
  %723 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %724 unwind label %737

724:                                              ; preds = %721
  %725 = load ptr, ptr %723, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %69, ptr noundef nonnull align 8 dereferenceable(30) %725, i32 noundef 140)
          to label %726 unwind label %737

726:                                              ; preds = %724
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %722, ptr noundef nonnull align 8 dereferenceable(30) %69, ptr noundef nonnull @.str.21)
          to label %727 unwind label %737

727:                                              ; preds = %726
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %69) #9
  br label %749

728:                                              ; preds = %702
  %729 = landingpad { ptr, i32 }
          cleanup
  br label %732

730:                                              ; preds = %710, %708, %705
  %731 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %66) #9
  br label %732

732:                                              ; preds = %730, %728
  %.pn93 = phi { ptr, i32 } [ %731, %730 ], [ %729, %728 ]
  invoke void @__cxa_end_catch()
          to label %916 unwind label %920

733:                                              ; preds = %712
  %734 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %68) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %67) #9
  br label %916

735:                                              ; preds = %719
  %736 = landingpad { ptr, i32 }
          catch ptr null
  br label %739

737:                                              ; preds = %726, %724, %721
  %738 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %69) #9
  br label %739

739:                                              ; preds = %737, %735
  %.pn95 = phi { ptr, i32 } [ %738, %737 ], [ %736, %735 ]
  %.35 = extractvalue { ptr, i32 } %.pn95, 0
  %740 = call ptr @__cxa_begin_catch(ptr %.35) #9
  %741 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %742 unwind label %772

742:                                              ; preds = %739
  %743 = load ptr, ptr %741, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %70) #9
  %744 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %745 unwind label %774

745:                                              ; preds = %742
  %746 = load ptr, ptr %744, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %70, ptr noundef nonnull align 8 dereferenceable(30) %746, i32 noundef 140)
          to label %747 unwind label %774

747:                                              ; preds = %745
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %743, ptr noundef nonnull align 8 dereferenceable(30) %70, ptr noundef nonnull @.str.22)
          to label %748 unwind label %774

748:                                              ; preds = %747
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %70) #9
  invoke void @__cxa_end_catch()
          to label %749 unwind label %128

749:                                              ; preds = %714, %727, %748
  %750 = call noundef ptr @_ZNKSt19__shared_ptr_accessI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #9
  invoke void @_ZN10HtnRuleSet8ClearAllEv(ptr noundef nonnull align 8 dereferenceable(144) %750)
          to label %751 unwind label %128

751:                                              ; preds = %749
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %71) #9
  %752 = invoke noalias noundef nonnull dereferenceable(88) ptr @_Znwm(i64 noundef 88) #10
          to label %753 unwind label %777

753:                                              ; preds = %751
  %754 = call noundef ptr @_ZNKSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %2) #9
  %755 = call noundef ptr @_ZNKSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #9
  call void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEEC2EP14HtnTermFactoryP10HtnRuleSet(ptr noundef nonnull align 8 dereferenceable(88) %752, ptr noundef %754, ptr noundef %755)
  invoke void @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEC2IS3_vEEPT_(ptr noundef nonnull align 8 dereferenceable(16) %71, ptr noundef nonnull %752)
          to label %756 unwind label %777

756:                                              ; preds = %753
  %757 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %71) #9
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %71) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %71) #9
  %758 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %73) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %72, ptr noundef nonnull align 8 dereferenceable(32) %73, ptr noundef nonnull @.str.53)
          to label %759 unwind label %779

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

761:                                              ; preds = %759
  %762 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %760)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %73) #9
  br i1 %762, label %798, label %763

763:                                              ; preds = %761
  %764 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %765 unwind label %784

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

768:                                              ; preds = %765
  %769 = load ptr, ptr %767, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %74, ptr noundef nonnull align 8 dereferenceable(30) %769, i32 noundef 148)
          to label %770 unwind label %786

770:                                              ; preds = %768
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %766, ptr noundef nonnull align 8 dereferenceable(30) %74, ptr noundef nonnull @.str.54)
          to label %771 unwind label %786

771:                                              ; preds = %770
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %74) #9
  br label %798

772:                                              ; preds = %739
  %773 = landingpad { ptr, i32 }
          cleanup
  br label %776

774:                                              ; preds = %747, %745, %742
  %775 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %70) #9
  br label %776

776:                                              ; preds = %774, %772
  %.pn96 = phi { ptr, i32 } [ %775, %774 ], [ %773, %772 ]
  invoke void @__cxa_end_catch()
          to label %916 unwind label %920

777:                                              ; preds = %753, %751
  %778 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %71) #9
  br label %916

779:                                              ; preds = %756
  %780 = landingpad { ptr, i32 }
          catch ptr null
  br label %783

781:                                              ; preds = %759
  %782 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #9
  br label %783

783:                                              ; preds = %781, %779
  %.pn98 = phi { ptr, i32 } [ %782, %781 ], [ %780, %779 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %73) #9
  br label %788

784:                                              ; preds = %763
  %785 = landingpad { ptr, i32 }
          catch ptr null
  br label %788

786:                                              ; preds = %770, %768, %765
  %787 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %74) #9
  br label %788

788:                                              ; preds = %786, %784, %783
  %.pn99 = phi { ptr, i32 } [ %787, %786 ], [ %785, %784 ], [ %.pn98, %783 ]
  %.38 = extractvalue { ptr, i32 } %.pn99, 0
  %789 = call ptr @__cxa_begin_catch(ptr %.38) #9
  %790 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %791 unwind label %814

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

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

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

797:                                              ; preds = %796
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %75) #9
  invoke void @__cxa_end_catch()
          to label %798 unwind label %128

798:                                              ; preds = %761, %771, %797
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %76) #9
  %799 = call noundef ptr @_ZNKSt19__shared_ptr_accessI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  call void @_ZNSt10shared_ptrI15HtnGoalResolverEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %77, ptr noundef nonnull align 8 dereferenceable(16) %5) #9
  invoke void @_ZN18PrologCompilerBaseIN6Prolog11HtnVariableEE19FindRuleLogicErrorsB5cxx11ESt10shared_ptrI15HtnGoalResolverE(ptr dead_on_unwind nonnull writable sret(%"class.std::set") align 8 %76, ptr noundef nonnull align 8 dereferenceable(88) %799, ptr noundef nonnull %77)
          to label %800 unwind label %819

800:                                              ; preds = %798
  %801 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 8 dereferenceable(48) %76) #9
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %76) #9
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %77) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %76) #9
  %802 = call noundef i64 @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #9
  %803 = icmp eq i64 %802, 2
  %804 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %803)
  br i1 %804, label %835, label %805

805:                                              ; preds = %800
  %806 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %807 unwind label %821

807:                                              ; preds = %805
  %808 = load ptr, ptr %806, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %78) #9
  %809 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %810 unwind label %823

810:                                              ; preds = %807
  %811 = load ptr, ptr %809, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %78, ptr noundef nonnull align 8 dereferenceable(30) %811, i32 noundef 150)
          to label %812 unwind label %823

812:                                              ; preds = %810
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %808, ptr noundef nonnull align 8 dereferenceable(30) %78, ptr noundef nonnull @.str.26)
          to label %813 unwind label %823

813:                                              ; preds = %812
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %78) #9
  br label %835

814:                                              ; preds = %788
  %815 = landingpad { ptr, i32 }
          cleanup
  br label %818

816:                                              ; preds = %796, %794, %791
  %817 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %75) #9
  br label %818

818:                                              ; preds = %816, %814
  %.pn100 = phi { ptr, i32 } [ %817, %816 ], [ %815, %814 ]
  invoke void @__cxa_end_catch()
          to label %916 unwind label %920

819:                                              ; preds = %798
  %820 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %77) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %76) #9
  br label %916

821:                                              ; preds = %805
  %822 = landingpad { ptr, i32 }
          catch ptr null
  br label %825

823:                                              ; preds = %812, %810, %807
  %824 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %78) #9
  br label %825

825:                                              ; preds = %823, %821
  %.pn102 = phi { ptr, i32 } [ %824, %823 ], [ %822, %821 ]
  %.40 = extractvalue { ptr, i32 } %.pn102, 0
  %826 = call ptr @__cxa_begin_catch(ptr %.40) #9
  %827 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %828 unwind label %851

828:                                              ; preds = %825
  %829 = load ptr, ptr %827, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %79) #9
  %830 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %831 unwind label %853

831:                                              ; preds = %828
  %832 = load ptr, ptr %830, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %79, ptr noundef nonnull align 8 dereferenceable(30) %832, i32 noundef 150)
          to label %833 unwind label %853

833:                                              ; preds = %831
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %829, ptr noundef nonnull align 8 dereferenceable(30) %79, ptr noundef nonnull @.str.27)
          to label %834 unwind label %853

834:                                              ; preds = %833
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %79) #9
  invoke void @__cxa_end_catch()
          to label %835 unwind label %128

835:                                              ; preds = %800, %813, %834
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %80) #9
  %836 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #9
  store ptr %836, ptr %80, align 8
  %837 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %80) #9
  %838 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %837)
          to label %839 unwind label %856

839:                                              ; preds = %835
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %80) #9
  %840 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.56)
  %841 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %840)
  br i1 %841, label %872, label %842

842:                                              ; preds = %839
  %843 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %844 unwind label %858

844:                                              ; preds = %842
  %845 = load ptr, ptr %843, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %81) #9
  %846 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %847 unwind label %860

847:                                              ; preds = %844
  %848 = load ptr, ptr %846, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %81, ptr noundef nonnull align 8 dereferenceable(30) %848, i32 noundef 152)
          to label %849 unwind label %860

849:                                              ; preds = %847
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %845, ptr noundef nonnull align 8 dereferenceable(30) %81, ptr noundef nonnull @.str.57)
          to label %850 unwind label %860

850:                                              ; preds = %849
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %81) #9
  br label %872

851:                                              ; preds = %825
  %852 = landingpad { ptr, i32 }
          cleanup
  br label %855

853:                                              ; preds = %833, %831, %828
  %854 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %79) #9
  br label %855

855:                                              ; preds = %853, %851
  %.pn103 = phi { ptr, i32 } [ %854, %853 ], [ %852, %851 ]
  invoke void @__cxa_end_catch()
          to label %916 unwind label %920

856:                                              ; preds = %835
  %857 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %80) #9
  br label %916

858:                                              ; preds = %842
  %859 = landingpad { ptr, i32 }
          catch ptr null
  br label %862

860:                                              ; preds = %849, %847, %844
  %861 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %81) #9
  br label %862

862:                                              ; preds = %860, %858
  %.pn105 = phi { ptr, i32 } [ %861, %860 ], [ %859, %858 ]
  %.42 = extractvalue { ptr, i32 } %.pn105, 0
  %863 = call ptr @__cxa_begin_catch(ptr %.42) #9
  %864 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %865 unwind label %889

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

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

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

871:                                              ; preds = %870
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %82) #9
  invoke void @__cxa_end_catch()
          to label %872 unwind label %128

872:                                              ; preds = %839, %850, %871
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %83) #9
  %873 = call ptr @_ZNKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #9
  store ptr %873, ptr %83, align 8
  %874 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %83) #9
  %875 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt23_Rb_tree_const_iteratorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %874) #9
  %876 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %875)
          to label %877 unwind label %894

877:                                              ; preds = %872
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %83) #9
  %878 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.59)
  %879 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %878)
  br i1 %879, label %910, label %880

880:                                              ; preds = %877
  %881 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %882 unwind label %896

882:                                              ; preds = %880
  %883 = load ptr, ptr %881, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %84) #9
  %884 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %885 unwind label %898

885:                                              ; preds = %882
  %886 = load ptr, ptr %884, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %84, ptr noundef nonnull align 8 dereferenceable(30) %886, i32 noundef 154)
          to label %887 unwind label %898

887:                                              ; preds = %885
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %883, ptr noundef nonnull align 8 dereferenceable(30) %84, ptr noundef nonnull @.str.60)
          to label %888 unwind label %898

888:                                              ; preds = %887
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %84) #9
  br label %910

889:                                              ; preds = %862
  %890 = landingpad { ptr, i32 }
          cleanup
  br label %893

891:                                              ; preds = %870, %868, %865
  %892 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %82) #9
  br label %893

893:                                              ; preds = %891, %889
  %.pn106 = phi { ptr, i32 } [ %892, %891 ], [ %890, %889 ]
  invoke void @__cxa_end_catch()
          to label %916 unwind label %920

894:                                              ; preds = %872
  %895 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %83) #9
  br label %916

896:                                              ; preds = %880
  %897 = landingpad { ptr, i32 }
          catch ptr null
  br label %900

898:                                              ; preds = %887, %885, %882
  %899 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %84) #9
  br label %900

900:                                              ; preds = %898, %896
  %.pn108 = phi { ptr, i32 } [ %899, %898 ], [ %897, %896 ]
  %.44 = extractvalue { ptr, i32 } %.pn108, 0
  %901 = call ptr @__cxa_begin_catch(ptr %.44) #9
  %902 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %903 unwind label %911

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

906:                                              ; preds = %903
  %907 = load ptr, ptr %905, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(30) %85, ptr noundef nonnull align 8 dereferenceable(30) %907, i32 noundef 154)
          to label %908 unwind label %913

908:                                              ; preds = %906
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %904, ptr noundef nonnull align 8 dereferenceable(30) %85, ptr noundef nonnull @.str.61)
          to label %909 unwind label %913

909:                                              ; preds = %908
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %85) #9
  invoke void @__cxa_end_catch()
          to label %910 unwind label %128

910:                                              ; preds = %877, %888, %909
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #9
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #9
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #9
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @_ZNSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #9
  call void @_ZNSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #9
  ret void

911:                                              ; preds = %900
  %912 = landingpad { ptr, i32 }
          cleanup
  br label %915

913:                                              ; preds = %908, %906, %903
  %914 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %85) #9
  br label %915

915:                                              ; preds = %913, %911
  %.pn109 = phi { ptr, i32 } [ %914, %913 ], [ %912, %911 ]
  invoke void @__cxa_end_catch()
          to label %916 unwind label %920

916:                                              ; preds = %915, %893, %855, %818, %776, %732, %690, %646, %608, %571, %529, %487, %453, %418, %376, %332, %294, %257, %215, %171, %894, %856, %819, %777, %733, %691, %647, %609, %572, %530, %419, %377, %333, %295, %258, %216, %172, %130, %128
  %.pn111 = phi { ptr, i32 } [ %129, %128 ], [ %.pn109, %915 ], [ %895, %894 ], [ %.pn106, %893 ], [ %857, %856 ], [ %.pn103, %855 ], [ %820, %819 ], [ %.pn100, %818 ], [ %778, %777 ], [ %.pn96, %776 ], [ %734, %733 ], [ %.pn93, %732 ], [ %692, %691 ], [ %.pn89, %690 ], [ %648, %647 ], [ %.pn86, %646 ], [ %610, %609 ], [ %.pn83, %608 ], [ %573, %572 ], [ %.pn80, %571 ], [ %531, %530 ], [ %.pn76, %529 ], [ %.pn73, %487 ], [ %.pn70, %453 ], [ %420, %419 ], [ %.pn67, %418 ], [ %378, %377 ], [ %.pn63, %376 ], [ %334, %333 ], [ %.pn60, %332 ], [ %296, %295 ], [ %.pn57, %294 ], [ %259, %258 ], [ %.pn54, %257 ], [ %217, %216 ], [ %.pn50, %215 ], [ %173, %172 ], [ %.pn47, %171 ], [ %131, %130 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #9
  call void @_ZNSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #9
  call void @_ZNSt12__shared_ptrI15HtnGoalResolverLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #9
  br label %917

917:                                              ; preds = %916, %126, %124
  %.pn111.pn = phi { ptr, i32 } [ %.pn111, %916 ], [ %125, %124 ], [ %127, %126 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #9
  call void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @_ZNSt12__shared_ptrI10HtnRuleSetLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #9
  br label %918

918:                                              ; preds = %917, %122, %120
  %.pn111.pn.pn = phi { ptr, i32 } [ %.pn111.pn, %917 ], [ %121, %120 ], [ %123, %122 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #9
  call void @_ZNSt12__shared_ptrI14HtnTermFactoryLN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #9
  br label %919

919:                                              ; preds = %918, %118
  %.pn111.pn.pn.pn = phi { ptr, i32 } [ %.pn111.pn.pn, %918 ], [ %119, %118 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #9
  resume { ptr, i32 } %.pn111.pn.pn.pn

920:                                              ; preds = %915, %893, %855, %818, %776, %732, %690, %646, %608, %571, %529, %487, %453, %418, %376, %332, %294, %257, %215, %171
  %921 = landingpad { ptr, i32 }
          catch ptr null
  %922 = extractvalue { ptr, i32 } %921, 0
  call void @__clang_call_terminate(ptr %922) #12
  unreachable
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt12__shared_ptrI18PrologCompilerBaseIN6Prolog11HtnVariableEELN9__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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { noinline noreturn nounwind uwtable "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { builtin nounwind }
attributes #12 = { noreturn nounwind }

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

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


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