; LLVM IR from tokoro10g/libamaze :: samples (unknown_32)

; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.amaze::Maze" = type { %"class.std::bitset", %"class.std::bitset", %"struct.amaze::Position", %"class.std::vector" }
%"class.std::bitset" = type { %"struct.std::_Base_bitset" }
%"struct.std::_Base_bitset" = type { [63 x i64] }
%"struct.amaze::Position" = type { i8, i8 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<amaze::Position, std::allocator<amaze::Position>>::_Vector_impl" }
%"struct.std::_Vector_base<amaze::Position, std::allocator<amaze::Position>>::_Vector_impl" = type { %"struct.std::_Vector_base<amaze::Position, std::allocator<amaze::Position>>::_Vector_impl_data" }
%"struct.std::_Vector_base<amaze::Position, std::allocator<amaze::Position>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.amaze::maze_graph::FourWayGraph" = type { %"class.amaze::maze_graph::MazeGraphBase" }
%"class.amaze::maze_graph::MazeGraphBase" = type { ptr, ptr }
%"class.amaze::maze_graph::SixWayGraph" = type { %"class.amaze::maze_graph::MazeGraphBase.0" }
%"class.amaze::maze_graph::MazeGraphBase.0" = type { ptr, ptr }
%"class.amaze::maze_graph::SixWayTurnCostGraph" = type { %"class.amaze::maze_graph::MazeGraphBase.1" }
%"class.amaze::maze_graph::MazeGraphBase.1" = type { ptr, ptr }
%"class.amaze::solver::DStarLite" = type { %"class.amaze::solver::SolverBase", i16, %"class.std::set", i16, i16, i16, %"struct.std::array", %"struct.std::array", %"class.std::set.5", %"class.std::bitset.11" }
%"class.amaze::solver::SolverBase" = type { ptr, ptr }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>>::_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 }
%"struct.std::array" = type { [1024 x i16] }
%"class.std::set.5" = type { %"class.std::_Rb_tree.6" }
%"class.std::_Rb_tree.6" = type { %"struct.std::_Rb_tree<std::pair<std::pair<unsigned short, unsigned short>, unsigned short>, std::pair<std::pair<unsigned short, unsigned short>, unsigned short>, std::_Identity<std::pair<std::pair<unsigned short, unsigned short>, unsigned short>>, amaze::solver::DStarLite<unsigned short, unsigned short, ' ', 1024>::KeyCompare>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<std::pair<unsigned short, unsigned short>, unsigned short>, std::pair<std::pair<unsigned short, unsigned short>, unsigned short>, std::_Identity<std::pair<std::pair<unsigned short, unsigned short>, unsigned short>>, amaze::solver::DStarLite<unsigned short, unsigned short, ' ', 1024>::KeyCompare>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::bitset.11" = type { %"struct.std::_Base_bitset.12" }
%"struct.std::_Base_bitset.12" = type { [16 x i64] }
%"class.amaze::solver::DStarLite.13" = type { %"class.amaze::solver::SolverBase.14", i16, %"class.std::set", i16, i16, i16, %"struct.std::array.15", %"struct.std::array.15", %"class.std::set.16", %"class.std::bitset.19" }
%"class.amaze::solver::SolverBase.14" = type { ptr, ptr }
%"struct.std::array.15" = type { [1984 x i16] }
%"class.std::set.16" = type { %"class.std::_Rb_tree.17" }
%"class.std::_Rb_tree.17" = type { %"struct.std::_Rb_tree<std::pair<std::pair<unsigned short, unsigned short>, unsigned short>, std::pair<std::pair<unsigned short, unsigned short>, unsigned short>, std::_Identity<std::pair<std::pair<unsigned short, unsigned short>, unsigned short>>, amaze::solver::DStarLite<unsigned short, unsigned short, ' ', 1984>::KeyCompare>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<std::pair<unsigned short, unsigned short>, unsigned short>, std::pair<std::pair<unsigned short, unsigned short>, unsigned short>, std::_Identity<std::pair<std::pair<unsigned short, unsigned short>, unsigned short>>, amaze::solver::DStarLite<unsigned short, unsigned short, ' ', 1984>::KeyCompare>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::bitset.19" = type { %"struct.std::_Base_bitset.20" }
%"struct.std::_Base_bitset.20" = type { [31 x i64] }
%"class.amaze::solver::DStarLite.21" = type { %"class.amaze::solver::SolverBase.22", i16, %"class.std::set", i16, i16, i16, %"struct.std::array.23", %"struct.std::array.23", %"class.std::set.24", %"class.std::bitset.27" }
%"class.amaze::solver::SolverBase.22" = type { ptr, ptr }
%"struct.std::array.23" = type { [3968 x i16] }
%"class.std::set.24" = type { %"class.std::_Rb_tree.25" }
%"class.std::_Rb_tree.25" = type { %"struct.std::_Rb_tree<std::pair<std::pair<unsigned short, unsigned short>, unsigned short>, std::pair<std::pair<unsigned short, unsigned short>, unsigned short>, std::_Identity<std::pair<std::pair<unsigned short, unsigned short>, unsigned short>>, amaze::solver::DStarLite<unsigned short, unsigned short, ' ', 3968>::KeyCompare>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<std::pair<unsigned short, unsigned short>, unsigned short>, std::pair<std::pair<unsigned short, unsigned short>, unsigned short>, std::_Identity<std::pair<std::pair<unsigned short, unsigned short>, unsigned short>>, amaze::solver::DStarLite<unsigned short, unsigned short, ' ', 3968>::KeyCompare>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::bitset.27" = type { %"struct.std::_Base_bitset.28" }
%"struct.std::_Base_bitset.28" = type { [62 x i64] }
%"class.amaze::solver::AStar" = type { %"class.amaze::solver::SolverBase", i16, %"class.std::set", i16, i16, %"struct.std::array", %"class.std::set.29", %"class.std::bitset.11" }
%"class.std::set.29" = type { %"class.std::_Rb_tree.30" }
%"class.std::_Rb_tree.30" = type { %"struct.std::_Rb_tree<std::pair<unsigned short, unsigned short>, std::pair<unsigned short, unsigned short>, std::_Identity<std::pair<unsigned short, unsigned short>>, amaze::solver::AStar<unsigned short, unsigned short, ' ', 1024>::KeyCompare>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<unsigned short, unsigned short>, std::pair<unsigned short, unsigned short>, std::_Identity<std::pair<unsigned short, unsigned short>>, amaze::solver::AStar<unsigned short, unsigned short, ' ', 1024>::KeyCompare>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.amaze::solver::AStar.35" = type { %"class.amaze::solver::SolverBase.14", i16, %"class.std::set", i16, i16, %"struct.std::array.15", %"class.std::set.36", %"class.std::bitset.19" }
%"class.std::set.36" = type { %"class.std::_Rb_tree.37" }
%"class.std::_Rb_tree.37" = type { %"struct.std::_Rb_tree<std::pair<unsigned short, unsigned short>, std::pair<unsigned short, unsigned short>, std::_Identity<std::pair<unsigned short, unsigned short>>, amaze::solver::AStar<unsigned short, unsigned short, ' ', 1984>::KeyCompare>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<unsigned short, unsigned short>, std::pair<unsigned short, unsigned short>, std::_Identity<std::pair<unsigned short, unsigned short>>, amaze::solver::AStar<unsigned short, unsigned short, ' ', 1984>::KeyCompare>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.amaze::solver::AStar.39" = type { %"class.amaze::solver::SolverBase.22", i16, %"class.std::set", i16, i16, %"struct.std::array.23", %"class.std::set.40", %"class.std::bitset.27" }
%"class.std::set.40" = type { %"class.std::_Rb_tree.41" }
%"class.std::_Rb_tree.41" = type { %"struct.std::_Rb_tree<std::pair<unsigned short, unsigned short>, std::pair<unsigned short, unsigned short>, std::_Identity<std::pair<unsigned short, unsigned short>>, amaze::solver::AStar<unsigned short, unsigned short, ' ', 3968>::KeyCompare>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<unsigned short, unsigned short>, std::pair<unsigned short, unsigned short>, std::_Identity<std::pair<unsigned short, unsigned short>>, amaze::solver::AStar<unsigned short, unsigned short, ' ', 3968>::KeyCompare>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }
%"class.std::chrono::duration.43" = type { i64 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [22 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i8, align 1
  %3 = alloca i32, align 4
  %4 = alloca %"class.amaze::Maze", align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"struct.amaze::Position", align 1
  %8 = alloca %"struct.amaze::Position", align 1
  %9 = alloca %"struct.amaze::Position", align 1
  %10 = alloca %"struct.amaze::Position", align 1
  %11 = alloca %"struct.amaze::Position", align 1
  %12 = alloca %"struct.amaze::Position", align 1
  %13 = alloca %"class.amaze::maze_graph::FourWayGraph", align 8
  %14 = alloca %"class.amaze::maze_graph::SixWayGraph", align 8
  %15 = alloca %"class.amaze::maze_graph::SixWayTurnCostGraph", align 8
  %16 = alloca %"class.amaze::solver::DStarLite", align 8
  %17 = alloca %"class.amaze::solver::DStarLite.13", align 8
  %18 = alloca %"class.amaze::solver::DStarLite.21", align 8
  %19 = alloca %"class.amaze::solver::AStar", align 8
  %20 = alloca %"class.amaze::solver::AStar.35", align 8
  %21 = alloca %"class.amaze::solver::AStar.39", align 8
  %22 = alloca %"class.std::chrono::time_point", align 8
  %23 = alloca %"class.std::chrono::time_point", align 8
  %24 = alloca %"class.std::chrono::time_point", align 8
  %25 = alloca i32, align 4
  %26 = alloca %"class.std::chrono::time_point", align 8
  %27 = alloca %"class.std::chrono::duration.43", align 8
  %28 = alloca %"class.std::chrono::duration", align 8
  %29 = alloca %"class.std::chrono::time_point", align 8
  %30 = alloca i32, align 4
  %31 = alloca %"class.std::chrono::time_point", align 8
  %32 = alloca %"class.std::chrono::duration.43", align 8
  %33 = alloca %"class.std::chrono::duration", align 8
  %34 = alloca %"class.std::chrono::time_point", align 8
  %35 = alloca i32, align 4
  %36 = alloca %"class.std::chrono::time_point", align 8
  %37 = alloca %"class.std::chrono::duration.43", align 8
  %38 = alloca %"class.std::chrono::duration", align 8
  %39 = alloca %"class.std::chrono::time_point", align 8
  %40 = alloca i32, align 4
  %41 = alloca %"class.std::chrono::time_point", align 8
  %42 = alloca %"class.std::chrono::duration.43", align 8
  %43 = alloca %"class.std::chrono::duration", align 8
  %44 = alloca %"class.std::chrono::time_point", align 8
  %45 = alloca i32, align 4
  %46 = alloca %"class.std::chrono::time_point", align 8
  %47 = alloca %"class.std::chrono::duration.43", align 8
  %48 = alloca %"class.std::chrono::duration", align 8
  %49 = alloca %"class.std::chrono::time_point", align 8
  %50 = alloca i32, align 4
  %51 = alloca %"class.std::chrono::time_point", align 8
  %52 = alloca %"class.std::chrono::duration.43", align 8
  %53 = alloca %"class.std::chrono::duration", align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 1, ptr %2) #8
  store i8 32, ptr %2, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #8
  store i32 100, ptr %3, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 1040, ptr %4) #8
  call void @_ZN5amaze4MazeILh32EEC2Ev(ptr noundef nonnull align 8 dereferenceable(1040) %4)
  invoke void @_ZN5amaze5utils13loadEmptyMazeILh32EEEvRNS_4MazeIXT_EEE(ptr noundef nonnull align 8 dereferenceable(1040) %4)
          to label %54 unwind label %104

54:                                               ; preds = %0
  %55 = getelementptr inbounds %"class.amaze::Maze", ptr %4, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 2, ptr %7) #8
  %56 = getelementptr inbounds %"struct.amaze::Position", ptr %7, i32 0, i32 0
  store i8 61, ptr %56, align 1, !tbaa !10
  %57 = getelementptr inbounds %"struct.amaze::Position", ptr %7, i32 0, i32 1
  store i8 62, ptr %57, align 1, !tbaa !12
  invoke void @_ZNSt6vectorIN5amaze8PositionESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %55, ptr noundef nonnull align 1 dereferenceable(2) %7)
          to label %58 unwind label %108

58:                                               ; preds = %54
  call void @llvm.lifetime.end.p0(i64 2, ptr %7) #8
  %59 = getelementptr inbounds %"class.amaze::Maze", ptr %4, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 2, ptr %8) #8
  %60 = getelementptr inbounds %"struct.amaze::Position", ptr %8, i32 0, i32 0
  store i8 62, ptr %60, align 1, !tbaa !10
  %61 = getelementptr inbounds %"struct.amaze::Position", ptr %8, i32 0, i32 1
  store i8 61, ptr %61, align 1, !tbaa !12
  invoke void @_ZNSt6vectorIN5amaze8PositionESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %59, ptr noundef nonnull align 1 dereferenceable(2) %8)
          to label %62 unwind label %112

62:                                               ; preds = %58
  call void @llvm.lifetime.end.p0(i64 2, ptr %8) #8
  %63 = getelementptr inbounds %"class.amaze::Maze", ptr %4, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 2, ptr %9) #8
  %64 = getelementptr inbounds %"struct.amaze::Position", ptr %9, i32 0, i32 0
  store i8 62, ptr %64, align 1, !tbaa !10
  %65 = getelementptr inbounds %"struct.amaze::Position", ptr %9, i32 0, i32 1
  store i8 62, ptr %65, align 1, !tbaa !12
  invoke void @_ZNSt6vectorIN5amaze8PositionESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 1 dereferenceable(2) %9)
          to label %66 unwind label %116

66:                                               ; preds = %62
  call void @llvm.lifetime.end.p0(i64 2, ptr %9) #8
  %67 = getelementptr inbounds %"struct.amaze::Position", ptr %10, i32 0, i32 0
  store i8 1, ptr %67, align 1, !tbaa !10
  %68 = getelementptr inbounds %"struct.amaze::Position", ptr %10, i32 0, i32 1
  store i8 0, ptr %68, align 1, !tbaa !12
  %69 = load i16, ptr %10, align 1
  invoke void @_ZN5amaze4MazeILh32EE7setWallENS_8PositionEb(ptr noundef nonnull align 8 dereferenceable(1040) %4, i16 %69, i1 noundef zeroext true)
          to label %70 unwind label %104

70:                                               ; preds = %66
  %71 = getelementptr inbounds %"struct.amaze::Position", ptr %11, i32 0, i32 0
  store i8 0, ptr %71, align 1, !tbaa !10
  %72 = getelementptr inbounds %"struct.amaze::Position", ptr %11, i32 0, i32 1
  store i8 1, ptr %72, align 1, !tbaa !12
  %73 = load i16, ptr %11, align 1
  invoke void @_ZN5amaze4MazeILh32EE14setCheckedWallENS_8PositionEb(ptr noundef nonnull align 8 dereferenceable(1040) %4, i16 %73, i1 noundef zeroext true)
          to label %74 unwind label %104

74:                                               ; preds = %70
  %75 = getelementptr inbounds %"struct.amaze::Position", ptr %12, i32 0, i32 0
  store i8 1, ptr %75, align 1, !tbaa !10
  %76 = getelementptr inbounds %"struct.amaze::Position", ptr %12, i32 0, i32 1
  store i8 0, ptr %76, align 1, !tbaa !12
  %77 = load i16, ptr %12, align 1
  invoke void @_ZN5amaze4MazeILh32EE14setCheckedWallENS_8PositionEb(ptr noundef nonnull align 8 dereferenceable(1040) %4, i16 %77, i1 noundef zeroext true)
          to label %78 unwind label %104

78:                                               ; preds = %74
  invoke void @_ZN5amaze5utils9printMazeILh32EEEvRKNS_4MazeIXT_EEEi(ptr noundef nonnull align 8 dereferenceable(1040) %4, i32 noundef 1)
          to label %79 unwind label %104

79:                                               ; preds = %78
  %80 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %81 unwind label %104

81:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #8
  invoke void @_ZN5amaze10maze_graph12FourWayGraphILb1EttLh32ELt1024EEC2ERKNS_4MazeILh32EEE(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(1040) %4)
          to label %82 unwind label %120

82:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #8
  invoke void @_ZN5amaze10maze_graph11SixWayGraphILb1EttLh32ELt1984EEC2ERKNS_4MazeILh32EEE(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(1040) %4)
          to label %83 unwind label %124

83:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #8
  invoke void @_ZN5amaze10maze_graph19SixWayTurnCostGraphILb1EttLh32ELt3968EEC2ERKNS_4MazeILh32EEE(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(1040) %4)
          to label %84 unwind label %128

84:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 4352, ptr %16) #8
  invoke void @_ZN5amaze6solver9DStarLiteIttLh32ELt1024EEC2EPKNS_10maze_graph13MazeGraphBaseIttLh32ELt1024EEE(ptr noundef nonnull align 8 dereferenceable(4352) %16, ptr noundef %13)
          to label %85 unwind label %132

85:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 8312, ptr %17) #8
  invoke void @_ZN5amaze6solver9DStarLiteIttLh32ELt1984EEC2EPKNS_10maze_graph13MazeGraphBaseIttLh32ELt1984EEE(ptr noundef nonnull align 8 dereferenceable(8312) %17, ptr noundef %14)
          to label %86 unwind label %136

86:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 16496, ptr %18) #8
  invoke void @_ZN5amaze6solver9DStarLiteIttLh32ELt3968EEC2EPKNS_10maze_graph13MazeGraphBaseIttLh32ELt3968EEE(ptr noundef nonnull align 8 dereferenceable(16496) %18, ptr noundef %15)
          to label %87 unwind label %140

87:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 2304, ptr %19) #8
  invoke void @_ZN5amaze6solver5AStarIttLh32ELt1024EEC2EPKNS_10maze_graph13MazeGraphBaseIttLh32ELt1024EEE(ptr noundef nonnull align 8 dereferenceable(2304) %19, ptr noundef %13)
          to label %88 unwind label %144

88:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 4344, ptr %20) #8
  invoke void @_ZN5amaze6solver5AStarIttLh32ELt1984EEC2EPKNS_10maze_graph13MazeGraphBaseIttLh32ELt1984EEE(ptr noundef nonnull align 8 dereferenceable(4344) %20, ptr noundef %14)
          to label %89 unwind label %148

89:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 8560, ptr %21) #8
  invoke void @_ZN5amaze6solver5AStarIttLh32ELt3968EEC2EPKNS_10maze_graph13MazeGraphBaseIttLh32ELt3968EEE(ptr noundef nonnull align 8 dereferenceable(8560) %21, ptr noundef %15)
          to label %90 unwind label %152

90:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  invoke void @_ZNSt6chrono10time_pointINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %91 unwind label %156

91:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  invoke void @_ZNSt6chrono10time_pointINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %92 unwind label %160

92:                                               ; preds = %91
  %93 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
          to label %94 unwind label %160

94:                                               ; preds = %92
  %95 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %93, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %96 unwind label %160

96:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %97 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  %98 = getelementptr inbounds %"class.std::chrono::time_point", ptr %24, i32 0, i32 0
  %99 = getelementptr inbounds %"class.std::chrono::duration", ptr %98, i32 0, i32 0
  store i64 %97, ptr %99, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %22, ptr align 8 %24, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  store i32 0, ptr %25, align 4, !tbaa !8
  br label %100

100:                                              ; preds = %166, %96
  %101 = load i32, ptr %25, align 4, !tbaa !8
  %102 = icmp slt i32 %101, 100
  br i1 %102, label %164, label %103

103:                                              ; preds = %100
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  br label %173

104:                                              ; preds = %79, %78, %74, %70, %66, %0
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %5, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %6, align 4
  br label %435

108:                                              ; preds = %54
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %5, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %7) #8
  br label %435

112:                                              ; preds = %58
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %5, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %8) #8
  br label %435

116:                                              ; preds = %62
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %5, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %9) #8
  br label %435

120:                                              ; preds = %81
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %5, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %6, align 4
  br label %434

124:                                              ; preds = %82
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %5, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %6, align 4
  br label %433

128:                                              ; preds = %83
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %5, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %6, align 4
  br label %432

132:                                              ; preds = %84
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %5, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %6, align 4
  br label %431

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

140:                                              ; preds = %86
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %5, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %6, align 4
  br label %429

144:                                              ; preds = %87
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %5, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %6, align 4
  br label %428

148:                                              ; preds = %88
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %5, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %6, align 4
  br label %427

152:                                              ; preds = %89
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %5, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %6, align 4
  br label %426

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

160:                                              ; preds = %396, %353, %330, %328, %306, %263, %240, %238, %216, %173, %94, %92, %91
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %5, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %6, align 4
  br label %424

164:                                              ; preds = %100
  invoke void @_ZN5amaze6solver9DStarLiteIttLh32ELt1024EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(4352) %16)
          to label %165 unwind label %169

165:                                              ; preds = %164
  br label %166

166:                                              ; preds = %165
  %167 = load i32, ptr %25, align 4, !tbaa !8
  %168 = add nsw i32 %167, 1
  store i32 %168, ptr %25, align 4, !tbaa !8
  br label %100, !llvm.loop !16

169:                                              ; preds = %164
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %5, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  br label %424

173:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %174 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  %175 = getelementptr inbounds %"class.std::chrono::time_point", ptr %26, i32 0, i32 0
  %176 = getelementptr inbounds %"class.std::chrono::duration", ptr %175, i32 0, i32 0
  store i64 %174, ptr %176, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %23, ptr align 8 %26, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  %177 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.1)
          to label %178 unwind label %160

178:                                              ; preds = %173
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %179 = invoke i64 @_ZNSt6chronomiINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %180 unwind label %203

180:                                              ; preds = %178
  %181 = getelementptr inbounds %"class.std::chrono::duration", ptr %28, i32 0, i32 0
  store i64 %179, ptr %181, align 8
  %182 = invoke i64 @_ZNSt6chrono13duration_castINS_8durationIlSt5ratioILl1ELl1000000EEEElS2_ILl1ELl1000000000EEEENSt9enable_ifIXsr13__is_durationIT_EE5valueES7_E4typeERKNS1_IT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %183 unwind label %203

183:                                              ; preds = %180
  %184 = getelementptr inbounds %"class.std::chrono::duration.43", ptr %27, i32 0, i32 0
  store i64 %182, ptr %184, align 8
  %185 = invoke noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %27)
          to label %186 unwind label %203

186:                                              ; preds = %183
  %187 = sitofp i64 %185 to double
  %188 = fdiv double %187, 1.000000e+03
  %189 = fdiv double %188, 1.000000e+02
  %190 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %177, double noundef %189)
          to label %191 unwind label %203

191:                                              ; preds = %186
  %192 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %190, ptr noundef @.str.2)
          to label %193 unwind label %203

193:                                              ; preds = %191
  %194 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %192, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %195 unwind label %203

195:                                              ; preds = %193
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %196 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  %197 = getelementptr inbounds %"class.std::chrono::time_point", ptr %29, i32 0, i32 0
  %198 = getelementptr inbounds %"class.std::chrono::duration", ptr %197, i32 0, i32 0
  store i64 %196, ptr %198, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %22, ptr align 8 %29, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #8
  store i32 0, ptr %30, align 4, !tbaa !8
  br label %199

199:                                              ; preds = %209, %195
  %200 = load i32, ptr %30, align 4, !tbaa !8
  %201 = icmp slt i32 %200, 100
  br i1 %201, label %207, label %202

202:                                              ; preds = %199
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  br label %216

203:                                              ; preds = %193, %191, %186, %183, %180, %178
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %5, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %424

207:                                              ; preds = %199
  invoke void @_ZN5amaze6solver5AStarIttLh32ELt1024EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(2304) %19)
          to label %208 unwind label %212

208:                                              ; preds = %207
  br label %209

209:                                              ; preds = %208
  %210 = load i32, ptr %30, align 4, !tbaa !8
  %211 = add nsw i32 %210, 1
  store i32 %211, ptr %30, align 4, !tbaa !8
  br label %199, !llvm.loop !18

212:                                              ; preds = %207
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %5, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  br label %424

216:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %217 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  %218 = getelementptr inbounds %"class.std::chrono::time_point", ptr %31, i32 0, i32 0
  %219 = getelementptr inbounds %"class.std::chrono::duration", ptr %218, i32 0, i32 0
  store i64 %217, ptr %219, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %23, ptr align 8 %31, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  %220 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
          to label %221 unwind label %160

221:                                              ; preds = %216
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %222 = invoke i64 @_ZNSt6chronomiINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %223 unwind label %250

223:                                              ; preds = %221
  %224 = getelementptr inbounds %"class.std::chrono::duration", ptr %33, i32 0, i32 0
  store i64 %222, ptr %224, align 8
  %225 = invoke i64 @_ZNSt6chrono13duration_castINS_8durationIlSt5ratioILl1ELl1000000EEEElS2_ILl1ELl1000000000EEEENSt9enable_ifIXsr13__is_durationIT_EE5valueES7_E4typeERKNS1_IT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %33)
          to label %226 unwind label %250

226:                                              ; preds = %223
  %227 = getelementptr inbounds %"class.std::chrono::duration.43", ptr %32, i32 0, i32 0
  store i64 %225, ptr %227, align 8
  %228 = invoke noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %32)
          to label %229 unwind label %250

229:                                              ; preds = %226
  %230 = sitofp i64 %228 to double
  %231 = fdiv double %230, 1.000000e+03
  %232 = fdiv double %231, 1.000000e+02
  %233 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %220, double noundef %232)
          to label %234 unwind label %250

234:                                              ; preds = %229
  %235 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %233, ptr noundef @.str.2)
          to label %236 unwind label %250

236:                                              ; preds = %234
  %237 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %235, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %238 unwind label %250

238:                                              ; preds = %236
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  %239 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.4)
          to label %240 unwind label %160

240:                                              ; preds = %238
  %241 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %239, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %242 unwind label %160

242:                                              ; preds = %240
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %243 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  %244 = getelementptr inbounds %"class.std::chrono::time_point", ptr %34, i32 0, i32 0
  %245 = getelementptr inbounds %"class.std::chrono::duration", ptr %244, i32 0, i32 0
  store i64 %243, ptr %245, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %22, ptr align 8 %34, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #8
  store i32 0, ptr %35, align 4, !tbaa !8
  br label %246

246:                                              ; preds = %256, %242
  %247 = load i32, ptr %35, align 4, !tbaa !8
  %248 = icmp slt i32 %247, 100
  br i1 %248, label %254, label %249

249:                                              ; preds = %246
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  br label %263

250:                                              ; preds = %236, %234, %229, %226, %223, %221
  %251 = landingpad { ptr, i32 }
          cleanup
  %252 = extractvalue { ptr, i32 } %251, 0
  store ptr %252, ptr %5, align 8
  %253 = extractvalue { ptr, i32 } %251, 1
  store i32 %253, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %424

254:                                              ; preds = %246
  invoke void @_ZN5amaze6solver9DStarLiteIttLh32ELt1984EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(8312) %17)
          to label %255 unwind label %259

255:                                              ; preds = %254
  br label %256

256:                                              ; preds = %255
  %257 = load i32, ptr %35, align 4, !tbaa !8
  %258 = add nsw i32 %257, 1
  store i32 %258, ptr %35, align 4, !tbaa !8
  br label %246, !llvm.loop !19

259:                                              ; preds = %254
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %5, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  br label %424

263:                                              ; preds = %249
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %264 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  %265 = getelementptr inbounds %"class.std::chrono::time_point", ptr %36, i32 0, i32 0
  %266 = getelementptr inbounds %"class.std::chrono::duration", ptr %265, i32 0, i32 0
  store i64 %264, ptr %266, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %23, ptr align 8 %36, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  %267 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.1)
          to label %268 unwind label %160

268:                                              ; preds = %263
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  %269 = invoke i64 @_ZNSt6chronomiINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %270 unwind label %293

270:                                              ; preds = %268
  %271 = getelementptr inbounds %"class.std::chrono::duration", ptr %38, i32 0, i32 0
  store i64 %269, ptr %271, align 8
  %272 = invoke i64 @_ZNSt6chrono13duration_castINS_8durationIlSt5ratioILl1ELl1000000EEEElS2_ILl1ELl1000000000EEEENSt9enable_ifIXsr13__is_durationIT_EE5valueES7_E4typeERKNS1_IT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %38)
          to label %273 unwind label %293

273:                                              ; preds = %270
  %274 = getelementptr inbounds %"class.std::chrono::duration.43", ptr %37, i32 0, i32 0
  store i64 %272, ptr %274, align 8
  %275 = invoke noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %37)
          to label %276 unwind label %293

276:                                              ; preds = %273
  %277 = sitofp i64 %275 to double
  %278 = fdiv double %277, 1.000000e+03
  %279 = fdiv double %278, 1.000000e+02
  %280 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %267, double noundef %279)
          to label %281 unwind label %293

281:                                              ; preds = %276
  %282 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %280, ptr noundef @.str.2)
          to label %283 unwind label %293

283:                                              ; preds = %281
  %284 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %282, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %285 unwind label %293

285:                                              ; preds = %283
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  %286 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  %287 = getelementptr inbounds %"class.std::chrono::time_point", ptr %39, i32 0, i32 0
  %288 = getelementptr inbounds %"class.std::chrono::duration", ptr %287, i32 0, i32 0
  store i64 %286, ptr %288, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %22, ptr align 8 %39, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #8
  store i32 0, ptr %40, align 4, !tbaa !8
  br label %289

289:                                              ; preds = %299, %285
  %290 = load i32, ptr %40, align 4, !tbaa !8
  %291 = icmp slt i32 %290, 100
  br i1 %291, label %297, label %292

292:                                              ; preds = %289
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #8
  br label %306

293:                                              ; preds = %283, %281, %276, %273, %270, %268
  %294 = landingpad { ptr, i32 }
          cleanup
  %295 = extractvalue { ptr, i32 } %294, 0
  store ptr %295, ptr %5, align 8
  %296 = extractvalue { ptr, i32 } %294, 1
  store i32 %296, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %424

297:                                              ; preds = %289
  invoke void @_ZN5amaze6solver5AStarIttLh32ELt1984EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(4344) %20)
          to label %298 unwind label %302

298:                                              ; preds = %297
  br label %299

299:                                              ; preds = %298
  %300 = load i32, ptr %40, align 4, !tbaa !8
  %301 = add nsw i32 %300, 1
  store i32 %301, ptr %40, align 4, !tbaa !8
  br label %289, !llvm.loop !20

302:                                              ; preds = %297
  %303 = landingpad { ptr, i32 }
          cleanup
  %304 = extractvalue { ptr, i32 } %303, 0
  store ptr %304, ptr %5, align 8
  %305 = extractvalue { ptr, i32 } %303, 1
  store i32 %305, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #8
  br label %424

306:                                              ; preds = %292
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #8
  %307 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  %308 = getelementptr inbounds %"class.std::chrono::time_point", ptr %41, i32 0, i32 0
  %309 = getelementptr inbounds %"class.std::chrono::duration", ptr %308, i32 0, i32 0
  store i64 %307, ptr %309, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %23, ptr align 8 %41, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  %310 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
          to label %311 unwind label %160

311:                                              ; preds = %306
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #8
  %312 = invoke i64 @_ZNSt6chronomiINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %313 unwind label %340

313:                                              ; preds = %311
  %314 = getelementptr inbounds %"class.std::chrono::duration", ptr %43, i32 0, i32 0
  store i64 %312, ptr %314, align 8
  %315 = invoke i64 @_ZNSt6chrono13duration_castINS_8durationIlSt5ratioILl1ELl1000000EEEElS2_ILl1ELl1000000000EEEENSt9enable_ifIXsr13__is_durationIT_EE5valueES7_E4typeERKNS1_IT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %43)
          to label %316 unwind label %340

316:                                              ; preds = %313
  %317 = getelementptr inbounds %"class.std::chrono::duration.43", ptr %42, i32 0, i32 0
  store i64 %315, ptr %317, align 8
  %318 = invoke noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %42)
          to label %319 unwind label %340

319:                                              ; preds = %316
  %320 = sitofp i64 %318 to double
  %321 = fdiv double %320, 1.000000e+03
  %322 = fdiv double %321, 1.000000e+02
  %323 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %310, double noundef %322)
          to label %324 unwind label %340

324:                                              ; preds = %319
  %325 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %323, ptr noundef @.str.2)
          to label %326 unwind label %340

326:                                              ; preds = %324
  %327 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %325, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %328 unwind label %340

328:                                              ; preds = %326
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #8
  %329 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.5)
          to label %330 unwind label %160

330:                                              ; preds = %328
  %331 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %329, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %332 unwind label %160

332:                                              ; preds = %330
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #8
  %333 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  %334 = getelementptr inbounds %"class.std::chrono::time_point", ptr %44, i32 0, i32 0
  %335 = getelementptr inbounds %"class.std::chrono::duration", ptr %334, i32 0, i32 0
  store i64 %333, ptr %335, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %22, ptr align 8 %44, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #8
  store i32 0, ptr %45, align 4, !tbaa !8
  br label %336

336:                                              ; preds = %346, %332
  %337 = load i32, ptr %45, align 4, !tbaa !8
  %338 = icmp slt i32 %337, 100
  br i1 %338, label %344, label %339

339:                                              ; preds = %336
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #8
  br label %353

340:                                              ; preds = %326, %324, %319, %316, %313, %311
  %341 = landingpad { ptr, i32 }
          cleanup
  %342 = extractvalue { ptr, i32 } %341, 0
  store ptr %342, ptr %5, align 8
  %343 = extractvalue { ptr, i32 } %341, 1
  store i32 %343, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #8
  br label %424

344:                                              ; preds = %336
  invoke void @_ZN5amaze6solver9DStarLiteIttLh32ELt3968EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(16496) %18)
          to label %345 unwind label %349

345:                                              ; preds = %344
  br label %346

346:                                              ; preds = %345
  %347 = load i32, ptr %45, align 4, !tbaa !8
  %348 = add nsw i32 %347, 1
  store i32 %348, ptr %45, align 4, !tbaa !8
  br label %336, !llvm.loop !21

349:                                              ; preds = %344
  %350 = landingpad { ptr, i32 }
          cleanup
  %351 = extractvalue { ptr, i32 } %350, 0
  store ptr %351, ptr %5, align 8
  %352 = extractvalue { ptr, i32 } %350, 1
  store i32 %352, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #8
  br label %424

353:                                              ; preds = %339
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #8
  %354 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  %355 = getelementptr inbounds %"class.std::chrono::time_point", ptr %46, i32 0, i32 0
  %356 = getelementptr inbounds %"class.std::chrono::duration", ptr %355, i32 0, i32 0
  store i64 %354, ptr %356, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %23, ptr align 8 %46, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  %357 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.1)
          to label %358 unwind label %160

358:                                              ; preds = %353
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #8
  %359 = invoke i64 @_ZNSt6chronomiINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %360 unwind label %383

360:                                              ; preds = %358
  %361 = getelementptr inbounds %"class.std::chrono::duration", ptr %48, i32 0, i32 0
  store i64 %359, ptr %361, align 8
  %362 = invoke i64 @_ZNSt6chrono13duration_castINS_8durationIlSt5ratioILl1ELl1000000EEEElS2_ILl1ELl1000000000EEEENSt9enable_ifIXsr13__is_durationIT_EE5valueES7_E4typeERKNS1_IT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %48)
          to label %363 unwind label %383

363:                                              ; preds = %360
  %364 = getelementptr inbounds %"class.std::chrono::duration.43", ptr %47, i32 0, i32 0
  store i64 %362, ptr %364, align 8
  %365 = invoke noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %47)
          to label %366 unwind label %383

366:                                              ; preds = %363
  %367 = sitofp i64 %365 to double
  %368 = fdiv double %367, 1.000000e+03
  %369 = fdiv double %368, 1.000000e+02
  %370 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %357, double noundef %369)
          to label %371 unwind label %383

371:                                              ; preds = %366
  %372 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %370, ptr noundef @.str.2)
          to label %373 unwind label %383

373:                                              ; preds = %371
  %374 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %372, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %375 unwind label %383

375:                                              ; preds = %373
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #8
  %376 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  %377 = getelementptr inbounds %"class.std::chrono::time_point", ptr %49, i32 0, i32 0
  %378 = getelementptr inbounds %"class.std::chrono::duration", ptr %377, i32 0, i32 0
  store i64 %376, ptr %378, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %22, ptr align 8 %49, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #8
  store i32 0, ptr %50, align 4, !tbaa !8
  br label %379

379:                                              ; preds = %389, %375
  %380 = load i32, ptr %50, align 4, !tbaa !8
  %381 = icmp slt i32 %380, 100
  br i1 %381, label %387, label %382

382:                                              ; preds = %379
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #8
  br label %396

383:                                              ; preds = %373, %371, %366, %363, %360, %358
  %384 = landingpad { ptr, i32 }
          cleanup
  %385 = extractvalue { ptr, i32 } %384, 0
  store ptr %385, ptr %5, align 8
  %386 = extractvalue { ptr, i32 } %384, 1
  store i32 %386, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  br label %424

387:                                              ; preds = %379
  invoke void @_ZN5amaze6solver5AStarIttLh32ELt3968EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(8560) %21)
          to label %388 unwind label %392

388:                                              ; preds = %387
  br label %389

389:                                              ; preds = %388
  %390 = load i32, ptr %50, align 4, !tbaa !8
  %391 = add nsw i32 %390, 1
  store i32 %391, ptr %50, align 4, !tbaa !8
  br label %379, !llvm.loop !22

392:                                              ; preds = %387
  %393 = landingpad { ptr, i32 }
          cleanup
  %394 = extractvalue { ptr, i32 } %393, 0
  store ptr %394, ptr %5, align 8
  %395 = extractvalue { ptr, i32 } %393, 1
  store i32 %395, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #8
  br label %424

396:                                              ; preds = %382
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #8
  %397 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  %398 = getelementptr inbounds %"class.std::chrono::time_point", ptr %51, i32 0, i32 0
  %399 = getelementptr inbounds %"class.std::chrono::duration", ptr %398, i32 0, i32 0
  store i64 %397, ptr %399, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %23, ptr align 8 %51, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #8
  %400 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
          to label %401 unwind label %160

401:                                              ; preds = %396
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #8
  %402 = invoke i64 @_ZNSt6chronomiINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %403 unwind label %420

403:                                              ; preds = %401
  %404 = getelementptr inbounds %"class.std::chrono::duration", ptr %53, i32 0, i32 0
  store i64 %402, ptr %404, align 8
  %405 = invoke i64 @_ZNSt6chrono13duration_castINS_8durationIlSt5ratioILl1ELl1000000EEEElS2_ILl1ELl1000000000EEEENSt9enable_ifIXsr13__is_durationIT_EE5valueES7_E4typeERKNS1_IT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %53)
          to label %406 unwind label %420

406:                                              ; preds = %403
  %407 = getelementptr inbounds %"class.std::chrono::duration.43", ptr %52, i32 0, i32 0
  store i64 %405, ptr %407, align 8
  %408 = invoke noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %52)
          to label %409 unwind label %420

409:                                              ; preds = %406
  %410 = sitofp i64 %408 to double
  %411 = fdiv double %410, 1.000000e+03
  %412 = fdiv double %411, 1.000000e+02
  %413 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %400, double noundef %412)
          to label %414 unwind label %420

414:                                              ; preds = %409
  %415 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %413, ptr noundef @.str.2)
          to label %416 unwind label %420

416:                                              ; preds = %414
  %417 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %415, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %418 unwind label %420

418:                                              ; preds = %416
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @_ZN5amaze6solver5AStarIttLh32ELt3968EED2Ev(ptr noundef nonnull align 8 dereferenceable(8560) %21) #8
  call void @llvm.lifetime.end.p0(i64 8560, ptr %21) #8
  call void @_ZN5amaze6solver5AStarIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(4344) %20) #8
  call void @llvm.lifetime.end.p0(i64 4344, ptr %20) #8
  call void @_ZN5amaze6solver5AStarIttLh32ELt1024EED2Ev(ptr noundef nonnull align 8 dereferenceable(2304) %19) #8
  call void @llvm.lifetime.end.p0(i64 2304, ptr %19) #8
  call void @_ZN5amaze6solver9DStarLiteIttLh32ELt3968EED2Ev(ptr noundef nonnull align 8 dereferenceable(16496) %18) #8
  call void @llvm.lifetime.end.p0(i64 16496, ptr %18) #8
  call void @_ZN5amaze6solver9DStarLiteIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(8312) %17) #8
  call void @llvm.lifetime.end.p0(i64 8312, ptr %17) #8
  call void @_ZN5amaze6solver9DStarLiteIttLh32ELt1024EED2Ev(ptr noundef nonnull align 8 dereferenceable(4352) %16) #8
  call void @llvm.lifetime.end.p0(i64 4352, ptr %16) #8
  call void @_ZN5amaze10maze_graph13MazeGraphBaseIttLh32ELt3968EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  call void @_ZN5amaze10maze_graph13MazeGraphBaseIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  call void @_ZN5amaze10maze_graph13MazeGraphBaseIttLh32ELt1024EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  call void @_ZN5amaze4MazeILh32EED2Ev(ptr noundef nonnull align 8 dereferenceable(1040) %4) #8
  call void @llvm.lifetime.end.p0(i64 1040, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %2) #8
  %419 = load i32, ptr %1, align 4
  ret i32 %419

420:                                              ; preds = %416, %414, %409, %406, %403, %401
  %421 = landingpad { ptr, i32 }
          cleanup
  %422 = extractvalue { ptr, i32 } %421, 0
  store ptr %422, ptr %5, align 8
  %423 = extractvalue { ptr, i32 } %421, 1
  store i32 %423, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #8
  br label %424

424:                                              ; preds = %420, %392, %383, %349, %340, %302, %293, %259, %250, %212, %203, %169, %160
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %425

425:                                              ; preds = %424, %156
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @_ZN5amaze6solver5AStarIttLh32ELt3968EED2Ev(ptr noundef nonnull align 8 dereferenceable(8560) %21) #8
  br label %426

426:                                              ; preds = %425, %152
  call void @llvm.lifetime.end.p0(i64 8560, ptr %21) #8
  call void @_ZN5amaze6solver5AStarIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(4344) %20) #8
  br label %427

427:                                              ; preds = %426, %148
  call void @llvm.lifetime.end.p0(i64 4344, ptr %20) #8
  call void @_ZN5amaze6solver5AStarIttLh32ELt1024EED2Ev(ptr noundef nonnull align 8 dereferenceable(2304) %19) #8
  br label %428

428:                                              ; preds = %427, %144
  call void @llvm.lifetime.end.p0(i64 2304, ptr %19) #8
  call void @_ZN5amaze6solver9DStarLiteIttLh32ELt3968EED2Ev(ptr noundef nonnull align 8 dereferenceable(16496) %18) #8
  br label %429

429:                                              ; preds = %428, %140
  call void @llvm.lifetime.end.p0(i64 16496, ptr %18) #8
  call void @_ZN5amaze6solver9DStarLiteIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(8312) %17) #8
  br label %430

430:                                              ; preds = %429, %136
  call void @llvm.lifetime.end.p0(i64 8312, ptr %17) #8
  call void @_ZN5amaze6solver9DStarLiteIttLh32ELt1024EED2Ev(ptr noundef nonnull align 8 dereferenceable(4352) %16) #8
  br label %431

431:                                              ; preds = %430, %132
  call void @llvm.lifetime.end.p0(i64 4352, ptr %16) #8
  call void @_ZN5amaze10maze_graph13MazeGraphBaseIttLh32ELt3968EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #8
  br label %432

432:                                              ; preds = %431, %128
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  call void @_ZN5amaze10maze_graph13MazeGraphBaseIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #8
  br label %433

433:                                              ; preds = %432, %124
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  call void @_ZN5amaze10maze_graph13MazeGraphBaseIttLh32ELt1024EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #8
  br label %434

434:                                              ; preds = %433, %120
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  br label %435

435:                                              ; preds = %434, %116, %112, %108, %104
  call void @_ZN5amaze4MazeILh32EED2Ev(ptr noundef nonnull align 8 dereferenceable(1040) %4) #8
  call void @llvm.lifetime.end.p0(i64 1040, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %2) #8
  br label %436

436:                                              ; preds = %435
  %437 = load ptr, ptr %5, align 8
  %438 = load i32, ptr %6, align 4
  %439 = insertvalue { ptr, i32 } poison, ptr %437, 0
  %440 = insertvalue { ptr, i32 } %439, i32 %438, 1
  resume { ptr, i32 } %440
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5amaze5utils13loadEmptyMazeILh32EEEvRNS_4MazeIXT_EEE(ptr noundef nonnull align 8 dereferenceable(1040)) #3

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN5amaze8PositionESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(2)) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5amaze4MazeILh32EE7setWallENS_8PositionEb(ptr noundef nonnull align 8 dereferenceable(1040), i16, i1 noundef zeroext) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5amaze4MazeILh32EE14setCheckedWallENS_8PositionEb(ptr noundef nonnull align 8 dereferenceable(1040), i16, i1 noundef zeroext) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5amaze5utils9printMazeILh32EEEvRKNS_4MazeIXT_EEEi(ptr noundef nonnull align 8 dereferenceable(1040), i32 noundef) #3

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #4

; Function Attrs: nounwind
declare i64 @_ZNSt6chrono3_V212system_clock3nowEv() #5

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5amaze6solver9DStarLiteIttLh32ELt1024EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(4352)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZNSt6chrono13duration_castINS_8durationIlSt5ratioILl1ELl1000000EEEElS2_ILl1ELl1000000000EEEENSt9enable_ifIXsr13__is_durationIT_EE5valueES7_E4typeERKNS1_IT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZNSt6chronomiINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5amaze6solver5AStarIttLh32ELt1024EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(2304)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5amaze6solver9DStarLiteIttLh32ELt1984EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(8312)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5amaze6solver5AStarIttLh32ELt1984EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(4344)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5amaze6solver9DStarLiteIttLh32ELt3968EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(16496)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5amaze6solver5AStarIttLh32ELt3968EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(8560)) unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress norecurse 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { 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 #5 = { 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 #6 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nounwind }

!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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
!10 = !{!11, !6, i64 0}
!11 = !{!"_ZTSN5amaze8PositionE", !6, i64 0, !6, i64 1}
!12 = !{!11, !6, i64 1}
!13 = !{i64 0, i64 8, !14}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !6, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}
!20 = distinct !{!20, !17}
!21 = distinct !{!21, !17}
!22 = distinct !{!22, !17}


; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.amaze::Maze" = type { %"class.std::bitset", %"class.std::bitset", %"struct.amaze::Position", %"class.std::vector" }
%"class.std::bitset" = type { %"struct.std::_Base_bitset" }
%"struct.std::_Base_bitset" = type { [63 x i64] }
%"struct.amaze::Position" = type { i8, i8 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<amaze::Position, std::allocator<amaze::Position>>::_Vector_impl" }
%"struct.std::_Vector_base<amaze::Position, std::allocator<amaze::Position>>::_Vector_impl" = type { %"struct.std::_Vector_base<amaze::Position, std::allocator<amaze::Position>>::_Vector_impl_data" }
%"struct.std::_Vector_base<amaze::Position, std::allocator<amaze::Position>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.amaze::maze_graph::FourWayGraph" = type { %"class.amaze::maze_graph::MazeGraphBase" }
%"class.amaze::maze_graph::MazeGraphBase" = type { ptr, ptr }
%"class.amaze::maze_graph::SixWayGraph" = type { %"class.amaze::maze_graph::MazeGraphBase.0" }
%"class.amaze::maze_graph::MazeGraphBase.0" = type { ptr, ptr }
%"class.amaze::maze_graph::SixWayTurnCostGraph" = type { %"class.amaze::maze_graph::MazeGraphBase.1" }
%"class.amaze::maze_graph::MazeGraphBase.1" = type { ptr, ptr }
%"class.amaze::solver::DStarLite" = type { %"class.amaze::solver::SolverBase", i16, %"class.std::set", i16, i16, i16, %"struct.std::array", %"struct.std::array", %"class.std::set.5", %"class.std::bitset.11" }
%"class.amaze::solver::SolverBase" = type { ptr, ptr }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>>::_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 }
%"struct.std::array" = type { [1024 x i16] }
%"class.std::set.5" = type { %"class.std::_Rb_tree.6" }
%"class.std::_Rb_tree.6" = type { %"struct.std::_Rb_tree<std::pair<std::pair<unsigned short, unsigned short>, unsigned short>, std::pair<std::pair<unsigned short, unsigned short>, unsigned short>, std::_Identity<std::pair<std::pair<unsigned short, unsigned short>, unsigned short>>, amaze::solver::DStarLite<unsigned short, unsigned short, ' ', 1024>::KeyCompare>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<std::pair<unsigned short, unsigned short>, unsigned short>, std::pair<std::pair<unsigned short, unsigned short>, unsigned short>, std::_Identity<std::pair<std::pair<unsigned short, unsigned short>, unsigned short>>, amaze::solver::DStarLite<unsigned short, unsigned short, ' ', 1024>::KeyCompare>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::bitset.11" = type { %"struct.std::_Base_bitset.12" }
%"struct.std::_Base_bitset.12" = type { [16 x i64] }
%"class.amaze::solver::DStarLite.13" = type { %"class.amaze::solver::SolverBase.14", i16, %"class.std::set", i16, i16, i16, %"struct.std::array.15", %"struct.std::array.15", %"class.std::set.16", %"class.std::bitset.19" }
%"class.amaze::solver::SolverBase.14" = type { ptr, ptr }
%"struct.std::array.15" = type { [1984 x i16] }
%"class.std::set.16" = type { %"class.std::_Rb_tree.17" }
%"class.std::_Rb_tree.17" = type { %"struct.std::_Rb_tree<std::pair<std::pair<unsigned short, unsigned short>, unsigned short>, std::pair<std::pair<unsigned short, unsigned short>, unsigned short>, std::_Identity<std::pair<std::pair<unsigned short, unsigned short>, unsigned short>>, amaze::solver::DStarLite<unsigned short, unsigned short, ' ', 1984>::KeyCompare>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<std::pair<unsigned short, unsigned short>, unsigned short>, std::pair<std::pair<unsigned short, unsigned short>, unsigned short>, std::_Identity<std::pair<std::pair<unsigned short, unsigned short>, unsigned short>>, amaze::solver::DStarLite<unsigned short, unsigned short, ' ', 1984>::KeyCompare>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::bitset.19" = type { %"struct.std::_Base_bitset.20" }
%"struct.std::_Base_bitset.20" = type { [31 x i64] }
%"class.amaze::solver::DStarLite.21" = type { %"class.amaze::solver::SolverBase.22", i16, %"class.std::set", i16, i16, i16, %"struct.std::array.23", %"struct.std::array.23", %"class.std::set.24", %"class.std::bitset.27" }
%"class.amaze::solver::SolverBase.22" = type { ptr, ptr }
%"struct.std::array.23" = type { [3968 x i16] }
%"class.std::set.24" = type { %"class.std::_Rb_tree.25" }
%"class.std::_Rb_tree.25" = type { %"struct.std::_Rb_tree<std::pair<std::pair<unsigned short, unsigned short>, unsigned short>, std::pair<std::pair<unsigned short, unsigned short>, unsigned short>, std::_Identity<std::pair<std::pair<unsigned short, unsigned short>, unsigned short>>, amaze::solver::DStarLite<unsigned short, unsigned short, ' ', 3968>::KeyCompare>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<std::pair<unsigned short, unsigned short>, unsigned short>, std::pair<std::pair<unsigned short, unsigned short>, unsigned short>, std::_Identity<std::pair<std::pair<unsigned short, unsigned short>, unsigned short>>, amaze::solver::DStarLite<unsigned short, unsigned short, ' ', 3968>::KeyCompare>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::bitset.27" = type { %"struct.std::_Base_bitset.28" }
%"struct.std::_Base_bitset.28" = type { [62 x i64] }
%"class.amaze::solver::AStar" = type { %"class.amaze::solver::SolverBase", i16, %"class.std::set", i16, i16, %"struct.std::array", %"class.std::set.29", %"class.std::bitset.11" }
%"class.std::set.29" = type { %"class.std::_Rb_tree.30" }
%"class.std::_Rb_tree.30" = type { %"struct.std::_Rb_tree<std::pair<unsigned short, unsigned short>, std::pair<unsigned short, unsigned short>, std::_Identity<std::pair<unsigned short, unsigned short>>, amaze::solver::AStar<unsigned short, unsigned short, ' ', 1024>::KeyCompare>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<unsigned short, unsigned short>, std::pair<unsigned short, unsigned short>, std::_Identity<std::pair<unsigned short, unsigned short>>, amaze::solver::AStar<unsigned short, unsigned short, ' ', 1024>::KeyCompare>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.amaze::solver::AStar.35" = type { %"class.amaze::solver::SolverBase.14", i16, %"class.std::set", i16, i16, %"struct.std::array.15", %"class.std::set.36", %"class.std::bitset.19" }
%"class.std::set.36" = type { %"class.std::_Rb_tree.37" }
%"class.std::_Rb_tree.37" = type { %"struct.std::_Rb_tree<std::pair<unsigned short, unsigned short>, std::pair<unsigned short, unsigned short>, std::_Identity<std::pair<unsigned short, unsigned short>>, amaze::solver::AStar<unsigned short, unsigned short, ' ', 1984>::KeyCompare>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<unsigned short, unsigned short>, std::pair<unsigned short, unsigned short>, std::_Identity<std::pair<unsigned short, unsigned short>>, amaze::solver::AStar<unsigned short, unsigned short, ' ', 1984>::KeyCompare>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.amaze::solver::AStar.39" = type { %"class.amaze::solver::SolverBase.22", i16, %"class.std::set", i16, i16, %"struct.std::array.23", %"class.std::set.40", %"class.std::bitset.27" }
%"class.std::set.40" = type { %"class.std::_Rb_tree.41" }
%"class.std::_Rb_tree.41" = type { %"struct.std::_Rb_tree<std::pair<unsigned short, unsigned short>, std::pair<unsigned short, unsigned short>, std::_Identity<std::pair<unsigned short, unsigned short>>, amaze::solver::AStar<unsigned short, unsigned short, ' ', 3968>::KeyCompare>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<unsigned short, unsigned short>, std::pair<unsigned short, unsigned short>, std::_Identity<std::pair<unsigned short, unsigned short>>, amaze::solver::AStar<unsigned short, unsigned short, ' ', 3968>::KeyCompare>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }
%"class.std::chrono::duration.43" = type { i64 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [22 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.amaze::Maze", align 8
  %2 = alloca %"struct.amaze::Position", align 1
  %3 = alloca %"struct.amaze::Position", align 1
  %4 = alloca %"struct.amaze::Position", align 1
  %5 = alloca %"class.amaze::maze_graph::FourWayGraph", align 8
  %6 = alloca %"class.amaze::maze_graph::SixWayGraph", align 8
  %7 = alloca %"class.amaze::maze_graph::SixWayTurnCostGraph", align 8
  %8 = alloca %"class.amaze::solver::DStarLite", align 8
  %9 = alloca %"class.amaze::solver::DStarLite.13", align 8
  %10 = alloca %"class.amaze::solver::DStarLite.21", align 8
  %11 = alloca %"class.amaze::solver::AStar", align 8
  %12 = alloca %"class.amaze::solver::AStar.35", align 8
  %13 = alloca %"class.amaze::solver::AStar.39", align 8
  %14 = alloca %"class.std::chrono::time_point", align 8
  %15 = alloca %"class.std::chrono::time_point", align 8
  %16 = alloca %"class.std::chrono::duration.43", align 8
  %17 = alloca %"class.std::chrono::duration", align 8
  %18 = alloca %"class.std::chrono::duration.43", align 8
  %19 = alloca %"class.std::chrono::duration", align 8
  %20 = alloca %"class.std::chrono::duration.43", align 8
  %21 = alloca %"class.std::chrono::duration", align 8
  %22 = alloca %"class.std::chrono::duration.43", align 8
  %23 = alloca %"class.std::chrono::duration", align 8
  %24 = alloca %"class.std::chrono::duration.43", align 8
  %25 = alloca %"class.std::chrono::duration", align 8
  %26 = alloca %"class.std::chrono::duration.43", align 8
  %27 = alloca %"class.std::chrono::duration", align 8
  call void @llvm.lifetime.start.p0(i64 1040, ptr nonnull %1) #7
  call void @_ZN5amaze4MazeILh32EEC2Ev(ptr noundef nonnull align 8 dereferenceable(1040) %1)
  invoke void @_ZN5amaze5utils13loadEmptyMazeILh32EEEvRNS_4MazeIXT_EEE(ptr noundef nonnull align 8 dereferenceable(1040) %1)
          to label %28 unwind label %59

28:                                               ; preds = %0
  %29 = getelementptr inbounds i8, ptr %1, i64 1016
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %2) #7
  store i8 61, ptr %2, align 1, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %2, i64 1
  store i8 62, ptr %30, align 1, !tbaa !9
  invoke void @_ZNSt6vectorIN5amaze8PositionESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 1 dereferenceable(2) %2)
          to label %31 unwind label %61

31:                                               ; preds = %28
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %3) #7
  store i8 62, ptr %3, align 1, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %3, i64 1
  store i8 61, ptr %32, align 1, !tbaa !9
  invoke void @_ZNSt6vectorIN5amaze8PositionESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 1 dereferenceable(2) %3)
          to label %33 unwind label %63

33:                                               ; preds = %31
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %4) #7
  store i8 62, ptr %4, align 1, !tbaa !5
  %34 = getelementptr inbounds i8, ptr %4, i64 1
  store i8 62, ptr %34, align 1, !tbaa !9
  invoke void @_ZNSt6vectorIN5amaze8PositionESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 1 dereferenceable(2) %4)
          to label %35 unwind label %65

35:                                               ; preds = %33
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %4) #7
  invoke void @_ZN5amaze4MazeILh32EE7setWallENS_8PositionEb(ptr noundef nonnull align 8 dereferenceable(1040) %1, i16 1, i1 noundef zeroext true)
          to label %36 unwind label %59

36:                                               ; preds = %35
  invoke void @_ZN5amaze4MazeILh32EE14setCheckedWallENS_8PositionEb(ptr noundef nonnull align 8 dereferenceable(1040) %1, i16 256, i1 noundef zeroext true)
          to label %37 unwind label %59

37:                                               ; preds = %36
  invoke void @_ZN5amaze4MazeILh32EE14setCheckedWallENS_8PositionEb(ptr noundef nonnull align 8 dereferenceable(1040) %1, i16 1, i1 noundef zeroext true)
          to label %38 unwind label %59

38:                                               ; preds = %37
  invoke void @_ZN5amaze5utils9printMazeILh32EEEvRKNS_4MazeIXT_EEEi(ptr noundef nonnull align 8 dereferenceable(1040) %1, i32 noundef 1)
          to label %39 unwind label %59

39:                                               ; preds = %38
  %40 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %41 unwind label %59

41:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #7
  invoke void @_ZN5amaze10maze_graph12FourWayGraphILb1EttLh32ELt1024EEC2ERKNS_4MazeILh32EEE(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(1040) %1)
          to label %42 unwind label %67

42:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #7
  invoke void @_ZN5amaze10maze_graph11SixWayGraphILb1EttLh32ELt1984EEC2ERKNS_4MazeILh32EEE(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(1040) %1)
          to label %43 unwind label %69

43:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #7
  invoke void @_ZN5amaze10maze_graph19SixWayTurnCostGraphILb1EttLh32ELt3968EEC2ERKNS_4MazeILh32EEE(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(1040) %1)
          to label %44 unwind label %71

44:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 4352, ptr nonnull %8) #7
  invoke void @_ZN5amaze6solver9DStarLiteIttLh32ELt1024EEC2EPKNS_10maze_graph13MazeGraphBaseIttLh32ELt1024EEE(ptr noundef nonnull align 8 dereferenceable(4352) %8, ptr noundef nonnull %5)
          to label %45 unwind label %73

45:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8312, ptr nonnull %9) #7
  invoke void @_ZN5amaze6solver9DStarLiteIttLh32ELt1984EEC2EPKNS_10maze_graph13MazeGraphBaseIttLh32ELt1984EEE(ptr noundef nonnull align 8 dereferenceable(8312) %9, ptr noundef nonnull %6)
          to label %46 unwind label %75

46:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 16496, ptr nonnull %10) #7
  invoke void @_ZN5amaze6solver9DStarLiteIttLh32ELt3968EEC2EPKNS_10maze_graph13MazeGraphBaseIttLh32ELt3968EEE(ptr noundef nonnull align 8 dereferenceable(16496) %10, ptr noundef nonnull %7)
          to label %47 unwind label %77

47:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 2304, ptr nonnull %11) #7
  invoke void @_ZN5amaze6solver5AStarIttLh32ELt1024EEC2EPKNS_10maze_graph13MazeGraphBaseIttLh32ELt1024EEE(ptr noundef nonnull align 8 dereferenceable(2304) %11, ptr noundef nonnull %5)
          to label %48 unwind label %79

48:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 4344, ptr nonnull %12) #7
  invoke void @_ZN5amaze6solver5AStarIttLh32ELt1984EEC2EPKNS_10maze_graph13MazeGraphBaseIttLh32ELt1984EEE(ptr noundef nonnull align 8 dereferenceable(4344) %12, ptr noundef nonnull %6)
          to label %49 unwind label %81

49:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8560, ptr nonnull %13) #7
  invoke void @_ZN5amaze6solver5AStarIttLh32ELt3968EEC2EPKNS_10maze_graph13MazeGraphBaseIttLh32ELt3968EEE(ptr noundef nonnull align 8 dereferenceable(8560) %13, ptr noundef nonnull %7)
          to label %50 unwind label %83

50:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  call void @_ZNSt6chrono10time_pointINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  call void @_ZNSt6chrono10time_pointINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15)
  %51 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
          to label %52 unwind label %85

52:                                               ; preds = %50
  %53 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %54 unwind label %85

54:                                               ; preds = %52
  %55 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #7
  store i64 %55, ptr %14, align 8, !tbaa !10
  br label %87

56:                                               ; preds = %88
  %57 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #7
  store i64 %57, ptr %15, align 8, !tbaa !10
  %58 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.1)
          to label %92 unwind label %85

59:                                               ; preds = %39, %38, %37, %36, %35, %0
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %257

61:                                               ; preds = %28
  %62 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %2) #7
  br label %257

63:                                               ; preds = %31
  %64 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %3) #7
  br label %257

65:                                               ; preds = %33
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %4) #7
  br label %257

67:                                               ; preds = %41
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %256

69:                                               ; preds = %42
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %255

71:                                               ; preds = %43
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %254

73:                                               ; preds = %44
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %253

75:                                               ; preds = %45
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %252

77:                                               ; preds = %46
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %251

79:                                               ; preds = %47
  %80 = landingpad { ptr, i32 }
          cleanup
  br label %250

81:                                               ; preds = %48
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %249

83:                                               ; preds = %49
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %248

85:                                               ; preds = %220, %194, %190, %188, %164, %138, %134, %132, %108, %56, %52, %50
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %247

87:                                               ; preds = %54, %88
  %.04358 = phi i32 [ 0, %54 ], [ %89, %88 ]
  invoke void @_ZN5amaze6solver9DStarLiteIttLh32ELt1024EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(4352) %8)
          to label %88 unwind label %90

88:                                               ; preds = %87
  %89 = add nuw nsw i32 %.04358, 1
  %exitcond.not = icmp eq i32 %89, 100
  br i1 %exitcond.not, label %56, label %87, !llvm.loop !12

90:                                               ; preds = %87
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %247

92:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  %93 = invoke i64 @_ZNSt6chronomiINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %94 unwind label %111

94:                                               ; preds = %92
  store i64 %93, ptr %17, align 8
  %95 = invoke i64 @_ZNSt6chrono13duration_castINS_8durationIlSt5ratioILl1ELl1000000EEEElS2_ILl1ELl1000000000EEEENSt9enable_ifIXsr13__is_durationIT_EE5valueES7_E4typeERKNS1_IT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %96 unwind label %111

96:                                               ; preds = %94
  store i64 %95, ptr %16, align 8
  %97 = call noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %16)
  %98 = sitofp i64 %97 to double
  %99 = fdiv double %98, 1.000000e+03
  %100 = fdiv double %99, 1.000000e+02
  %101 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %58, double noundef %100)
          to label %102 unwind label %111

102:                                              ; preds = %96
  %103 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %101, ptr noundef nonnull @.str.2)
          to label %104 unwind label %111

104:                                              ; preds = %102
  %105 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %103, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %106 unwind label %111

106:                                              ; preds = %104
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  %107 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #7
  store i64 %107, ptr %14, align 8, !tbaa !10
  br label %113

108:                                              ; preds = %114
  %109 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #7
  store i64 %109, ptr %15, align 8, !tbaa !10
  %110 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
          to label %118 unwind label %85

111:                                              ; preds = %104, %102, %96, %94, %92
  %112 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  br label %247

113:                                              ; preds = %106, %114
  %.04459 = phi i32 [ 0, %106 ], [ %115, %114 ]
  invoke void @_ZN5amaze6solver5AStarIttLh32ELt1024EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(2304) %11)
          to label %114 unwind label %116

114:                                              ; preds = %113
  %115 = add nuw nsw i32 %.04459, 1
  %exitcond64.not = icmp eq i32 %115, 100
  br i1 %exitcond64.not, label %108, label %113, !llvm.loop !14

116:                                              ; preds = %113
  %117 = landingpad { ptr, i32 }
          cleanup
  br label %247

118:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #7
  %119 = invoke i64 @_ZNSt6chronomiINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %120 unwind label %141

120:                                              ; preds = %118
  store i64 %119, ptr %19, align 8
  %121 = invoke i64 @_ZNSt6chrono13duration_castINS_8durationIlSt5ratioILl1ELl1000000EEEElS2_ILl1ELl1000000000EEEENSt9enable_ifIXsr13__is_durationIT_EE5valueES7_E4typeERKNS1_IT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %122 unwind label %141

122:                                              ; preds = %120
  store i64 %121, ptr %18, align 8
  %123 = call noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %18)
  %124 = sitofp i64 %123 to double
  %125 = fdiv double %124, 1.000000e+03
  %126 = fdiv double %125, 1.000000e+02
  %127 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %110, double noundef %126)
          to label %128 unwind label %141

128:                                              ; preds = %122
  %129 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %127, ptr noundef nonnull @.str.2)
          to label %130 unwind label %141

130:                                              ; preds = %128
  %131 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %129, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %132 unwind label %141

132:                                              ; preds = %130
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  %133 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.4)
          to label %134 unwind label %85

134:                                              ; preds = %132
  %135 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %133, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %136 unwind label %85

136:                                              ; preds = %134
  %137 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #7
  store i64 %137, ptr %14, align 8, !tbaa !10
  br label %143

138:                                              ; preds = %144
  %139 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #7
  store i64 %139, ptr %15, align 8, !tbaa !10
  %140 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.1)
          to label %148 unwind label %85

141:                                              ; preds = %130, %128, %122, %120, %118
  %142 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  br label %247

143:                                              ; preds = %136, %144
  %.04660 = phi i32 [ 0, %136 ], [ %145, %144 ]
  invoke void @_ZN5amaze6solver9DStarLiteIttLh32ELt1984EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(8312) %9)
          to label %144 unwind label %146

144:                                              ; preds = %143
  %145 = add nuw nsw i32 %.04660, 1
  %exitcond65.not = icmp eq i32 %145, 100
  br i1 %exitcond65.not, label %138, label %143, !llvm.loop !15

146:                                              ; preds = %143
  %147 = landingpad { ptr, i32 }
          cleanup
  br label %247

148:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #7
  %149 = invoke i64 @_ZNSt6chronomiINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %150 unwind label %167

150:                                              ; preds = %148
  store i64 %149, ptr %21, align 8
  %151 = invoke i64 @_ZNSt6chrono13duration_castINS_8durationIlSt5ratioILl1ELl1000000EEEElS2_ILl1ELl1000000000EEEENSt9enable_ifIXsr13__is_durationIT_EE5valueES7_E4typeERKNS1_IT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %152 unwind label %167

152:                                              ; preds = %150
  store i64 %151, ptr %20, align 8
  %153 = call noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %20)
  %154 = sitofp i64 %153 to double
  %155 = fdiv double %154, 1.000000e+03
  %156 = fdiv double %155, 1.000000e+02
  %157 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %140, double noundef %156)
          to label %158 unwind label %167

158:                                              ; preds = %152
  %159 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %157, ptr noundef nonnull @.str.2)
          to label %160 unwind label %167

160:                                              ; preds = %158
  %161 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %159, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %162 unwind label %167

162:                                              ; preds = %160
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  %163 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #7
  store i64 %163, ptr %14, align 8, !tbaa !10
  br label %169

164:                                              ; preds = %170
  %165 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #7
  store i64 %165, ptr %15, align 8, !tbaa !10
  %166 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
          to label %174 unwind label %85

167:                                              ; preds = %160, %158, %152, %150, %148
  %168 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  br label %247

169:                                              ; preds = %162, %170
  %.04561 = phi i32 [ 0, %162 ], [ %171, %170 ]
  invoke void @_ZN5amaze6solver5AStarIttLh32ELt1984EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(4344) %12)
          to label %170 unwind label %172

170:                                              ; preds = %169
  %171 = add nuw nsw i32 %.04561, 1
  %exitcond66.not = icmp eq i32 %171, 100
  br i1 %exitcond66.not, label %164, label %169, !llvm.loop !16

172:                                              ; preds = %169
  %173 = landingpad { ptr, i32 }
          cleanup
  br label %247

174:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #7
  %175 = invoke i64 @_ZNSt6chronomiINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %176 unwind label %197

176:                                              ; preds = %174
  store i64 %175, ptr %23, align 8
  %177 = invoke i64 @_ZNSt6chrono13duration_castINS_8durationIlSt5ratioILl1ELl1000000EEEElS2_ILl1ELl1000000000EEEENSt9enable_ifIXsr13__is_durationIT_EE5valueES7_E4typeERKNS1_IT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %178 unwind label %197

178:                                              ; preds = %176
  store i64 %177, ptr %22, align 8
  %179 = call noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %22)
  %180 = sitofp i64 %179 to double
  %181 = fdiv double %180, 1.000000e+03
  %182 = fdiv double %181, 1.000000e+02
  %183 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %166, double noundef %182)
          to label %184 unwind label %197

184:                                              ; preds = %178
  %185 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %183, ptr noundef nonnull @.str.2)
          to label %186 unwind label %197

186:                                              ; preds = %184
  %187 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %185, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %188 unwind label %197

188:                                              ; preds = %186
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  %189 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.5)
          to label %190 unwind label %85

190:                                              ; preds = %188
  %191 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %189, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %192 unwind label %85

192:                                              ; preds = %190
  %193 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #7
  store i64 %193, ptr %14, align 8, !tbaa !10
  br label %199

194:                                              ; preds = %200
  %195 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #7
  store i64 %195, ptr %15, align 8, !tbaa !10
  %196 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.1)
          to label %204 unwind label %85

197:                                              ; preds = %186, %184, %178, %176, %174
  %198 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  br label %247

199:                                              ; preds = %192, %200
  %.04262 = phi i32 [ 0, %192 ], [ %201, %200 ]
  invoke void @_ZN5amaze6solver9DStarLiteIttLh32ELt3968EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(16496) %10)
          to label %200 unwind label %202

200:                                              ; preds = %199
  %201 = add nuw nsw i32 %.04262, 1
  %exitcond67.not = icmp eq i32 %201, 100
  br i1 %exitcond67.not, label %194, label %199, !llvm.loop !17

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

204:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #7
  %205 = invoke i64 @_ZNSt6chronomiINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %206 unwind label %223

206:                                              ; preds = %204
  store i64 %205, ptr %25, align 8
  %207 = invoke i64 @_ZNSt6chrono13duration_castINS_8durationIlSt5ratioILl1ELl1000000EEEElS2_ILl1ELl1000000000EEEENSt9enable_ifIXsr13__is_durationIT_EE5valueES7_E4typeERKNS1_IT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %208 unwind label %223

208:                                              ; preds = %206
  store i64 %207, ptr %24, align 8
  %209 = call noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %24)
  %210 = sitofp i64 %209 to double
  %211 = fdiv double %210, 1.000000e+03
  %212 = fdiv double %211, 1.000000e+02
  %213 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %196, double noundef %212)
          to label %214 unwind label %223

214:                                              ; preds = %208
  %215 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %213, ptr noundef nonnull @.str.2)
          to label %216 unwind label %223

216:                                              ; preds = %214
  %217 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %215, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %218 unwind label %223

218:                                              ; preds = %216
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #7
  %219 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #7
  store i64 %219, ptr %14, align 8, !tbaa !10
  br label %225

220:                                              ; preds = %226
  %221 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #7
  store i64 %221, ptr %15, align 8, !tbaa !10
  %222 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
          to label %230 unwind label %85

223:                                              ; preds = %216, %214, %208, %206, %204
  %224 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #7
  br label %247

225:                                              ; preds = %218, %226
  %.063 = phi i32 [ 0, %218 ], [ %227, %226 ]
  invoke void @_ZN5amaze6solver5AStarIttLh32ELt3968EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(8560) %13)
          to label %226 unwind label %228

226:                                              ; preds = %225
  %227 = add nuw nsw i32 %.063, 1
  %exitcond68.not = icmp eq i32 %227, 100
  br i1 %exitcond68.not, label %220, label %225, !llvm.loop !18

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

230:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #7
  %231 = invoke i64 @_ZNSt6chronomiINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %232 unwind label %245

232:                                              ; preds = %230
  store i64 %231, ptr %27, align 8
  %233 = invoke i64 @_ZNSt6chrono13duration_castINS_8durationIlSt5ratioILl1ELl1000000EEEElS2_ILl1ELl1000000000EEEENSt9enable_ifIXsr13__is_durationIT_EE5valueES7_E4typeERKNS1_IT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %27)
          to label %234 unwind label %245

234:                                              ; preds = %232
  store i64 %233, ptr %26, align 8
  %235 = call noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %26)
  %236 = sitofp i64 %235 to double
  %237 = fdiv double %236, 1.000000e+03
  %238 = fdiv double %237, 1.000000e+02
  %239 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %222, double noundef %238)
          to label %240 unwind label %245

240:                                              ; preds = %234
  %241 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %239, ptr noundef nonnull @.str.2)
          to label %242 unwind label %245

242:                                              ; preds = %240
  %243 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %241, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %244 unwind label %245

244:                                              ; preds = %242
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @_ZN5amaze6solver5AStarIttLh32ELt3968EED2Ev(ptr noundef nonnull align 8 dereferenceable(8560) %13) #7
  call void @llvm.lifetime.end.p0(i64 8560, ptr nonnull %13) #7
  call void @_ZN5amaze6solver5AStarIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(4344) %12) #7
  call void @llvm.lifetime.end.p0(i64 4344, ptr nonnull %12) #7
  call void @_ZN5amaze6solver5AStarIttLh32ELt1024EED2Ev(ptr noundef nonnull align 8 dereferenceable(2304) %11) #7
  call void @llvm.lifetime.end.p0(i64 2304, ptr nonnull %11) #7
  call void @_ZN5amaze6solver9DStarLiteIttLh32ELt3968EED2Ev(ptr noundef nonnull align 8 dereferenceable(16496) %10) #7
  call void @llvm.lifetime.end.p0(i64 16496, ptr nonnull %10) #7
  call void @_ZN5amaze6solver9DStarLiteIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(8312) %9) #7
  call void @llvm.lifetime.end.p0(i64 8312, ptr nonnull %9) #7
  call void @_ZN5amaze6solver9DStarLiteIttLh32ELt1024EED2Ev(ptr noundef nonnull align 8 dereferenceable(4352) %8) #7
  call void @llvm.lifetime.end.p0(i64 4352, ptr nonnull %8) #7
  call void @_ZN5amaze10maze_graph13MazeGraphBaseIttLh32ELt3968EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  call void @_ZN5amaze10maze_graph13MazeGraphBaseIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  call void @_ZN5amaze10maze_graph13MazeGraphBaseIttLh32ELt1024EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  call void @_ZN5amaze4MazeILh32EED2Ev(ptr noundef nonnull align 8 dereferenceable(1040) %1) #7
  call void @llvm.lifetime.end.p0(i64 1040, ptr nonnull %1) #7
  ret i32 0

245:                                              ; preds = %242, %240, %234, %232, %230
  %246 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #7
  br label %247

247:                                              ; preds = %245, %228, %223, %202, %197, %172, %167, %146, %141, %116, %111, %90, %85
  %.pn = phi { ptr, i32 } [ %91, %90 ], [ %117, %116 ], [ %147, %146 ], [ %173, %172 ], [ %203, %202 ], [ %229, %228 ], [ %246, %245 ], [ %86, %85 ], [ %224, %223 ], [ %198, %197 ], [ %168, %167 ], [ %142, %141 ], [ %112, %111 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @_ZN5amaze6solver5AStarIttLh32ELt3968EED2Ev(ptr noundef nonnull align 8 dereferenceable(8560) %13) #7
  br label %248

248:                                              ; preds = %247, %83
  %.pn.pn = phi { ptr, i32 } [ %.pn, %247 ], [ %84, %83 ]
  call void @llvm.lifetime.end.p0(i64 8560, ptr nonnull %13) #7
  call void @_ZN5amaze6solver5AStarIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(4344) %12) #7
  br label %249

249:                                              ; preds = %248, %81
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %248 ], [ %82, %81 ]
  call void @llvm.lifetime.end.p0(i64 4344, ptr nonnull %12) #7
  call void @_ZN5amaze6solver5AStarIttLh32ELt1024EED2Ev(ptr noundef nonnull align 8 dereferenceable(2304) %11) #7
  br label %250

250:                                              ; preds = %249, %79
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %249 ], [ %80, %79 ]
  call void @llvm.lifetime.end.p0(i64 2304, ptr nonnull %11) #7
  call void @_ZN5amaze6solver9DStarLiteIttLh32ELt3968EED2Ev(ptr noundef nonnull align 8 dereferenceable(16496) %10) #7
  br label %251

251:                                              ; preds = %250, %77
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %250 ], [ %78, %77 ]
  call void @llvm.lifetime.end.p0(i64 16496, ptr nonnull %10) #7
  call void @_ZN5amaze6solver9DStarLiteIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(8312) %9) #7
  br label %252

252:                                              ; preds = %251, %75
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %251 ], [ %76, %75 ]
  call void @llvm.lifetime.end.p0(i64 8312, ptr nonnull %9) #7
  call void @_ZN5amaze6solver9DStarLiteIttLh32ELt1024EED2Ev(ptr noundef nonnull align 8 dereferenceable(4352) %8) #7
  br label %253

253:                                              ; preds = %252, %73
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %252 ], [ %74, %73 ]
  call void @llvm.lifetime.end.p0(i64 4352, ptr nonnull %8) #7
  call void @_ZN5amaze10maze_graph13MazeGraphBaseIttLh32ELt3968EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  br label %254

254:                                              ; preds = %253, %71
  %.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn, %253 ], [ %72, %71 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  call void @_ZN5amaze10maze_graph13MazeGraphBaseIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  br label %255

255:                                              ; preds = %254, %69
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn, %254 ], [ %70, %69 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  call void @_ZN5amaze10maze_graph13MazeGraphBaseIttLh32ELt1024EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  br label %256

256:                                              ; preds = %255, %67
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn, %255 ], [ %68, %67 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  br label %257

257:                                              ; preds = %256, %65, %63, %61, %59
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %256 ], [ %60, %59 ], [ %66, %65 ], [ %64, %63 ], [ %62, %61 ]
  call void @_ZN5amaze4MazeILh32EED2Ev(ptr noundef nonnull align 8 dereferenceable(1040) %1) #7
  call void @llvm.lifetime.end.p0(i64 1040, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5amaze5utils13loadEmptyMazeILh32EEEvRNS_4MazeIXT_EEE(ptr noundef nonnull align 8 dereferenceable(1040)) local_unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN5amaze8PositionESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(2)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5amaze4MazeILh32EE7setWallENS_8PositionEb(ptr noundef nonnull align 8 dereferenceable(1040), i16, i1 noundef zeroext) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5amaze4MazeILh32EE14setCheckedWallENS_8PositionEb(ptr noundef nonnull align 8 dereferenceable(1040), i16, i1 noundef zeroext) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5amaze5utils9printMazeILh32EEEvRKNS_4MazeIXT_EEEi(ptr noundef nonnull align 8 dereferenceable(1040), i32 noundef) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind
declare i64 @_ZNSt6chrono3_V212system_clock3nowEv() local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5amaze6solver9DStarLiteIttLh32ELt1024EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(4352)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZNSt6chrono13duration_castINS_8durationIlSt5ratioILl1ELl1000000EEEElS2_ILl1ELl1000000000EEEENSt9enable_ifIXsr13__is_durationIT_EE5valueES7_E4typeERKNS1_IT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZNSt6chronomiINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5amaze6solver5AStarIttLh32ELt1024EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(2304)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5amaze6solver9DStarLiteIttLh32ELt1984EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(8312)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5amaze6solver5AStarIttLh32ELt1984EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(4344)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5amaze6solver9DStarLiteIttLh32ELt3968EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(16496)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5amaze6solver5AStarIttLh32ELt3968EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(8560)) unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress norecurse 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { 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 #5 = { 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 #6 = { 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 #7 = { 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, !7, i64 0}
!6 = !{!"_ZTSN5amaze8PositionE", !7, i64 0, !7, i64 1}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!6, !7, i64 1}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !13}
!17 = distinct !{!17, !13}
!18 = distinct !{!18, !13}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,SROAPass,SimplifyCFGPass