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

; 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.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.0" = type { i8 }
%"class.amaze::maze_graph::SixWayGraph" = type { %"class.amaze::maze_graph::MazeGraphBase" }
%"class.amaze::maze_graph::MazeGraphBase" = 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 }
%"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.6", %"class.std::bitset.12" }
%"class.amaze::solver::SolverBase" = type { ptr, ptr }
%"struct.std::array" = type { [1984 x i16] }
%"class.std::set.6" = type { %"class.std::_Rb_tree.7" }
%"class.std::_Rb_tree.7" = 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.12" = type { %"struct.std::_Base_bitset.13" }
%"struct.std::_Base_bitset.13" = type { [31 x i64] }
%"class.amaze::solver::AStar" = type { %"class.amaze::solver::SolverBase", i16, %"class.std::set", i16, i16, %"struct.std::array", %"class.std::set.14", %"class.std::bitset.12" }
%"class.std::set.14" = type { %"class.std::_Rb_tree.15" }
%"class.std::_Rb_tree.15" = 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::BFS" = type <{ %"class.amaze::solver::SolverBase", i16, [6 x i8], %"class.std::set", i16, i16, %"struct.std::array", [4 x i8] }>
%"class.std::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }
%"class.std::chrono::duration.20" = type { i64 }

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca %"class.amaze::Maze", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::allocator.0", align 1
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.amaze::maze_graph::SixWayGraph", align 8
  %13 = alloca %"class.std::set", align 8
  %14 = alloca %"class.amaze::solver::DStarLite", align 8
  %15 = alloca %"class.amaze::solver::AStar", align 8
  %16 = alloca %"class.amaze::solver::BFS", align 8
  %17 = alloca %"class.std::chrono::time_point", align 8
  %18 = alloca %"class.std::chrono::time_point", align 8
  %19 = alloca %"class.std::chrono::time_point", align 8
  %20 = alloca i32, align 4
  %21 = alloca %"class.std::chrono::time_point", align 8
  %22 = alloca %"class.std::chrono::duration.20", align 8
  %23 = alloca %"class.std::chrono::duration", 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.20", 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.20", align 8
  %33 = alloca %"class.std::chrono::duration", align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  %34 = load i32, ptr %4, align 4, !tbaa !5
  %35 = icmp slt i32 %34, 2
  br i1 %35, label %36, label %45

36:                                               ; preds = %2
  %37 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %39 = load ptr, ptr %5, align 8, !tbaa !9
  %40 = getelementptr inbounds ptr, ptr %39, i64 0
  %41 = load ptr, ptr %40, align 8, !tbaa !9
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef %41)
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef @.str.1)
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store i32 -1, ptr %3, align 4
  br label %239

45:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #8
  store i8 32, ptr %6, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1040, ptr %7) #8
  call void @_ZN5amaze4MazeILh32EEC2Ev(ptr noundef nonnull align 8 dereferenceable(1040) %7)
  %46 = load ptr, ptr %5, align 8, !tbaa !9
  %47 = getelementptr inbounds ptr, ptr %46, i64 1
  %48 = load ptr, ptr %47, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef %48, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %49 unwind label %67

49:                                               ; preds = %45
  %50 = invoke noundef zeroext i1 @_ZN5amaze5utils16loadMazeFromFileILh32EEEbRNS_4MazeIXT_EEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(1040) %7, ptr noundef %8)
          to label %51 unwind label %71

51:                                               ; preds = %49
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #8
  invoke void @_ZN5amaze10maze_graph11SixWayGraphILb1EttLh32ELt1984EEC2ERKNS_4MazeILh32EEE(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(1040) %7)
          to label %52 unwind label %76

52:                                               ; preds = %51
  invoke void @_ZN5amaze5utils9printMazeILh32EEEvRKNS_4MazeIXT_EEEi(ptr noundef nonnull align 8 dereferenceable(1040) %7, i32 noundef 1)
          to label %53 unwind label %80

53:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 48, ptr %13) #8
  invoke void @_ZNK5amaze10maze_graph13MazeGraphBaseIttLh32ELt1984EE11goalNodeIdsEv(ptr dead_on_unwind writable sret(%"class.std::set") align 8 %13, ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %54 unwind label %84

54:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8312, ptr %14) #8
  invoke void @_ZN5amaze6solver9DStarLiteIttLh32ELt1984EEC2EPKNS_10maze_graph13MazeGraphBaseIttLh32ELt1984EEE(ptr noundef nonnull align 8 dereferenceable(8312) %14, ptr noundef %12)
          to label %55 unwind label %88

55:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4344, ptr %15) #8
  invoke void @_ZN5amaze6solver5AStarIttLh32ELt1984EEC2EPKNS_10maze_graph13MazeGraphBaseIttLh32ELt1984EEE(ptr noundef nonnull align 8 dereferenceable(4344) %15, ptr noundef %12)
          to label %56 unwind label %92

56:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 4048, ptr %16) #8
  invoke void @_ZN5amaze6solver3BFSIttLh32ELt1984EEC2EPKNS_10maze_graph13MazeGraphBaseIttLh32ELt1984EEE(ptr noundef nonnull align 8 dereferenceable(4044) %16, ptr noundef %12)
          to label %57 unwind label %96

57:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  invoke void @_ZNSt6chrono10time_pointINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %58 unwind label %100

58:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  invoke void @_ZNSt6chrono10time_pointINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %59 unwind label %104

59:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %60 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  %61 = getelementptr inbounds %"class.std::chrono::time_point", ptr %19, i32 0, i32 0
  %62 = getelementptr inbounds %"class.std::chrono::duration", ptr %61, i32 0, i32 0
  store i64 %60, ptr %62, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 8 %19, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %63

63:                                               ; preds = %110, %59
  %64 = load i32, ptr %20, align 4, !tbaa !5
  %65 = icmp slt i32 %64, 100
  br i1 %65, label %108, label %66

66:                                               ; preds = %63
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %117

67:                                               ; preds = %45
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %10, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %11, align 4
  br label %75

71:                                               ; preds = %49
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %10, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  br label %75

75:                                               ; preds = %71, %67
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #8
  br label %238

76:                                               ; preds = %51
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %10, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %11, align 4
  br label %237

80:                                               ; preds = %52
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %10, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %11, align 4
  br label %236

84:                                               ; preds = %53
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %10, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %11, align 4
  br label %235

88:                                               ; preds = %54
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %10, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %11, align 4
  br label %234

92:                                               ; preds = %55
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %10, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %11, align 4
  br label %233

96:                                               ; preds = %56
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %10, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %11, align 4
  br label %232

100:                                              ; preds = %57
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %10, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %11, align 4
  br label %231

104:                                              ; preds = %203, %160, %117, %58
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %10, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %11, align 4
  br label %230

108:                                              ; preds = %63
  invoke void @_ZN5amaze6solver9DStarLiteIttLh32ELt1984EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(8312) %14)
          to label %109 unwind label %113

109:                                              ; preds = %108
  br label %110

110:                                              ; preds = %109
  %111 = load i32, ptr %20, align 4, !tbaa !5
  %112 = add nsw i32 %111, 1
  store i32 %112, ptr %20, align 4, !tbaa !5
  br label %63, !llvm.loop !15

113:                                              ; preds = %108
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %10, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %230

117:                                              ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %118 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  %119 = getelementptr inbounds %"class.std::chrono::time_point", ptr %21, i32 0, i32 0
  %120 = getelementptr inbounds %"class.std::chrono::duration", ptr %119, i32 0, i32 0
  store i64 %118, ptr %120, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %18, ptr align 8 %21, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  %121 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
          to label %122 unwind label %104

122:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %123 = 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) %18, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %124 unwind label %147

124:                                              ; preds = %122
  %125 = getelementptr inbounds %"class.std::chrono::duration", ptr %23, i32 0, i32 0
  store i64 %123, ptr %125, align 8
  %126 = invoke i64 @_ZNSt6chrono13duration_castINS_8durationIlSt5ratioILl1ELl1000000EEEElS2_ILl1ELl1000000000EEEENSt9enable_ifIXsr13__is_durationIT_EE5valueES7_E4typeERKNS1_IT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %127 unwind label %147

127:                                              ; preds = %124
  %128 = getelementptr inbounds %"class.std::chrono::duration.20", ptr %22, i32 0, i32 0
  store i64 %126, ptr %128, align 8
  %129 = invoke noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %130 unwind label %147

130:                                              ; preds = %127
  %131 = sitofp i64 %129 to double
  %132 = fdiv double %131, 1.000000e+03
  %133 = fdiv double %132, 1.000000e+02
  %134 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %121, double noundef %133)
          to label %135 unwind label %147

135:                                              ; preds = %130
  %136 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %134, ptr noundef @.str.3)
          to label %137 unwind label %147

137:                                              ; preds = %135
  %138 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %136, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %139 unwind label %147

139:                                              ; preds = %137
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %140 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  %141 = getelementptr inbounds %"class.std::chrono::time_point", ptr %24, i32 0, i32 0
  %142 = getelementptr inbounds %"class.std::chrono::duration", ptr %141, i32 0, i32 0
  store i64 %140, ptr %142, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 8 %24, i64 8, i1 false), !tbaa.struct !12
  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 !5
  br label %143

143:                                              ; preds = %153, %139
  %144 = load i32, ptr %25, align 4, !tbaa !5
  %145 = icmp slt i32 %144, 100
  br i1 %145, label %151, label %146

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

147:                                              ; preds = %137, %135, %130, %127, %124, %122
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %10, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %230

151:                                              ; preds = %143
  invoke void @_ZN5amaze6solver5AStarIttLh32ELt1984EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(4344) %15)
          to label %152 unwind label %156

152:                                              ; preds = %151
  br label %153

153:                                              ; preds = %152
  %154 = load i32, ptr %25, align 4, !tbaa !5
  %155 = add nsw i32 %154, 1
  store i32 %155, ptr %25, align 4, !tbaa !5
  br label %143, !llvm.loop !17

156:                                              ; preds = %151
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %10, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  br label %230

160:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %161 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  %162 = getelementptr inbounds %"class.std::chrono::time_point", ptr %26, i32 0, i32 0
  %163 = getelementptr inbounds %"class.std::chrono::duration", ptr %162, i32 0, i32 0
  store i64 %161, ptr %163, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %18, ptr align 8 %26, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  %164 = 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 %165 unwind label %104

165:                                              ; preds = %160
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %166 = 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) %18, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %167 unwind label %190

167:                                              ; preds = %165
  %168 = getelementptr inbounds %"class.std::chrono::duration", ptr %28, i32 0, i32 0
  store i64 %166, ptr %168, align 8
  %169 = invoke i64 @_ZNSt6chrono13duration_castINS_8durationIlSt5ratioILl1ELl1000000EEEElS2_ILl1ELl1000000000EEEENSt9enable_ifIXsr13__is_durationIT_EE5valueES7_E4typeERKNS1_IT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %170 unwind label %190

170:                                              ; preds = %167
  %171 = getelementptr inbounds %"class.std::chrono::duration.20", ptr %27, i32 0, i32 0
  store i64 %169, ptr %171, align 8
  %172 = invoke noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %27)
          to label %173 unwind label %190

173:                                              ; preds = %170
  %174 = sitofp i64 %172 to double
  %175 = fdiv double %174, 1.000000e+03
  %176 = fdiv double %175, 1.000000e+02
  %177 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %164, double noundef %176)
          to label %178 unwind label %190

178:                                              ; preds = %173
  %179 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %177, ptr noundef @.str.3)
          to label %180 unwind label %190

180:                                              ; preds = %178
  %181 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %179, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %182 unwind label %190

182:                                              ; preds = %180
  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
  %183 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  %184 = getelementptr inbounds %"class.std::chrono::time_point", ptr %29, i32 0, i32 0
  %185 = getelementptr inbounds %"class.std::chrono::duration", ptr %184, i32 0, i32 0
  store i64 %183, ptr %185, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 8 %29, i64 8, i1 false), !tbaa.struct !12
  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 !5
  br label %186

186:                                              ; preds = %196, %182
  %187 = load i32, ptr %30, align 4, !tbaa !5
  %188 = icmp slt i32 %187, 100
  br i1 %188, label %194, label %189

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

190:                                              ; preds = %180, %178, %173, %170, %167, %165
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %10, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %11, 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 %230

194:                                              ; preds = %186
  invoke void @_ZN5amaze6solver3BFSIttLh32ELt1984EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(4044) %16)
          to label %195 unwind label %199

195:                                              ; preds = %194
  br label %196

196:                                              ; preds = %195
  %197 = load i32, ptr %30, align 4, !tbaa !5
  %198 = add nsw i32 %197, 1
  store i32 %198, ptr %30, align 4, !tbaa !5
  br label %186, !llvm.loop !18

199:                                              ; preds = %194
  %200 = landingpad { ptr, i32 }
          cleanup
  %201 = extractvalue { ptr, i32 } %200, 0
  store ptr %201, ptr %10, align 8
  %202 = extractvalue { ptr, i32 } %200, 1
  store i32 %202, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  br label %230

203:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %204 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  %205 = getelementptr inbounds %"class.std::chrono::time_point", ptr %31, i32 0, i32 0
  %206 = getelementptr inbounds %"class.std::chrono::duration", ptr %205, i32 0, i32 0
  store i64 %204, ptr %206, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %18, ptr align 8 %31, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  %207 = 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 %208 unwind label %104

208:                                              ; preds = %203
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %209 = 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) %18, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %210 unwind label %226

210:                                              ; preds = %208
  %211 = getelementptr inbounds %"class.std::chrono::duration", ptr %33, i32 0, i32 0
  store i64 %209, ptr %211, align 8
  %212 = invoke i64 @_ZNSt6chrono13duration_castINS_8durationIlSt5ratioILl1ELl1000000EEEElS2_ILl1ELl1000000000EEEENSt9enable_ifIXsr13__is_durationIT_EE5valueES7_E4typeERKNS1_IT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %33)
          to label %213 unwind label %226

213:                                              ; preds = %210
  %214 = getelementptr inbounds %"class.std::chrono::duration.20", ptr %32, i32 0, i32 0
  store i64 %212, ptr %214, align 8
  %215 = invoke noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %32)
          to label %216 unwind label %226

216:                                              ; preds = %213
  %217 = sitofp i64 %215 to double
  %218 = fdiv double %217, 1.000000e+03
  %219 = fdiv double %218, 1.000000e+02
  %220 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %207, double noundef %219)
          to label %221 unwind label %226

221:                                              ; preds = %216
  %222 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %220, ptr noundef @.str.3)
          to label %223 unwind label %226

223:                                              ; preds = %221
  %224 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %222, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %225 unwind label %226

225:                                              ; preds = %223
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  store i32 0, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @_ZN5amaze6solver3BFSIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(4044) %16) #8
  call void @llvm.lifetime.end.p0(i64 4048, ptr %16) #8
  call void @_ZN5amaze6solver5AStarIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(4344) %15) #8
  call void @llvm.lifetime.end.p0(i64 4344, ptr %15) #8
  call void @_ZN5amaze6solver9DStarLiteIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(8312) %14) #8
  call void @llvm.lifetime.end.p0(i64 8312, ptr %14) #8
  call void @_ZNSt3setItSt4lessItESaItEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %13) #8
  call void @_ZN5amaze10maze_graph13MazeGraphBaseIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #8
  call void @_ZN5amaze4MazeILh32EED2Ev(ptr noundef nonnull align 8 dereferenceable(1040) %7) #8
  call void @llvm.lifetime.end.p0(i64 1040, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #8
  br label %239

226:                                              ; preds = %223, %221, %216, %213, %210, %208
  %227 = landingpad { ptr, i32 }
          cleanup
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %10, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %11, 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 %230

230:                                              ; preds = %226, %199, %190, %156, %147, %113, %104
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %231

231:                                              ; preds = %230, %100
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @_ZN5amaze6solver3BFSIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(4044) %16) #8
  br label %232

232:                                              ; preds = %231, %96
  call void @llvm.lifetime.end.p0(i64 4048, ptr %16) #8
  call void @_ZN5amaze6solver5AStarIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(4344) %15) #8
  br label %233

233:                                              ; preds = %232, %92
  call void @llvm.lifetime.end.p0(i64 4344, ptr %15) #8
  call void @_ZN5amaze6solver9DStarLiteIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(8312) %14) #8
  br label %234

234:                                              ; preds = %233, %88
  call void @llvm.lifetime.end.p0(i64 8312, ptr %14) #8
  call void @_ZNSt3setItSt4lessItESaItEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #8
  br label %235

235:                                              ; preds = %234, %84
  call void @llvm.lifetime.end.p0(i64 48, ptr %13) #8
  br label %236

236:                                              ; preds = %235, %80
  call void @_ZN5amaze10maze_graph13MazeGraphBaseIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #8
  br label %237

237:                                              ; preds = %236, %76
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #8
  br label %238

238:                                              ; preds = %237, %75
  call void @_ZN5amaze4MazeILh32EED2Ev(ptr noundef nonnull align 8 dereferenceable(1040) %7) #8
  call void @llvm.lifetime.end.p0(i64 1040, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #8
  br label %241

239:                                              ; preds = %225, %36
  %240 = load i32, ptr %3, align 4
  ret i32 %240

241:                                              ; preds = %238
  %242 = load ptr, ptr %10, align 8
  %243 = load i32, ptr %11, align 4
  %244 = insertvalue { ptr, i32 } poison, ptr %242, 0
  %245 = insertvalue { ptr, i32 } %244, i32 %243, 1
  resume { ptr, i32 } %245
}

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #2 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)) #1

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

; 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 @_ZN5amaze6solver9DStarLiteIttLh32ELt1984EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(8312)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) #2 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)) #2

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5amaze6solver3BFSIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(4044)) 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 @_ZN5amaze6solver9DStarLiteIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(8312)) unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3setItSt4lessItESaItEED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4 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 @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5amaze10maze_graph13MazeGraphBaseIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4 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 = { 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 #2 = { 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 #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{i64 0, i64 8, !13}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}


; 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.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.0" = type { i8 }
%"class.amaze::maze_graph::SixWayGraph" = type { %"class.amaze::maze_graph::MazeGraphBase" }
%"class.amaze::maze_graph::MazeGraphBase" = 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 }
%"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.6", %"class.std::bitset.12" }
%"class.amaze::solver::SolverBase" = type { ptr, ptr }
%"struct.std::array" = type { [1984 x i16] }
%"class.std::set.6" = type { %"class.std::_Rb_tree.7" }
%"class.std::_Rb_tree.7" = 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.12" = type { %"struct.std::_Base_bitset.13" }
%"struct.std::_Base_bitset.13" = type { [31 x i64] }
%"class.amaze::solver::AStar" = type { %"class.amaze::solver::SolverBase", i16, %"class.std::set", i16, i16, %"struct.std::array", %"class.std::set.14", %"class.std::bitset.12" }
%"class.std::set.14" = type { %"class.std::_Rb_tree.15" }
%"class.std::_Rb_tree.15" = 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::BFS" = type <{ %"class.amaze::solver::SolverBase", i16, [6 x i8], %"class.std::set", i16, i16, %"struct.std::array", [4 x i8] }>
%"class.std::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }
%"class.std::chrono::duration.20" = type { i64 }

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef range(i32 -1, 1) i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.amaze::Maze", align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::allocator.0", align 1
  %6 = alloca %"class.amaze::maze_graph::SixWayGraph", align 8
  %7 = alloca %"class.std::set", align 8
  %8 = alloca %"class.amaze::solver::DStarLite", align 8
  %9 = alloca %"class.amaze::solver::AStar", align 8
  %10 = alloca %"class.amaze::solver::BFS", align 8
  %11 = alloca %"class.std::chrono::time_point", align 8
  %12 = alloca %"class.std::chrono::time_point", align 8
  %13 = alloca %"class.std::chrono::duration.20", align 8
  %14 = alloca %"class.std::chrono::duration", align 8
  %15 = alloca %"class.std::chrono::duration.20", align 8
  %16 = alloca %"class.std::chrono::duration", align 8
  %17 = alloca %"class.std::chrono::duration.20", align 8
  %18 = alloca %"class.std::chrono::duration", align 8
  %19 = icmp slt i32 %0, 2
  br i1 %19, label %20, label %27

20:                                               ; preds = %2
  %21 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
  %22 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %23 = load ptr, ptr %1, align 8, !tbaa !5
  %24 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef %23)
  %25 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull @.str.1)
  %26 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %144

27:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1040, ptr nonnull %3) #7
  call void @_ZN5amaze4MazeILh32EEC2Ev(ptr noundef nonnull align 8 dereferenceable(1040) %3)
  %28 = getelementptr inbounds i8, ptr %1, i64 8
  %29 = load ptr, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef %29, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %30 unwind label %43

30:                                               ; preds = %27
  %31 = invoke noundef zeroext i1 @_ZN5amaze5utils16loadMazeFromFileILh32EEEbRNS_4MazeIXT_EEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(1040) %3, ptr noundef nonnull %4)
          to label %32 unwind label %45

32:                                               ; preds = %30
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #7
  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) %3)
          to label %33 unwind label %48

33:                                               ; preds = %32
  invoke void @_ZN5amaze5utils9printMazeILh32EEEvRKNS_4MazeIXT_EEEi(ptr noundef nonnull align 8 dereferenceable(1040) %3, i32 noundef 1)
          to label %34 unwind label %50

34:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #7
  invoke void @_ZNK5amaze10maze_graph13MazeGraphBaseIttLh32ELt1984EE11goalNodeIdsEv(ptr dead_on_unwind nonnull writable sret(%"class.std::set") align 8 %7, ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %35 unwind label %52

35:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8312, ptr nonnull %8) #7
  invoke void @_ZN5amaze6solver9DStarLiteIttLh32ELt1984EEC2EPKNS_10maze_graph13MazeGraphBaseIttLh32ELt1984EEE(ptr noundef nonnull align 8 dereferenceable(8312) %8, ptr noundef nonnull %6)
          to label %36 unwind label %54

36:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 4344, ptr nonnull %9) #7
  invoke void @_ZN5amaze6solver5AStarIttLh32ELt1984EEC2EPKNS_10maze_graph13MazeGraphBaseIttLh32ELt1984EEE(ptr noundef nonnull align 8 dereferenceable(4344) %9, ptr noundef nonnull %6)
          to label %37 unwind label %56

37:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 4048, ptr nonnull %10) #7
  invoke void @_ZN5amaze6solver3BFSIttLh32ELt1984EEC2EPKNS_10maze_graph13MazeGraphBaseIttLh32ELt1984EEE(ptr noundef nonnull align 8 dereferenceable(4044) %10, ptr noundef nonnull %6)
          to label %38 unwind label %58

38:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  call void @_ZNSt6chrono10time_pointINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  call void @_ZNSt6chrono10time_pointINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12)
  %39 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #7
  store i64 %39, ptr %11, align 8, !tbaa !9
  br label %62

40:                                               ; preds = %63
  %41 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #7
  store i64 %41, ptr %12, align 8, !tbaa !9
  %42 = 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.2)
          to label %67 unwind label %60

43:                                               ; preds = %27
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %47

45:                                               ; preds = %30
  %46 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  br label %47

47:                                               ; preds = %45, %43
  %.pn = phi { ptr, i32 } [ %46, %45 ], [ %44, %43 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #7
  br label %143

48:                                               ; preds = %32
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %142

50:                                               ; preds = %33
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %141

52:                                               ; preds = %34
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %140

54:                                               ; preds = %35
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %139

56:                                               ; preds = %36
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %138

58:                                               ; preds = %37
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %137

60:                                               ; preds = %109, %83, %40
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %136

62:                                               ; preds = %38, %63
  %.02839 = phi i32 [ 0, %38 ], [ %64, %63 ]
  invoke void @_ZN5amaze6solver9DStarLiteIttLh32ELt1984EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(8312) %8)
          to label %63 unwind label %65

63:                                               ; preds = %62
  %64 = add nuw nsw i32 %.02839, 1
  %exitcond.not = icmp eq i32 %64, 100
  br i1 %exitcond.not, label %40, label %62, !llvm.loop !11

65:                                               ; preds = %62
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %136

67:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %68 = 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) %12, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %69 unwind label %86

69:                                               ; preds = %67
  store i64 %68, ptr %14, align 8
  %70 = invoke i64 @_ZNSt6chrono13duration_castINS_8durationIlSt5ratioILl1ELl1000000EEEElS2_ILl1ELl1000000000EEEENSt9enable_ifIXsr13__is_durationIT_EE5valueES7_E4typeERKNS1_IT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %71 unwind label %86

71:                                               ; preds = %69
  store i64 %70, ptr %13, align 8
  %72 = call noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %13)
  %73 = sitofp i64 %72 to double
  %74 = fdiv double %73, 1.000000e+03
  %75 = fdiv double %74, 1.000000e+02
  %76 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %42, double noundef %75)
          to label %77 unwind label %86

77:                                               ; preds = %71
  %78 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %76, ptr noundef nonnull @.str.3)
          to label %79 unwind label %86

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

81:                                               ; preds = %79
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  %82 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #7
  store i64 %82, ptr %11, align 8, !tbaa !9
  br label %88

83:                                               ; preds = %89
  %84 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #7
  store i64 %84, ptr %12, align 8, !tbaa !9
  %85 = 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 %93 unwind label %60

86:                                               ; preds = %79, %77, %71, %69, %67
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br label %136

88:                                               ; preds = %81, %89
  %.02740 = phi i32 [ 0, %81 ], [ %90, %89 ]
  invoke void @_ZN5amaze6solver5AStarIttLh32ELt1984EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(4344) %9)
          to label %89 unwind label %91

89:                                               ; preds = %88
  %90 = add nuw nsw i32 %.02740, 1
  %exitcond42.not = icmp eq i32 %90, 100
  br i1 %exitcond42.not, label %83, label %88, !llvm.loop !13

91:                                               ; preds = %88
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %136

93:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #7
  %94 = 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) %12, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %95 unwind label %112

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

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

103:                                              ; preds = %97
  %104 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %102, ptr noundef nonnull @.str.3)
          to label %105 unwind label %112

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

107:                                              ; preds = %105
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  %108 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #7
  store i64 %108, ptr %11, align 8, !tbaa !9
  br label %114

109:                                              ; preds = %115
  %110 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #7
  store i64 %110, ptr %12, align 8, !tbaa !9
  %111 = 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 %119 unwind label %60

112:                                              ; preds = %105, %103, %97, %95, %93
  %113 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  br label %136

114:                                              ; preds = %107, %115
  %.01641 = phi i32 [ 0, %107 ], [ %116, %115 ]
  invoke void @_ZN5amaze6solver3BFSIttLh32ELt1984EE10initializeEv(ptr noundef nonnull align 8 dereferenceable(4044) %10)
          to label %115 unwind label %117

115:                                              ; preds = %114
  %116 = add nuw nsw i32 %.01641, 1
  %exitcond43.not = icmp eq i32 %116, 100
  br i1 %exitcond43.not, label %109, label %114, !llvm.loop !14

117:                                              ; preds = %114
  %118 = landingpad { ptr, i32 }
          cleanup
  br label %136

119:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  %120 = 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) %12, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %121 unwind label %134

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

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

129:                                              ; preds = %123
  %130 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %128, ptr noundef nonnull @.str.3)
          to label %131 unwind label %134

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

133:                                              ; preds = %131
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @_ZN5amaze6solver3BFSIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(4044) %10) #7
  call void @llvm.lifetime.end.p0(i64 4048, ptr nonnull %10) #7
  call void @_ZN5amaze6solver5AStarIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(4344) %9) #7
  call void @llvm.lifetime.end.p0(i64 4344, ptr nonnull %9) #7
  call void @_ZN5amaze6solver9DStarLiteIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(8312) %8) #7
  call void @llvm.lifetime.end.p0(i64 8312, ptr nonnull %8) #7
  call void @_ZNSt3setItSt4lessItESaItEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #7
  call void @llvm.lifetime.end.p0(i64 48, 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 @_ZN5amaze4MazeILh32EED2Ev(ptr noundef nonnull align 8 dereferenceable(1040) %3) #7
  call void @llvm.lifetime.end.p0(i64 1040, ptr nonnull %3) #7
  br label %144

134:                                              ; preds = %131, %129, %123, %121, %119
  %135 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  br label %136

136:                                              ; preds = %134, %117, %112, %91, %86, %65, %60
  %.pn30 = phi { ptr, i32 } [ %66, %65 ], [ %92, %91 ], [ %118, %117 ], [ %135, %134 ], [ %61, %60 ], [ %113, %112 ], [ %87, %86 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @_ZN5amaze6solver3BFSIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(4044) %10) #7
  br label %137

137:                                              ; preds = %136, %58
  %.pn30.pn = phi { ptr, i32 } [ %.pn30, %136 ], [ %59, %58 ]
  call void @llvm.lifetime.end.p0(i64 4048, ptr nonnull %10) #7
  call void @_ZN5amaze6solver5AStarIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(4344) %9) #7
  br label %138

138:                                              ; preds = %137, %56
  %.pn30.pn.pn = phi { ptr, i32 } [ %.pn30.pn, %137 ], [ %57, %56 ]
  call void @llvm.lifetime.end.p0(i64 4344, ptr nonnull %9) #7
  call void @_ZN5amaze6solver9DStarLiteIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(8312) %8) #7
  br label %139

139:                                              ; preds = %138, %54
  %.pn30.pn.pn.pn = phi { ptr, i32 } [ %.pn30.pn.pn, %138 ], [ %55, %54 ]
  call void @llvm.lifetime.end.p0(i64 8312, ptr nonnull %8) #7
  call void @_ZNSt3setItSt4lessItESaItEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #7
  br label %140

140:                                              ; preds = %139, %52
  %.pn30.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn30.pn.pn.pn, %139 ], [ %53, %52 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #7
  br label %141

141:                                              ; preds = %140, %50
  %.pn30.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn30.pn.pn.pn.pn, %140 ], [ %51, %50 ]
  call void @_ZN5amaze10maze_graph13MazeGraphBaseIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  br label %142

142:                                              ; preds = %141, %48
  %.pn30.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn30.pn.pn.pn.pn.pn, %141 ], [ %49, %48 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  br label %143

143:                                              ; preds = %142, %47
  %.pn30.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn30.pn.pn.pn.pn.pn.pn, %142 ], [ %.pn, %47 ]
  call void @_ZN5amaze4MazeILh32EED2Ev(ptr noundef nonnull align 8 dereferenceable(1040) %3) #7
  call void @llvm.lifetime.end.p0(i64 1040, ptr nonnull %3) #7
  resume { ptr, i32 } %.pn30.pn.pn.pn.pn.pn.pn.pn

144:                                              ; preds = %133, %20
  %.0 = phi i32 [ -1, %20 ], [ 0, %133 ]
  ret i32 %.0
}

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

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

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5amaze6solver3BFSIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(4044)) 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 @_ZN5amaze6solver9DStarLiteIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(8312)) unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3setItSt4lessItESaItEED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4 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 @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5amaze10maze_graph13MazeGraphBaseIttLh32ELt1984EED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4 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 = { 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 #2 = { 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 #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}


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