; LLVM IR from PetarV-/Algorithms :: Data Structures/Binary Search Tree.ll (ZN3BST11prettyPrintEv)

; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::queue" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<Node *, std::allocator<Node *>>::_Deque_impl" }
%"struct.std::_Deque_base<Node *, std::allocator<Node *>>::_Deque_impl" = type { %"struct.std::_Deque_base<Node *, std::allocator<Node *>>::_Deque_impl_data" }
%"struct.std::_Deque_base<Node *, std::allocator<Node *>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::queue.3" = type { %"class.std::deque.4" }
%"class.std::deque.4" = type { %"class.std::_Deque_base.5" }
%"class.std::_Deque_base.5" = type { %"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl" }
%"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl" = type { %"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl_data" }
%"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator.9", %"struct.std::_Deque_iterator.9" }
%"struct.std::_Deque_iterator.9" = type { ptr, ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<std::vector<char>, std::allocator<std::vector<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<char>, std::allocator<std::vector<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<char>, std::allocator<std::vector<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<char>, std::allocator<std::vector<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_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::pair" = type <{ %"struct.std::_Rb_tree_const_iterator", i8, [7 x i8] }>
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%class.BST = type { ptr }
%class.Node = type { i8, i32, ptr, ptr, ptr, ptr }

@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN3BST7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

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

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

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

declare i32 @__gxx_personality_v0(...)

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

declare i32 @printf(ptr noundef, ...) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3BST11prettyPrintEv(ptr noundef nonnull align 8 dereferenceable(8) %0) #5 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca [10001 x %"class.std::vector"], align 16
  %5 = alloca %"class.std::queue", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::queue.3", align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca %"class.std::vector.10", align 8
  %22 = alloca i32, align 4
  %23 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %25 = alloca i8, align 1
  %26 = alloca %"class.std::set", align 8
  %27 = alloca [1000001 x i8], align 16
  %28 = alloca i32, align 4
  %29 = alloca %"struct.std::pair", align 8
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %34 = alloca i32, align 4
  %35 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %36 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %37 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %38 = alloca i32, align 4
  %39 = alloca %"class.std::set", align 8
  %40 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %41 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %42 = alloca i32, align 4
  %43 = alloca %"struct.std::pair", align 8
  %44 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %45 = alloca i32, align 4
  %46 = alloca %"struct.std::pair", align 8
  %47 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %48 = alloca %"class.std::set", align 8
  %49 = alloca i32, align 4
  %50 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %51 = load ptr, ptr %2, align 8
  %52 = call noundef zeroext i1 @_ZN3BST7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %51)
  br i1 %52, label %53, label %54

53:                                               ; preds = %1
  br label %548

54:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #8
  store i32 0, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 240024, ptr %4) #8
  %55 = getelementptr inbounds [10001 x %"class.std::vector"], ptr %4, i32 0, i32 0
  %56 = getelementptr inbounds %"class.std::vector", ptr %55, i64 10001
  br label %57

57:                                               ; preds = %57, %54
  %58 = phi ptr [ %55, %54 ], [ %59, %57 ]
  call void @_ZNSt6vectorIcSaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %58) #8
  %59 = getelementptr inbounds %"class.std::vector", ptr %58, i64 1
  %60 = icmp eq ptr %59, %56
  br i1 %60, label %61, label %57

61:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 80, ptr %5) #8
  invoke void @_ZNSt5queueIP4NodeSt5dequeIS1_SaIS1_EEEC2IS4_vEEv(ptr noundef nonnull align 8 dereferenceable(80) %5)
          to label %62 unwind label %97

62:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 80, ptr %8) #8
  invoke void @_ZNSt5queueIiSt5dequeIiSaIiEEEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(80) %8)
          to label %63 unwind label %101

63:                                               ; preds = %62
  %64 = getelementptr inbounds %class.BST, ptr %51, i32 0, i32 0
  invoke void @_ZNSt5queueIP4NodeSt5dequeIS1_SaIS1_EEE4pushERKS1_(ptr noundef nonnull align 8 dereferenceable(80) %5, ptr noundef nonnull align 8 dereferenceable(8) %64)
          to label %65 unwind label %105

65:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 0, ptr %9, align 4, !tbaa !9
  invoke void @_ZNSt5queueIiSt5dequeIiSaIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(80) %8, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %66 unwind label %109

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

67:                                               ; preds = %214, %66
  %68 = invoke noundef zeroext i1 @_ZNKSt5queueIP4NodeSt5dequeIS1_SaIS1_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %5)
          to label %69 unwind label %105

69:                                               ; preds = %67
  %70 = xor i1 %68, true
  br i1 %70, label %71, label %217

71:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %72 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5queueIP4NodeSt5dequeIS1_SaIS1_EEE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) %5)
          to label %73 unwind label %113

73:                                               ; preds = %71
  %74 = load ptr, ptr %72, align 8, !tbaa !5
  store ptr %74, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  %75 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5queueIiSt5dequeIiSaIiEEE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) %8)
          to label %76 unwind label %117

76:                                               ; preds = %73
  %77 = load i32, ptr %75, align 4, !tbaa !9
  store i32 %77, ptr %11, align 4, !tbaa !9
  invoke void @_ZNSt5queueIP4NodeSt5dequeIS1_SaIS1_EEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %5)
          to label %78 unwind label %117

78:                                               ; preds = %76
  invoke void @_ZNSt5queueIiSt5dequeIiSaIiEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %8)
          to label %79 unwind label %117

79:                                               ; preds = %78
  %80 = load i32, ptr %11, align 4, !tbaa !9
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [10001 x %"class.std::vector"], ptr %4, i64 0, i64 %81
  %83 = load ptr, ptr %10, align 8, !tbaa !5
  %84 = getelementptr inbounds %class.Node, ptr %83, i32 0, i32 0
  invoke void @_ZNSt6vectorIcSaIcEE9push_backERKc(ptr noundef nonnull align 8 dereferenceable(24) %82, ptr noundef nonnull align 1 dereferenceable(1) %84)
          to label %85 unwind label %117

85:                                               ; preds = %79
  %86 = load ptr, ptr %10, align 8, !tbaa !5
  %87 = getelementptr inbounds %class.Node, ptr %86, i32 0, i32 0
  %88 = load i8, ptr %87, align 8, !tbaa !11
  %89 = sext i8 %88 to i32
  %90 = icmp ne i32 %89, 32
  br i1 %90, label %91, label %121

91:                                               ; preds = %85
  %92 = load i32, ptr %11, align 4, !tbaa !9
  %93 = load i32, ptr %3, align 4, !tbaa !9
  %94 = icmp sgt i32 %92, %93
  br i1 %94, label %95, label %121

95:                                               ; preds = %91
  %96 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %96, ptr %3, align 4, !tbaa !9
  br label %121

97:                                               ; preds = %61
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %6, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %7, align 4
  br label %554

101:                                              ; preds = %62
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %6, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %7, align 4
  br label %553

105:                                              ; preds = %220, %67, %63
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %6, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %7, align 4
  br label %552

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

113:                                              ; preds = %71
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %6, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %7, align 4
  br label %216

117:                                              ; preds = %177, %138, %79, %78, %76, %73
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %6, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %7, align 4
  br label %215

121:                                              ; preds = %95, %91, %85
  %122 = load ptr, ptr %10, align 8, !tbaa !5
  %123 = getelementptr inbounds %class.Node, ptr %122, i32 0, i32 0
  %124 = load i8, ptr %123, align 8, !tbaa !11
  %125 = sext i8 %124 to i32
  %126 = icmp eq i32 %125, 32
  br i1 %126, label %127, label %133

127:                                              ; preds = %121
  %128 = load i32, ptr %11, align 4, !tbaa !9
  %129 = load i32, ptr %3, align 4, !tbaa !9
  %130 = add nsw i32 %129, 1
  %131 = icmp sgt i32 %128, %130
  br i1 %131, label %132, label %133

132:                                              ; preds = %127
  store i32 3, ptr %12, align 4
  br label %212

133:                                              ; preds = %127, %121
  %134 = load ptr, ptr %10, align 8, !tbaa !5
  %135 = getelementptr inbounds %class.Node, ptr %134, i32 0, i32 2
  %136 = load ptr, ptr %135, align 8, !tbaa !13
  %137 = icmp ne ptr %136, null
  br i1 %137, label %138, label %151

138:                                              ; preds = %133
  %139 = load ptr, ptr %10, align 8, !tbaa !5
  %140 = getelementptr inbounds %class.Node, ptr %139, i32 0, i32 2
  %141 = load ptr, ptr %140, align 8, !tbaa !13
  %142 = getelementptr inbounds %class.BST, ptr %141, i32 0, i32 0
  invoke void @_ZNSt5queueIP4NodeSt5dequeIS1_SaIS1_EEE4pushERKS1_(ptr noundef nonnull align 8 dereferenceable(80) %5, ptr noundef nonnull align 8 dereferenceable(8) %142)
          to label %143 unwind label %117

143:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  %144 = load i32, ptr %11, align 4, !tbaa !9
  %145 = add nsw i32 %144, 1
  store i32 %145, ptr %13, align 4, !tbaa !9
  invoke void @_ZNSt5queueIiSt5dequeIiSaIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(80) %8, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %146 unwind label %147

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

147:                                              ; preds = %143
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %6, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  br label %215

151:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %152 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 40) #9
          to label %153 unwind label %159

153:                                              ; preds = %151
  invoke void @_ZN4NodeC1Eci(ptr noundef nonnull align 8 dereferenceable(40) %152, i8 noundef signext 32, i32 noundef 0)
          to label %154 unwind label %163

154:                                              ; preds = %153
  store ptr %152, ptr %14, align 8, !tbaa !5
  invoke void @_ZNSt5queueIP4NodeSt5dequeIS1_SaIS1_EEE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(80) %5, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %155 unwind label %159

155:                                              ; preds = %154
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  %156 = load i32, ptr %11, align 4, !tbaa !9
  %157 = add nsw i32 %156, 1
  store i32 %157, ptr %15, align 4, !tbaa !9
  invoke void @_ZNSt5queueIiSt5dequeIiSaIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(80) %8, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %158 unwind label %168

158:                                              ; preds = %155
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  br label %172

159:                                              ; preds = %154, %151
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %6, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %7, align 4
  br label %167

163:                                              ; preds = %153
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %6, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %7, align 4
  call void @_ZdlPvm(ptr noundef %152, i64 noundef 40) #10
  br label %167

167:                                              ; preds = %163, %159
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %215

168:                                              ; preds = %155
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %6, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  br label %215

172:                                              ; preds = %158, %146
  %173 = load ptr, ptr %10, align 8, !tbaa !5
  %174 = getelementptr inbounds %class.Node, ptr %173, i32 0, i32 3
  %175 = load ptr, ptr %174, align 8, !tbaa !14
  %176 = icmp ne ptr %175, null
  br i1 %176, label %177, label %190

177:                                              ; preds = %172
  %178 = load ptr, ptr %10, align 8, !tbaa !5
  %179 = getelementptr inbounds %class.Node, ptr %178, i32 0, i32 3
  %180 = load ptr, ptr %179, align 8, !tbaa !14
  %181 = getelementptr inbounds %class.BST, ptr %180, i32 0, i32 0
  invoke void @_ZNSt5queueIP4NodeSt5dequeIS1_SaIS1_EEE4pushERKS1_(ptr noundef nonnull align 8 dereferenceable(80) %5, ptr noundef nonnull align 8 dereferenceable(8) %181)
          to label %182 unwind label %117

182:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  %183 = load i32, ptr %11, align 4, !tbaa !9
  %184 = add nsw i32 %183, 1
  store i32 %184, ptr %16, align 4, !tbaa !9
  invoke void @_ZNSt5queueIiSt5dequeIiSaIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(80) %8, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %185 unwind label %186

185:                                              ; preds = %182
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  br label %211

186:                                              ; preds = %182
  %187 = landingpad { ptr, i32 }
          cleanup
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %6, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  br label %215

190:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %191 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 40) #9
          to label %192 unwind label %198

192:                                              ; preds = %190
  invoke void @_ZN4NodeC1Eci(ptr noundef nonnull align 8 dereferenceable(40) %191, i8 noundef signext 32, i32 noundef 0)
          to label %193 unwind label %202

193:                                              ; preds = %192
  store ptr %191, ptr %17, align 8, !tbaa !5
  invoke void @_ZNSt5queueIP4NodeSt5dequeIS1_SaIS1_EEE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(80) %5, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %194 unwind label %198

194:                                              ; preds = %193
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  %195 = load i32, ptr %11, align 4, !tbaa !9
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr %18, align 4, !tbaa !9
  invoke void @_ZNSt5queueIiSt5dequeIiSaIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(80) %8, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %197 unwind label %207

197:                                              ; preds = %194
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %211

198:                                              ; preds = %193, %190
  %199 = landingpad { ptr, i32 }
          cleanup
  %200 = extractvalue { ptr, i32 } %199, 0
  store ptr %200, ptr %6, align 8
  %201 = extractvalue { ptr, i32 } %199, 1
  store i32 %201, ptr %7, align 4
  br label %206

202:                                              ; preds = %192
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %6, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %7, align 4
  call void @_ZdlPvm(ptr noundef %191, i64 noundef 40) #10
  br label %206

206:                                              ; preds = %202, %198
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %215

207:                                              ; preds = %194
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %6, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %215

211:                                              ; preds = %197, %185
  store i32 0, ptr %12, align 4
  br label %212

212:                                              ; preds = %211, %132
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  %213 = load i32, ptr %12, align 4
  switch i32 %213, label %567 [
    i32 0, label %214
    i32 3, label %217
  ]

214:                                              ; preds = %212
  br label %67, !llvm.loop !15

215:                                              ; preds = %207, %206, %186, %168, %167, %147, %117
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  br label %216

216:                                              ; preds = %215, %113
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  br label %552

217:                                              ; preds = %212, %69
  %218 = load i32, ptr %3, align 4, !tbaa !9
  %219 = icmp eq i32 %218, 0
  br i1 %219, label %220, label %228

220:                                              ; preds = %217
  %221 = getelementptr inbounds %class.BST, ptr %51, i32 0, i32 0
  %222 = load ptr, ptr %221, align 8, !tbaa !17
  %223 = getelementptr inbounds %class.Node, ptr %222, i32 0, i32 0
  %224 = load i8, ptr %223, align 8, !tbaa !11
  %225 = sext i8 %224 to i32
  %226 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %225)
          to label %227 unwind label %105

227:                                              ; preds = %220
  store i32 1, ptr %12, align 4
  br label %539

228:                                              ; preds = %217
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  %229 = load i32, ptr %3, align 4, !tbaa !9
  %230 = shl i32 1, %229
  %231 = load i32, ptr %3, align 4, !tbaa !9
  %232 = add nsw i32 %230, %231
  store i32 %232, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  %233 = load i32, ptr %3, align 4, !tbaa !9
  %234 = add nsw i32 %233, 1
  %235 = shl i32 1, %234
  %236 = sub nsw i32 %235, 1
  store i32 %236, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #8
  call void @_ZNSt6vectorIS_IcSaIcEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  %237 = load i32, ptr %19, align 4, !tbaa !9
  %238 = add nsw i32 %237, 5
  %239 = sext i32 %238 to i64
  invoke void @_ZNSt6vectorIS_IcSaIcEESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %239)
          to label %240 unwind label %246

240:                                              ; preds = %228
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %241

241:                                              ; preds = %273, %240
  %242 = load i32, ptr %22, align 4, !tbaa !9
  %243 = load i32, ptr %19, align 4, !tbaa !9
  %244 = icmp slt i32 %242, %243
  br i1 %244, label %250, label %245

245:                                              ; preds = %241
  store i32 4, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %285

246:                                              ; preds = %228
  %247 = landingpad { ptr, i32 }
          cleanup
  %248 = extractvalue { ptr, i32 } %247, 0
  store ptr %248, ptr %6, align 8
  %249 = extractvalue { ptr, i32 } %247, 1
  store i32 %249, ptr %7, align 4
  br label %551

250:                                              ; preds = %241
  %251 = load i32, ptr %22, align 4, !tbaa !9
  %252 = sext i32 %251 to i64
  %253 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %252) #8
  %254 = load i32, ptr %20, align 4, !tbaa !9
  %255 = add nsw i32 %254, 5
  %256 = sext i32 %255 to i64
  invoke void @_ZNSt6vectorIcSaIcEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %253, i64 noundef %256)
          to label %257 unwind label %276

257:                                              ; preds = %250
  %258 = load i32, ptr %22, align 4, !tbaa !9
  %259 = sext i32 %258 to i64
  %260 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %259) #8
  %261 = call ptr @_ZNSt6vectorIcSaIcEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %260) #8
  %262 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %23, i32 0, i32 0
  store ptr %261, ptr %262, align 8
  %263 = load i32, ptr %22, align 4, !tbaa !9
  %264 = sext i32 %263 to i64
  %265 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %264) #8
  %266 = call ptr @_ZNSt6vectorIcSaIcEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %265) #8
  %267 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  store ptr %266, ptr %267, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #8
  store i8 32, ptr %25, align 1, !tbaa !19
  %268 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %23, i32 0, i32 0
  %269 = load ptr, ptr %268, align 8
  %270 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  %271 = load ptr, ptr %270, align 8
  invoke void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPcSt6vectorIcSaIcEEEEcEvT_S7_RKT0_(ptr %269, ptr %271, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %272 unwind label %280

272:                                              ; preds = %257
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  br label %273

273:                                              ; preds = %272
  %274 = load i32, ptr %22, align 4, !tbaa !9
  %275 = add nsw i32 %274, 1
  store i32 %275, ptr %22, align 4, !tbaa !9
  br label %241, !llvm.loop !20

276:                                              ; preds = %250
  %277 = landingpad { ptr, i32 }
          cleanup
  %278 = extractvalue { ptr, i32 } %277, 0
  store ptr %278, ptr %6, align 8
  %279 = extractvalue { ptr, i32 } %277, 1
  store i32 %279, ptr %7, align 4
  br label %284

280:                                              ; preds = %257
  %281 = landingpad { ptr, i32 }
          cleanup
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %6, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  br label %284

284:                                              ; preds = %280, %276
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %551

285:                                              ; preds = %245
  call void @llvm.lifetime.start.p0(i64 48, ptr %26) #8
  call void @_ZNSt3setIiSt4lessIiESaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #8
  call void @llvm.lifetime.start.p0(i64 1000001, ptr %27) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  store i32 0, ptr %28, align 4, !tbaa !9
  br label %286

286:                                              ; preds = %292, %285
  %287 = load i32, ptr %28, align 4, !tbaa !9
  %288 = load i32, ptr %20, align 4, !tbaa !9
  %289 = icmp slt i32 %287, %288
  br i1 %289, label %290, label %306

290:                                              ; preds = %286
  %291 = invoke { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48) %26, ptr noundef nonnull align 4 dereferenceable(4) %28)
          to label %292 unwind label %302

292:                                              ; preds = %290
  %293 = getelementptr inbounds { ptr, i8 }, ptr %29, i32 0, i32 0
  %294 = extractvalue { ptr, i8 } %291, 0
  store ptr %294, ptr %293, align 8
  %295 = getelementptr inbounds { ptr, i8 }, ptr %29, i32 0, i32 1
  %296 = extractvalue { ptr, i8 } %291, 1
  store i8 %296, ptr %295, align 8
  %297 = load i32, ptr %28, align 4, !tbaa !9
  %298 = sext i32 %297 to i64
  %299 = getelementptr inbounds [1000001 x i8], ptr %27, i64 0, i64 %298
  store i8 0, ptr %299, align 1, !tbaa !21
  %300 = load i32, ptr %28, align 4, !tbaa !9
  %301 = add nsw i32 %300, 2
  store i32 %301, ptr %28, align 4, !tbaa !9
  br label %286, !llvm.loop !23

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

306:                                              ; preds = %286
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #8
  %307 = load i32, ptr %19, align 4, !tbaa !9
  %308 = sub nsw i32 %307, 1
  store i32 %308, ptr %30, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #8
  store i32 0, ptr %31, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #8
  %309 = load i32, ptr %3, align 4, !tbaa !9
  store i32 %309, ptr %32, align 4, !tbaa !9
  br label %310

310:                                              ; preds = %487, %306
  %311 = load i32, ptr %32, align 4, !tbaa !9
  %312 = icmp sge i32 %311, 0
  br i1 %312, label %314, label %313

313:                                              ; preds = %310
  store i32 9, ptr %12, align 4
  br label %490

314:                                              ; preds = %310
  %315 = load i32, ptr %32, align 4, !tbaa !9
  %316 = icmp eq i32 %315, 0
  br i1 %316, label %317, label %328

317:                                              ; preds = %314
  %318 = getelementptr inbounds [10001 x %"class.std::vector"], ptr %4, i64 0, i64 0
  %319 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %318, i64 noundef 0) #8
  %320 = load i8, ptr %319, align 1, !tbaa !19
  %321 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef 0) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %322 = call ptr @_ZNKSt3setIiSt4lessIiESaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %26) #8
  %323 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %33, i32 0, i32 0
  store ptr %322, ptr %323, align 8
  %324 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #8
  %325 = load i32, ptr %324, align 4, !tbaa !9
  %326 = sext i32 %325 to i64
  %327 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %321, i64 noundef %326) #8
  store i8 %320, ptr %327, align 1, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  store i32 9, ptr %12, align 4
  br label %490

328:                                              ; preds = %314
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #8
  store i32 0, ptr %34, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %329 = call ptr @_ZNKSt3setIiSt4lessIiESaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %26) #8
  %330 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %35, i32 0, i32 0
  store ptr %329, ptr %330, align 8
  br label %331

331:                                              ; preds = %367, %328
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %332 = call ptr @_ZNKSt3setIiSt4lessIiESaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %26) #8
  %333 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %36, i32 0, i32 0
  store ptr %332, ptr %333, align 8
  %334 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIiES2_(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  br i1 %334, label %336, label %335

335:                                              ; preds = %331
  store i32 12, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  br label %370

336:                                              ; preds = %331
  %337 = load i32, ptr %32, align 4, !tbaa !9
  %338 = sext i32 %337 to i64
  %339 = getelementptr inbounds [10001 x %"class.std::vector"], ptr %4, i64 0, i64 %338
  %340 = load i32, ptr %34, align 4, !tbaa !9
  %341 = sext i32 %340 to i64
  %342 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %339, i64 noundef %341) #8
  %343 = load i8, ptr %342, align 1, !tbaa !19
  %344 = load i32, ptr %30, align 4, !tbaa !9
  %345 = sext i32 %344 to i64
  %346 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %345) #8
  %347 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %35) #8
  %348 = load i32, ptr %347, align 4, !tbaa !9
  %349 = sext i32 %348 to i64
  %350 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %346, i64 noundef %349) #8
  store i8 %343, ptr %350, align 1, !tbaa !19
  %351 = load i32, ptr %32, align 4, !tbaa !9
  %352 = sext i32 %351 to i64
  %353 = getelementptr inbounds [10001 x %"class.std::vector"], ptr %4, i64 0, i64 %352
  %354 = load i32, ptr %34, align 4, !tbaa !9
  %355 = add nsw i32 %354, 1
  store i32 %355, ptr %34, align 4, !tbaa !9
  %356 = sext i32 %354 to i64
  %357 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %353, i64 noundef %356) #8
  %358 = load i8, ptr %357, align 1, !tbaa !19
  %359 = sext i8 %358 to i32
  %360 = icmp ne i32 %359, 32
  br i1 %360, label %361, label %366

361:                                              ; preds = %336
  %362 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %35) #8
  %363 = load i32, ptr %362, align 4, !tbaa !9
  %364 = sext i32 %363 to i64
  %365 = getelementptr inbounds [1000001 x i8], ptr %27, i64 0, i64 %364
  store i8 1, ptr %365, align 1, !tbaa !21
  br label %366

366:                                              ; preds = %361, %336
  br label %367

367:                                              ; preds = %366
  %368 = call ptr @_ZNSt23_Rb_tree_const_iteratorIiEppEi(ptr noundef nonnull align 8 dereferenceable(8) %35, i32 noundef 0) #8
  %369 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %37, i32 0, i32 0
  store ptr %368, ptr %369, align 8
  br label %331, !llvm.loop !24

370:                                              ; preds = %335
  %371 = load i32, ptr %30, align 4, !tbaa !9
  %372 = add nsw i32 %371, -1
  store i32 %372, ptr %30, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #8
  store i32 0, ptr %38, align 4, !tbaa !9
  br label %373

373:                                              ; preds = %477, %370
  %374 = load i32, ptr %38, align 4, !tbaa !9
  %375 = load i32, ptr %31, align 4, !tbaa !9
  %376 = shl i32 1, %375
  %377 = icmp slt i32 %374, %376
  br i1 %377, label %378, label %484

378:                                              ; preds = %373
  call void @llvm.lifetime.start.p0(i64 48, ptr %39) #8
  call void @_ZNSt3setIiSt4lessIiESaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %39) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  %379 = call ptr @_ZNKSt3setIiSt4lessIiESaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %26) #8
  %380 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %40, i32 0, i32 0
  store ptr %379, ptr %380, align 8
  br label %381

381:                                              ; preds = %468, %378
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #8
  %382 = call ptr @_ZNKSt3setIiSt4lessIiESaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %26) #8
  %383 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %41, i32 0, i32 0
  store ptr %382, ptr %383, align 8
  %384 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIiES2_(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  br i1 %384, label %386, label %385

385:                                              ; preds = %381
  store i32 17, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  br label %472

386:                                              ; preds = %381
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #8
  %387 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #8
  %388 = load i32, ptr %387, align 4, !tbaa !9
  %389 = add nsw i32 %388, 1
  store i32 %389, ptr %42, align 4, !tbaa !9
  %390 = invoke { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertEOi(ptr noundef nonnull align 8 dereferenceable(48) %39, ptr noundef nonnull align 4 dereferenceable(4) %42)
          to label %391 unwind label %422

391:                                              ; preds = %386
  %392 = getelementptr inbounds { ptr, i8 }, ptr %43, i32 0, i32 0
  %393 = extractvalue { ptr, i8 } %390, 0
  store ptr %393, ptr %392, align 8
  %394 = getelementptr inbounds { ptr, i8 }, ptr %43, i32 0, i32 1
  %395 = extractvalue { ptr, i8 } %390, 1
  store i8 %395, ptr %394, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  %396 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #8
  %397 = load i32, ptr %396, align 4, !tbaa !9
  %398 = sext i32 %397 to i64
  %399 = getelementptr inbounds [1000001 x i8], ptr %27, i64 0, i64 %398
  %400 = load i8, ptr %399, align 1, !tbaa !21, !range !25, !noundef !26
  %401 = trunc i8 %400 to i1
  %402 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #8
  %403 = load i32, ptr %402, align 4, !tbaa !9
  %404 = add nsw i32 %403, 1
  %405 = sext i32 %404 to i64
  %406 = getelementptr inbounds [1000001 x i8], ptr %27, i64 0, i64 %405
  %407 = zext i1 %401 to i8
  store i8 %407, ptr %406, align 1, !tbaa !21
  %408 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #8
  %409 = load i32, ptr %408, align 4, !tbaa !9
  %410 = sext i32 %409 to i64
  %411 = getelementptr inbounds [1000001 x i8], ptr %27, i64 0, i64 %410
  %412 = load i8, ptr %411, align 1, !tbaa !21, !range !25, !noundef !26
  %413 = trunc i8 %412 to i1
  br i1 %413, label %414, label %426

414:                                              ; preds = %391
  %415 = load i32, ptr %30, align 4, !tbaa !9
  %416 = sext i32 %415 to i64
  %417 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %416) #8
  %418 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #8
  %419 = load i32, ptr %418, align 4, !tbaa !9
  %420 = sext i32 %419 to i64
  %421 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %417, i64 noundef %420) #8
  store i8 47, ptr %421, align 1, !tbaa !19
  br label %426

422:                                              ; preds = %386
  %423 = landingpad { ptr, i32 }
          cleanup
  %424 = extractvalue { ptr, i32 } %423, 0
  store ptr %424, ptr %6, align 8
  %425 = extractvalue { ptr, i32 } %423, 1
  store i32 %425, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  br label %471

426:                                              ; preds = %414, %391
  %427 = call ptr @_ZNSt23_Rb_tree_const_iteratorIiEppEi(ptr noundef nonnull align 8 dereferenceable(8) %40, i32 noundef 0) #8
  %428 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %44, i32 0, i32 0
  store ptr %427, ptr %428, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #8
  %429 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #8
  %430 = load i32, ptr %429, align 4, !tbaa !9
  %431 = sub nsw i32 %430, 1
  store i32 %431, ptr %45, align 4, !tbaa !9
  %432 = invoke { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertEOi(ptr noundef nonnull align 8 dereferenceable(48) %39, ptr noundef nonnull align 4 dereferenceable(4) %45)
          to label %433 unwind label %464

433:                                              ; preds = %426
  %434 = getelementptr inbounds { ptr, i8 }, ptr %46, i32 0, i32 0
  %435 = extractvalue { ptr, i8 } %432, 0
  store ptr %435, ptr %434, align 8
  %436 = getelementptr inbounds { ptr, i8 }, ptr %46, i32 0, i32 1
  %437 = extractvalue { ptr, i8 } %432, 1
  store i8 %437, ptr %436, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #8
  %438 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #8
  %439 = load i32, ptr %438, align 4, !tbaa !9
  %440 = sext i32 %439 to i64
  %441 = getelementptr inbounds [1000001 x i8], ptr %27, i64 0, i64 %440
  %442 = load i8, ptr %441, align 1, !tbaa !21, !range !25, !noundef !26
  %443 = trunc i8 %442 to i1
  %444 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #8
  %445 = load i32, ptr %444, align 4, !tbaa !9
  %446 = sub nsw i32 %445, 1
  %447 = sext i32 %446 to i64
  %448 = getelementptr inbounds [1000001 x i8], ptr %27, i64 0, i64 %447
  %449 = zext i1 %443 to i8
  store i8 %449, ptr %448, align 1, !tbaa !21
  %450 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #8
  %451 = load i32, ptr %450, align 4, !tbaa !9
  %452 = sext i32 %451 to i64
  %453 = getelementptr inbounds [1000001 x i8], ptr %27, i64 0, i64 %452
  %454 = load i8, ptr %453, align 1, !tbaa !21, !range !25, !noundef !26
  %455 = trunc i8 %454 to i1
  br i1 %455, label %456, label %468

456:                                              ; preds = %433
  %457 = load i32, ptr %30, align 4, !tbaa !9
  %458 = sext i32 %457 to i64
  %459 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %458) #8
  %460 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #8
  %461 = load i32, ptr %460, align 4, !tbaa !9
  %462 = sext i32 %461 to i64
  %463 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %459, i64 noundef %462) #8
  store i8 92, ptr %463, align 1, !tbaa !19
  br label %468

464:                                              ; preds = %426
  %465 = landingpad { ptr, i32 }
          cleanup
  %466 = extractvalue { ptr, i32 } %465, 0
  store ptr %466, ptr %6, align 8
  %467 = extractvalue { ptr, i32 } %465, 1
  store i32 %467, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #8
  br label %471

468:                                              ; preds = %456, %433
  %469 = call ptr @_ZNSt23_Rb_tree_const_iteratorIiEppEi(ptr noundef nonnull align 8 dereferenceable(8) %40, i32 noundef 0) #8
  %470 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %47, i32 0, i32 0
  store ptr %469, ptr %470, align 8
  br label %381, !llvm.loop !27

471:                                              ; preds = %464, %422
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  br label %483

472:                                              ; preds = %385
  %473 = load i32, ptr %30, align 4, !tbaa !9
  %474 = add nsw i32 %473, -1
  store i32 %474, ptr %30, align 4, !tbaa !9
  %475 = load i32, ptr %38, align 4, !tbaa !9
  %476 = add nsw i32 %475, 1
  store i32 %476, ptr %38, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 48, ptr %48) #8
  invoke void @_ZNSt3setIiSt4lessIiESaIiEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(48) %48, ptr noundef nonnull align 8 dereferenceable(48) %39)
          to label %477 unwind label %479

477:                                              ; preds = %472
  %478 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3setIiSt4lessIiESaIiEEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(48) %26, ptr noundef nonnull align 8 dereferenceable(48) %48) #8
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %48) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %48) #8
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %39) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %39) #8
  br label %373, !llvm.loop !28

479:                                              ; preds = %472
  %480 = landingpad { ptr, i32 }
          cleanup
  %481 = extractvalue { ptr, i32 } %480, 0
  store ptr %481, ptr %6, align 8
  %482 = extractvalue { ptr, i32 } %480, 1
  store i32 %482, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 48, ptr %48) #8
  br label %483

483:                                              ; preds = %479, %471
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %39) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  br label %549

484:                                              ; preds = %373
  %485 = load i32, ptr %31, align 4, !tbaa !9
  %486 = add nsw i32 %485, 1
  store i32 %486, ptr %31, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  br label %487

487:                                              ; preds = %484
  %488 = load i32, ptr %32, align 4, !tbaa !9
  %489 = add nsw i32 %488, -1
  store i32 %489, ptr %32, align 4, !tbaa !9
  br label %310, !llvm.loop !29

490:                                              ; preds = %317, %313
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  br label %491

491:                                              ; preds = %490
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #8
  store i32 0, ptr %49, align 4, !tbaa !9
  br label %492

492:                                              ; preds = %534, %491
  %493 = load i32, ptr %49, align 4, !tbaa !9
  %494 = load i32, ptr %19, align 4, !tbaa !9
  %495 = icmp slt i32 %493, %494
  br i1 %495, label %497, label %496

496:                                              ; preds = %492
  store i32 19, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #8
  br label %538

497:                                              ; preds = %492
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #8
  store i32 0, ptr %50, align 4, !tbaa !9
  br label %498

498:                                              ; preds = %514, %497
  %499 = load i32, ptr %50, align 4, !tbaa !9
  %500 = load i32, ptr %20, align 4, !tbaa !9
  %501 = icmp slt i32 %499, %500
  br i1 %501, label %503, label %502

502:                                              ; preds = %498
  store i32 22, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #8
  br label %521

503:                                              ; preds = %498
  %504 = load i32, ptr %49, align 4, !tbaa !9
  %505 = sext i32 %504 to i64
  %506 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %505) #8
  %507 = load i32, ptr %50, align 4, !tbaa !9
  %508 = sext i32 %507 to i64
  %509 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %506, i64 noundef %508) #8
  %510 = load i8, ptr %509, align 1, !tbaa !19
  %511 = sext i8 %510 to i32
  %512 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %511)
          to label %513 unwind label %517

513:                                              ; preds = %503
  br label %514

514:                                              ; preds = %513
  %515 = load i32, ptr %50, align 4, !tbaa !9
  %516 = add nsw i32 %515, 1
  store i32 %516, ptr %50, align 4, !tbaa !9
  br label %498, !llvm.loop !30

517:                                              ; preds = %503
  %518 = landingpad { ptr, i32 }
          cleanup
  %519 = extractvalue { ptr, i32 } %518, 0
  store ptr %519, ptr %6, align 8
  %520 = extractvalue { ptr, i32 } %518, 1
  store i32 %520, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #8
  br label %537

521:                                              ; preds = %502
  %522 = load i32, ptr %49, align 4, !tbaa !9
  %523 = load i32, ptr %19, align 4, !tbaa !9
  %524 = sub nsw i32 %523, 1
  %525 = icmp slt i32 %522, %524
  br i1 %525, label %526, label %533

526:                                              ; preds = %521
  %527 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.5)
          to label %528 unwind label %529

528:                                              ; preds = %526
  br label %533

529:                                              ; preds = %526
  %530 = landingpad { ptr, i32 }
          cleanup
  %531 = extractvalue { ptr, i32 } %530, 0
  store ptr %531, ptr %6, align 8
  %532 = extractvalue { ptr, i32 } %530, 1
  store i32 %532, ptr %7, align 4
  br label %537

533:                                              ; preds = %528, %521
  br label %534

534:                                              ; preds = %533
  %535 = load i32, ptr %49, align 4, !tbaa !9
  %536 = add nsw i32 %535, 1
  store i32 %536, ptr %49, align 4, !tbaa !9
  br label %492, !llvm.loop !31

537:                                              ; preds = %529, %517
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #8
  br label %549

538:                                              ; preds = %496
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 1000001, ptr %27) #8
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %26) #8
  call void @_ZNSt6vectorIS_IcSaIcEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  store i32 0, ptr %12, align 4
  br label %539

539:                                              ; preds = %538, %227
  call void @_ZNSt5queueIiSt5dequeIiSaIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %8) #8
  call void @llvm.lifetime.end.p0(i64 80, ptr %8) #8
  call void @_ZNSt5queueIP4NodeSt5dequeIS1_SaIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %5) #8
  call void @llvm.lifetime.end.p0(i64 80, ptr %5) #8
  %540 = getelementptr inbounds [10001 x %"class.std::vector"], ptr %4, i32 0, i32 0
  %541 = getelementptr inbounds %"class.std::vector", ptr %540, i64 10001
  br label %542

542:                                              ; preds = %542, %539
  %543 = phi ptr [ %541, %539 ], [ %544, %542 ]
  %544 = getelementptr inbounds %"class.std::vector", ptr %543, i64 -1
  call void @_ZNSt6vectorIcSaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %544) #8
  %545 = icmp eq ptr %544, %540
  br i1 %545, label %546, label %542

546:                                              ; preds = %542
  call void @llvm.lifetime.end.p0(i64 240024, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #8
  %547 = load i32, ptr %12, align 4
  switch i32 %547, label %567 [
    i32 0, label %548
    i32 1, label %548
  ]

548:                                              ; preds = %546, %546, %53
  ret void

549:                                              ; preds = %537, %483
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  br label %550

550:                                              ; preds = %549, %302
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 1000001, ptr %27) #8
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %26) #8
  br label %551

551:                                              ; preds = %550, %284, %246
  call void @_ZNSt6vectorIS_IcSaIcEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %552

552:                                              ; preds = %551, %216, %109, %105
  call void @_ZNSt5queueIiSt5dequeIiSaIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %8) #8
  br label %553

553:                                              ; preds = %552, %101
  call void @llvm.lifetime.end.p0(i64 80, ptr %8) #8
  call void @_ZNSt5queueIP4NodeSt5dequeIS1_SaIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %5) #8
  br label %554

554:                                              ; preds = %553, %97
  call void @llvm.lifetime.end.p0(i64 80, ptr %5) #8
  %555 = getelementptr inbounds [10001 x %"class.std::vector"], ptr %4, i32 0, i32 0
  %556 = getelementptr inbounds %"class.std::vector", ptr %555, i64 10001
  br label %557

557:                                              ; preds = %557, %554
  %558 = phi ptr [ %556, %554 ], [ %559, %557 ]
  %559 = getelementptr inbounds %"class.std::vector", ptr %558, i64 -1
  call void @_ZNSt6vectorIcSaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %559) #8
  %560 = icmp eq ptr %559, %555
  br i1 %560, label %561, label %557

561:                                              ; preds = %557
  call void @llvm.lifetime.end.p0(i64 240024, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #8
  br label %562

562:                                              ; preds = %561
  %563 = load ptr, ptr %6, align 8
  %564 = load i32, ptr %7, align 4
  %565 = insertvalue { ptr, i32 } poison, ptr %563, 0
  %566 = insertvalue { ptr, i32 } %565, i32 %564, 1
  resume { ptr, i32 } %566

567:                                              ; preds = %546, %212
  unreachable
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5queueIP4NodeSt5dequeIS1_SaIS1_EEE4pushERKS1_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(8)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5queueIiSt5dequeIiSaIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 4 dereferenceable(4)) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt5queueIP4NodeSt5dequeIS1_SaIS1_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80)) #0 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5queueIP4NodeSt5dequeIS1_SaIS1_EEE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(8)) #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIS_IcSaIcEESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIcSaIcEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPcSt6vectorIcSaIcEEEEcEvT_S7_RKT0_(ptr, ptr, ptr noundef nonnull align 1 dereferenceable(1)) #6

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt23_Rb_tree_const_iteratorIiEppEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertEOi(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) #5 align 2

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

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

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

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

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

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

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

declare void @_ZN4NodeC1Eci(ptr, i8, i32)

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

!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 = !{!"int", !7, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"_ZTS4Node", !7, i64 0, !10, i64 4, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!13 = !{!12, !6, i64 8}
!14 = !{!12, !6, i64 16}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !6, i64 0}
!18 = !{!"_ZTS3BST", !6, i64 0}
!19 = !{!7, !7, i64 0}
!20 = distinct !{!20, !16}
!21 = !{!22, !22, i64 0}
!22 = !{!"bool", !7, i64 0}
!23 = distinct !{!23, !16}
!24 = distinct !{!24, !16}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = distinct !{!27, !16}
!28 = distinct !{!28, !16}
!29 = distinct !{!29, !16}
!30 = distinct !{!30, !16}
!31 = distinct !{!31, !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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::queue" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<Node *, std::allocator<Node *>>::_Deque_impl" }
%"struct.std::_Deque_base<Node *, std::allocator<Node *>>::_Deque_impl" = type { %"struct.std::_Deque_base<Node *, std::allocator<Node *>>::_Deque_impl_data" }
%"struct.std::_Deque_base<Node *, std::allocator<Node *>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::queue.3" = type { %"class.std::deque.4" }
%"class.std::deque.4" = type { %"class.std::_Deque_base.5" }
%"class.std::_Deque_base.5" = type { %"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl" }
%"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl" = type { %"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl_data" }
%"struct.std::_Deque_base<int, std::allocator<int>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator.9", %"struct.std::_Deque_iterator.9" }
%"struct.std::_Deque_iterator.9" = type { ptr, ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<std::vector<char>, std::allocator<std::vector<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<char>, std::allocator<std::vector<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<char>, std::allocator<std::vector<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<char>, std::allocator<std::vector<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_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::_Rb_tree_const_iterator" = type { ptr }

@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN3BST7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

; 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3BST11prettyPrintEv(ptr noundef nonnull align 8 dereferenceable(8) %0) local_unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca [10001 x %"class.std::vector"], align 16
  %3 = alloca %"class.std::queue", align 8
  %4 = alloca %"class.std::queue.3", align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::vector.10", align 8
  %13 = alloca i8, align 1
  %14 = alloca %"class.std::set", align 8
  %15 = alloca [1000001 x i8], align 16
  %16 = alloca i32, align 4
  %17 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %18 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %19 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %20 = alloca %"class.std::set", align 8
  %21 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %22 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca %"class.std::set", align 8
  %26 = tail call noundef zeroext i1 @_ZN3BST7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %0)
  br i1 %26, label %283, label %27

27:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 240024, ptr nonnull %2) #9
  br label %28

28:                                               ; preds = %28, %27
  %.idx = phi i64 [ 0, %27 ], [ %.add, %28 ]
  %.ptr = getelementptr inbounds i8, ptr %2, i64 %.idx
  call void @_ZNSt6vectorIcSaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %.ptr) #9
  %.add = add nuw nsw i64 %.idx, 24
  %29 = icmp eq i64 %.add, 240024
  br i1 %29, label %30, label %28

30:                                               ; preds = %28
  %31 = getelementptr inbounds i8, ptr %2, i64 240024
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %3) #9
  invoke void @_ZNSt5queueIP4NodeSt5dequeIS1_SaIS1_EEEC2IS4_vEEv(ptr noundef nonnull align 8 dereferenceable(80) %3)
          to label %32 unwind label %48

32:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %4) #9
  invoke void @_ZNSt5queueIiSt5dequeIiSaIiEEEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(80) %4)
          to label %33 unwind label %50

33:                                               ; preds = %32
  invoke void @_ZNSt5queueIP4NodeSt5dequeIS1_SaIS1_EEE4pushERKS1_(ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 8 dereferenceable(8) %0)
          to label %34 unwind label %52

34:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #9
  store i32 0, ptr %5, align 4, !tbaa !5
  invoke void @_ZNSt5queueIiSt5dequeIiSaIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(80) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %35 unwind label %54

35:                                               ; preds = %34
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #9
  %36 = call noundef zeroext i1 @_ZNKSt5queueIP4NodeSt5dequeIS1_SaIS1_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %3)
  br i1 %36, label %.thread.thread, label %.lr.ph

.lr.ph:                                           ; preds = %35, %104
  %.071133 = phi i32 [ %.1, %104 ], [ 0, %35 ]
  %37 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5queueIP4NodeSt5dequeIS1_SaIS1_EEE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) %3)
  %38 = load ptr, ptr %37, align 8, !tbaa !9
  %39 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5queueIiSt5dequeIiSaIiEEE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) %4)
  %40 = load i32, ptr %39, align 4, !tbaa !5
  call void @_ZNSt5queueIP4NodeSt5dequeIS1_SaIS1_EEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %3)
  call void @_ZNSt5queueIiSt5dequeIiSaIiEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %4)
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [10001 x %"class.std::vector"], ptr %2, i64 0, i64 %41
  invoke void @_ZNSt6vectorIcSaIcEE9push_backERKc(ptr noundef nonnull align 8 dereferenceable(24) %42, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %43 unwind label %56

43:                                               ; preds = %.lr.ph
  %44 = load i8, ptr %38, align 8, !tbaa !11
  %.not.not = icmp eq i8 %44, 32
  %45 = call i32 @llvm.smax.i32(i32 %40, i32 %.071133)
  %.1 = select i1 %.not.not, i32 %.071133, i32 %45
  %46 = add nuw nsw i32 %.1, 1
  %47 = icmp sgt i32 %40, %46
  %or.cond123 = select i1 %.not.not, i1 %47, i1 false
  br i1 %or.cond123, label %.thread, label %58

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

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

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

54:                                               ; preds = %34
  %55 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #9
  br label %286

56:                                               ; preds = %84, %61, %.lr.ph
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %286

58:                                               ; preds = %43
  %59 = getelementptr inbounds i8, ptr %38, i64 8
  %60 = load ptr, ptr %59, align 8, !tbaa !13
  %.not103 = icmp eq ptr %60, null
  br i1 %.not103, label %67, label %61

61:                                               ; preds = %58
  invoke void @_ZNSt5queueIP4NodeSt5dequeIS1_SaIS1_EEE4pushERKS1_(ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 8 dereferenceable(8) %60)
          to label %62 unwind label %56

62:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #9
  %63 = add nsw i32 %40, 1
  store i32 %63, ptr %6, align 4, !tbaa !5
  invoke void @_ZNSt5queueIiSt5dequeIiSaIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(80) %4, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %64 unwind label %65

64:                                               ; preds = %62
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #9
  br label %81

65:                                               ; preds = %62
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #9
  br label %286

67:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  %68 = invoke noalias noundef nonnull dereferenceable(40) ptr @_Znwm(i64 noundef 40) #10
          to label %69 unwind label %74

69:                                               ; preds = %67
  invoke void @_ZN4NodeC1Eci(ptr noundef nonnull align 8 dereferenceable(40) %68, i8 noundef signext 32, i32 noundef 0)
          to label %70 unwind label %76

70:                                               ; preds = %69
  store ptr %68, ptr %7, align 8, !tbaa !9
  invoke void @_ZNSt5queueIP4NodeSt5dequeIS1_SaIS1_EEE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %71 unwind label %74

71:                                               ; preds = %70
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #9
  %72 = add nsw i32 %40, 1
  store i32 %72, ptr %8, align 4, !tbaa !5
  invoke void @_ZNSt5queueIiSt5dequeIiSaIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(80) %4, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %73 unwind label %79

73:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #9
  br label %81

74:                                               ; preds = %70, %67
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %78

76:                                               ; preds = %69
  %77 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %68, i64 noundef 40) #11
  br label %78

78:                                               ; preds = %76, %74
  %.pn = phi { ptr, i32 } [ %75, %74 ], [ %77, %76 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  br label %286

79:                                               ; preds = %71
  %80 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #9
  br label %286

81:                                               ; preds = %73, %64
  %82 = getelementptr inbounds i8, ptr %38, i64 16
  %83 = load ptr, ptr %82, align 8, !tbaa !14
  %.not105 = icmp eq ptr %83, null
  br i1 %.not105, label %90, label %84

84:                                               ; preds = %81
  invoke void @_ZNSt5queueIP4NodeSt5dequeIS1_SaIS1_EEE4pushERKS1_(ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 8 dereferenceable(8) %83)
          to label %85 unwind label %56

85:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #9
  %86 = add nsw i32 %40, 1
  store i32 %86, ptr %9, align 4, !tbaa !5
  invoke void @_ZNSt5queueIiSt5dequeIiSaIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(80) %4, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %87 unwind label %88

87:                                               ; preds = %85
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #9
  br label %104

88:                                               ; preds = %85
  %89 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #9
  br label %286

90:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #9
  %91 = invoke noalias noundef nonnull dereferenceable(40) ptr @_Znwm(i64 noundef 40) #10
          to label %92 unwind label %97

92:                                               ; preds = %90
  invoke void @_ZN4NodeC1Eci(ptr noundef nonnull align 8 dereferenceable(40) %91, i8 noundef signext 32, i32 noundef 0)
          to label %93 unwind label %99

93:                                               ; preds = %92
  store ptr %91, ptr %10, align 8, !tbaa !9
  invoke void @_ZNSt5queueIP4NodeSt5dequeIS1_SaIS1_EEE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %94 unwind label %97

94:                                               ; preds = %93
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #9
  %95 = add nsw i32 %40, 1
  store i32 %95, ptr %11, align 4, !tbaa !5
  invoke void @_ZNSt5queueIiSt5dequeIiSaIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(80) %4, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %96 unwind label %102

96:                                               ; preds = %94
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #9
  br label %104

97:                                               ; preds = %93, %90
  %98 = landingpad { ptr, i32 }
          cleanup
  br label %101

99:                                               ; preds = %92
  %100 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %91, i64 noundef 40) #11
  br label %101

101:                                              ; preds = %99, %97
  %.pn106 = phi { ptr, i32 } [ %98, %97 ], [ %100, %99 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  br label %286

102:                                              ; preds = %94
  %103 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #9
  br label %286

104:                                              ; preds = %87, %96
  %105 = call noundef zeroext i1 @_ZNKSt5queueIP4NodeSt5dequeIS1_SaIS1_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %3)
  br i1 %105, label %.thread, label %.lr.ph

.thread:                                          ; preds = %104, %43
  %106 = icmp eq i32 %.1, 0
  br i1 %106, label %.thread.thread, label %111

.thread.thread:                                   ; preds = %35, %.thread
  %107 = load ptr, ptr %0, align 8, !tbaa !15
  %108 = load i8, ptr %107, align 8, !tbaa !11
  %109 = sext i8 %108 to i32
  %110 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %109)
  br label %277

111:                                              ; preds = %.thread
  %112 = shl nuw i32 1, %.1
  %113 = add i32 %112, %.1
  %114 = shl nuw i32 2, %.1
  %115 = add i32 %114, -1
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #9
  call void @_ZNSt6vectorIS_IcSaIcEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  %116 = add nsw i32 %113, 5
  %117 = sext i32 %116 to i64
  invoke void @_ZNSt6vectorIS_IcSaIcEESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %117)
          to label %.preheader126 unwind label %122

.preheader126:                                    ; preds = %111
  %118 = icmp sgt i32 %113, 0
  br i1 %118, label %.lr.ph137, label %._crit_edge

.lr.ph137:                                        ; preds = %.preheader126
  %119 = add nuw nsw i32 %114, 4
  %120 = sext i32 %119 to i64
  %wide.trip.count = zext nneg i32 %113 to i64
  br label %124

._crit_edge:                                      ; preds = %131, %.preheader126
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %14) #9
  call void @_ZNSt3setIiSt4lessIiESaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #9
  call void @llvm.lifetime.start.p0(i64 1000001, ptr nonnull %15) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #9
  store i32 0, ptr %16, align 4, !tbaa !5
  %121 = icmp sgt i32 %114, 1
  br i1 %121, label %.lr.ph139, label %._crit_edge140

122:                                              ; preds = %111
  %123 = landingpad { ptr, i32 }
          cleanup
  br label %285

124:                                              ; preds = %.lr.ph137, %131
  %indvars.iv = phi i64 [ 0, %.lr.ph137 ], [ %indvars.iv.next, %131 ]
  %125 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %indvars.iv) #9
  invoke void @_ZNSt6vectorIcSaIcEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %125, i64 noundef %120)
          to label %126 unwind label %132

126:                                              ; preds = %124
  %127 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %indvars.iv) #9
  %128 = call ptr @_ZNSt6vectorIcSaIcEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %127) #9
  %129 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %indvars.iv) #9
  %130 = call ptr @_ZNSt6vectorIcSaIcEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %129) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #9
  store i8 32, ptr %13, align 1, !tbaa !17
  invoke void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPcSt6vectorIcSaIcEEEEcEvT_S7_RKT0_(ptr %128, ptr %130, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %131 unwind label %134

131:                                              ; preds = %126
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %124, !llvm.loop !18

132:                                              ; preds = %124
  %133 = landingpad { ptr, i32 }
          cleanup
  br label %285

134:                                              ; preds = %126
  %135 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #9
  br label %285

.lr.ph139:                                        ; preds = %._crit_edge, %137
  %136 = invoke { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48) %14, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %137 unwind label %143

137:                                              ; preds = %.lr.ph139
  %138 = load i32, ptr %16, align 4, !tbaa !5
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds [1000001 x i8], ptr %15, i64 0, i64 %139
  store i8 0, ptr %140, align 1, !tbaa !20
  %141 = add nsw i32 %138, 2
  store i32 %141, ptr %16, align 4, !tbaa !5
  %142 = icmp slt i32 %141, %115
  br i1 %142, label %.lr.ph139, label %._crit_edge140, !llvm.loop !22

143:                                              ; preds = %.lr.ph139
  %144 = landingpad { ptr, i32 }
          cleanup
  br label %284

._crit_edge140:                                   ; preds = %137, %._crit_edge
  %145 = add nsw i32 %113, -1
  br label %166

146:                                              ; preds = %._crit_edge153
  %147 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #9
  %148 = load i8, ptr %147, align 1, !tbaa !17
  %149 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 0) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #9
  %150 = call ptr @_ZNKSt3setIiSt4lessIiESaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %14) #9
  store ptr %150, ptr %17, align 8
  %151 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #9
  %152 = load i32, ptr %151, align 4, !tbaa !5
  %153 = sext i32 %152 to i64
  %154 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %149, i64 noundef %153) #9
  store i8 %148, ptr %154, align 1, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  br i1 %118, label %.preheader.lr.ph, label %._crit_edge162

.preheader.lr.ph:                                 ; preds = %146
  br i1 %121, label %.preheader.us.preheader, label %.preheader

.preheader.us.preheader:                          ; preds = %.preheader.lr.ph
  %155 = zext nneg i32 %145 to i64
  %wide.trip.count193 = zext nneg i32 %113 to i64
  %wide.trip.count188 = zext i32 %115 to i64
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us.preheader, %158
  %indvars.iv190 = phi i64 [ 0, %.preheader.us.preheader ], [ %indvars.iv.next191, %158 ]
  br label %159

156:                                              ; preds = %._crit_edge160.us
  %157 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  br label %158

158:                                              ; preds = %156, %._crit_edge160.us
  %indvars.iv.next191 = add nuw nsw i64 %indvars.iv190, 1
  %exitcond194.not = icmp eq i64 %indvars.iv.next191, %wide.trip.count193
  br i1 %exitcond194.not, label %._crit_edge162, label %.preheader.us, !llvm.loop !23

159:                                              ; preds = %.preheader.us, %159
  %indvars.iv185 = phi i64 [ 0, %.preheader.us ], [ %indvars.iv.next186, %159 ]
  %160 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %indvars.iv190) #9
  %161 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %160, i64 noundef %indvars.iv185) #9
  %162 = load i8, ptr %161, align 1, !tbaa !17
  %163 = sext i8 %162 to i32
  %164 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %163)
  %indvars.iv.next186 = add nuw nsw i64 %indvars.iv185, 1
  %exitcond189.not = icmp eq i64 %indvars.iv.next186, %wide.trip.count188
  br i1 %exitcond189.not, label %._crit_edge160.us, label %159, !llvm.loop !24

._crit_edge160.us:                                ; preds = %159
  %165 = icmp ult i64 %indvars.iv190, %155
  br i1 %165, label %156, label %158

166:                                              ; preds = %._crit_edge140, %._crit_edge153
  %.088157 = phi i32 [ %145, %._crit_edge140 ], [ %.189.lcssa, %._crit_edge153 ]
  %.091156 = phi i32 [ 0, %._crit_edge140 ], [ %269, %._crit_edge153 ]
  %.093155 = phi i32 [ %.1, %._crit_edge140 ], [ %270, %._crit_edge153 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #9
  %167 = call ptr @_ZNKSt3setIiSt4lessIiESaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %14) #9
  store ptr %167, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #9
  %168 = call ptr @_ZNKSt3setIiSt4lessIiESaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %14) #9
  store ptr %168, ptr %19, align 8
  %169 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIiES2_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  br i1 %169, label %.lr.ph143, label %._crit_edge144

.lr.ph143:                                        ; preds = %166
  %170 = zext nneg i32 %.093155 to i64
  %171 = getelementptr inbounds [10001 x %"class.std::vector"], ptr %2, i64 0, i64 %170
  %172 = sext i32 %.088157 to i64
  br label %175

._crit_edge144:                                   ; preds = %190, %166
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #9
  %.189148 = add i32 %.088157, -1
  %.not = icmp eq i32 %.091156, 31
  br i1 %.not, label %._crit_edge153, label %.lr.ph152.preheader

.lr.ph152.preheader:                              ; preds = %._crit_edge144
  %173 = shl nuw nsw i32 1, %.091156
  %174 = sext i32 %.189148 to i64
  br label %.lr.ph152

175:                                              ; preds = %.lr.ph143, %190
  %indvars.iv177 = phi i64 [ 0, %.lr.ph143 ], [ %indvars.iv.next178, %190 ]
  %176 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %171, i64 noundef %indvars.iv177) #9
  %177 = load i8, ptr %176, align 1, !tbaa !17
  %178 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %172) #9
  %179 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #9
  %180 = load i32, ptr %179, align 4, !tbaa !5
  %181 = sext i32 %180 to i64
  %182 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %178, i64 noundef %181) #9
  store i8 %177, ptr %182, align 1, !tbaa !17
  %indvars.iv.next178 = add nuw nsw i64 %indvars.iv177, 1
  %183 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %171, i64 noundef %indvars.iv177) #9
  %184 = load i8, ptr %183, align 1, !tbaa !17
  %.not113 = icmp eq i8 %184, 32
  br i1 %.not113, label %190, label %185

185:                                              ; preds = %175
  %186 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #9
  %187 = load i32, ptr %186, align 4, !tbaa !5
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds [1000001 x i8], ptr %15, i64 0, i64 %188
  store i8 1, ptr %189, align 1, !tbaa !20
  br label %190

190:                                              ; preds = %175, %185
  %191 = call ptr @_ZNSt23_Rb_tree_const_iteratorIiEppEi(ptr noundef nonnull align 8 dereferenceable(8) %18, i32 noundef 0) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #9
  %192 = call ptr @_ZNKSt3setIiSt4lessIiESaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %14) #9
  store ptr %192, ptr %19, align 8
  %193 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIiES2_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  br i1 %193, label %175, label %._crit_edge144, !llvm.loop !25

.lr.ph152:                                        ; preds = %.lr.ph152.preheader, %262
  %indvars.iv180 = phi i64 [ %174, %.lr.ph152.preheader ], [ %indvars.iv.next181, %262 ]
  %.090149 = phi i32 [ 0, %.lr.ph152.preheader ], [ %263, %262 ]
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %20) #9
  call void @_ZNSt3setIiSt4lessIiESaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #9
  %194 = call ptr @_ZNKSt3setIiSt4lessIiESaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %14) #9
  store ptr %194, ptr %21, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #9
  %195 = call ptr @_ZNKSt3setIiSt4lessIiESaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %14) #9
  store ptr %195, ptr %22, align 8
  %196 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIiES2_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #9
  br i1 %196, label %.lr.ph146, label %._crit_edge147

._crit_edge147:                                   ; preds = %257, %.lr.ph152
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %25) #9
  invoke void @_ZNSt3setIiSt4lessIiESaIiEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(48) %25, ptr noundef nonnull align 8 dereferenceable(48) %20)
          to label %262 unwind label %265

.lr.ph146:                                        ; preds = %.lr.ph152, %257
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #9
  %197 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  %198 = load i32, ptr %197, align 4, !tbaa !5
  %199 = add nsw i32 %198, 1
  store i32 %199, ptr %23, align 4, !tbaa !5
  %200 = invoke { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertEOi(ptr noundef nonnull align 8 dereferenceable(48) %20, ptr noundef nonnull align 4 dereferenceable(4) %23)
          to label %201 unwind label %224

201:                                              ; preds = %.lr.ph146
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #9
  %202 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  %203 = load i32, ptr %202, align 4, !tbaa !5
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds [1000001 x i8], ptr %15, i64 0, i64 %204
  %206 = load i8, ptr %205, align 1, !tbaa !20, !range !26, !noundef !27
  %207 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  %208 = load i32, ptr %207, align 4, !tbaa !5
  %209 = add nsw i32 %208, 1
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds [1000001 x i8], ptr %15, i64 0, i64 %210
  store i8 %206, ptr %211, align 1, !tbaa !20
  %212 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  %213 = load i32, ptr %212, align 4, !tbaa !5
  %214 = sext i32 %213 to i64
  %215 = getelementptr inbounds [1000001 x i8], ptr %15, i64 0, i64 %214
  %216 = load i8, ptr %215, align 1, !tbaa !20, !range !26, !noundef !27
  %217 = trunc nuw i8 %216 to i1
  br i1 %217, label %218, label %226

218:                                              ; preds = %201
  %219 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %indvars.iv180) #9
  %220 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  %221 = load i32, ptr %220, align 4, !tbaa !5
  %222 = sext i32 %221 to i64
  %223 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %219, i64 noundef %222) #9
  store i8 47, ptr %223, align 1, !tbaa !17
  br label %226

224:                                              ; preds = %.lr.ph146
  %225 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #9
  br label %261

226:                                              ; preds = %218, %201
  %227 = call ptr @_ZNSt23_Rb_tree_const_iteratorIiEppEi(ptr noundef nonnull align 8 dereferenceable(8) %21, i32 noundef 0) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #9
  %228 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  %229 = load i32, ptr %228, align 4, !tbaa !5
  %230 = add nsw i32 %229, -1
  store i32 %230, ptr %24, align 4, !tbaa !5
  %231 = invoke { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertEOi(ptr noundef nonnull align 8 dereferenceable(48) %20, ptr noundef nonnull align 4 dereferenceable(4) %24)
          to label %232 unwind label %255

232:                                              ; preds = %226
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #9
  %233 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  %234 = load i32, ptr %233, align 4, !tbaa !5
  %235 = sext i32 %234 to i64
  %236 = getelementptr inbounds [1000001 x i8], ptr %15, i64 0, i64 %235
  %237 = load i8, ptr %236, align 1, !tbaa !20, !range !26, !noundef !27
  %238 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  %239 = load i32, ptr %238, align 4, !tbaa !5
  %240 = add nsw i32 %239, -1
  %241 = sext i32 %240 to i64
  %242 = getelementptr inbounds [1000001 x i8], ptr %15, i64 0, i64 %241
  store i8 %237, ptr %242, align 1, !tbaa !20
  %243 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  %244 = load i32, ptr %243, align 4, !tbaa !5
  %245 = sext i32 %244 to i64
  %246 = getelementptr inbounds [1000001 x i8], ptr %15, i64 0, i64 %245
  %247 = load i8, ptr %246, align 1, !tbaa !20, !range !26, !noundef !27
  %248 = trunc nuw i8 %247 to i1
  br i1 %248, label %249, label %257

249:                                              ; preds = %232
  %250 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %indvars.iv180) #9
  %251 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt23_Rb_tree_const_iteratorIiEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  %252 = load i32, ptr %251, align 4, !tbaa !5
  %253 = sext i32 %252 to i64
  %254 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %250, i64 noundef %253) #9
  store i8 92, ptr %254, align 1, !tbaa !17
  br label %257

255:                                              ; preds = %226
  %256 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #9
  br label %261

257:                                              ; preds = %249, %232
  %258 = call ptr @_ZNSt23_Rb_tree_const_iteratorIiEppEi(ptr noundef nonnull align 8 dereferenceable(8) %21, i32 noundef 0) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #9
  %259 = call ptr @_ZNKSt3setIiSt4lessIiESaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %14) #9
  store ptr %259, ptr %22, align 8
  %260 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIiES2_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #9
  br i1 %260, label %.lr.ph146, label %._crit_edge147, !llvm.loop !28

261:                                              ; preds = %255, %224
  %.pn110 = phi { ptr, i32 } [ %256, %255 ], [ %225, %224 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  br label %267

262:                                              ; preds = %._crit_edge147
  %263 = add nuw nsw i32 %.090149, 1
  %264 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3setIiSt4lessIiESaIiEEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(48) %14, ptr noundef nonnull align 8 dereferenceable(48) %25) #9
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %25) #9
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %20) #9
  %indvars.iv.next181 = add nsw i64 %indvars.iv180, -1
  %exitcond183.not = icmp eq i32 %263, %173
  br i1 %exitcond183.not, label %._crit_edge153.loopexit, label %.lr.ph152, !llvm.loop !29

265:                                              ; preds = %._crit_edge147
  %266 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %25) #9
  br label %267

267:                                              ; preds = %265, %261
  %.pn110.pn = phi { ptr, i32 } [ %.pn110, %261 ], [ %266, %265 ]
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %20) #9
  br label %284

._crit_edge153.loopexit:                          ; preds = %262
  %268 = trunc nsw i64 %indvars.iv.next181 to i32
  br label %._crit_edge153

._crit_edge153:                                   ; preds = %._crit_edge153.loopexit, %._crit_edge144
  %.189.lcssa = phi i32 [ %.189148, %._crit_edge144 ], [ %268, %._crit_edge153.loopexit ]
  %269 = add nuw nsw i32 %.091156, 1
  %270 = add nsw i32 %.093155, -1
  %271 = icmp eq i32 %270, 0
  br i1 %271, label %146, label %166, !llvm.loop !30

.preheader:                                       ; preds = %.preheader.lr.ph, %275
  %.070161 = phi i32 [ %276, %275 ], [ 0, %.preheader.lr.ph ]
  %272 = icmp slt i32 %.070161, %145
  br i1 %272, label %273, label %275

._crit_edge162:                                   ; preds = %275, %158, %146
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 1000001, ptr nonnull %15) #9
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %14) #9
  call void @_ZNSt6vectorIS_IcSaIcEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #9
  br label %277

273:                                              ; preds = %.preheader
  %274 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  br label %275

275:                                              ; preds = %.preheader, %273
  %276 = add nuw nsw i32 %.070161, 1
  %exitcond184.not = icmp eq i32 %276, %113
  br i1 %exitcond184.not, label %._crit_edge162, label %.preheader, !llvm.loop !23

277:                                              ; preds = %._crit_edge162, %.thread.thread
  call void @_ZNSt5queueIiSt5dequeIiSaIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %4) #9
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %4) #9
  call void @_ZNSt5queueIP4NodeSt5dequeIS1_SaIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %3) #9
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %3) #9
  br label %278

278:                                              ; preds = %278, %277
  %279 = phi ptr [ %31, %277 ], [ %280, %278 ]
  %280 = getelementptr inbounds i8, ptr %279, i64 -24
  call void @_ZNSt6vectorIcSaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %280) #9
  %281 = icmp eq ptr %280, %2
  br i1 %281, label %282, label %278

282:                                              ; preds = %278
  call void @llvm.lifetime.end.p0(i64 240024, ptr nonnull %2) #9
  br label %283

283:                                              ; preds = %1, %282
  ret void

284:                                              ; preds = %267, %143
  %.pn114 = phi { ptr, i32 } [ %144, %143 ], [ %.pn110.pn, %267 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 1000001, ptr nonnull %15) #9
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %14) #9
  br label %285

285:                                              ; preds = %132, %134, %284, %122
  %.pn116.pn = phi { ptr, i32 } [ %.pn114, %284 ], [ %123, %122 ], [ %135, %134 ], [ %133, %132 ]
  call void @_ZNSt6vectorIS_IcSaIcEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #9
  br label %286

286:                                              ; preds = %56, %65, %78, %79, %88, %101, %102, %285, %54, %52
  %.pn116.pn.pn = phi { ptr, i32 } [ %.pn116.pn, %285 ], [ %55, %54 ], [ %53, %52 ], [ %89, %88 ], [ %57, %56 ], [ %103, %102 ], [ %.pn106, %101 ], [ %66, %65 ], [ %80, %79 ], [ %.pn, %78 ]
  call void @_ZNSt5queueIiSt5dequeIiSaIiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %4) #9
  br label %287

287:                                              ; preds = %286, %50
  %.pn116.pn.pn.pn = phi { ptr, i32 } [ %.pn116.pn.pn, %286 ], [ %51, %50 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %4) #9
  call void @_ZNSt5queueIP4NodeSt5dequeIS1_SaIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %3) #9
  br label %288

288:                                              ; preds = %287, %48
  %.pn116.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn116.pn.pn.pn, %287 ], [ %49, %48 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %3) #9
  br label %289

289:                                              ; preds = %289, %288
  %290 = phi ptr [ %31, %288 ], [ %291, %289 ]
  %291 = getelementptr inbounds i8, ptr %290, i64 -24
  call void @_ZNSt6vectorIcSaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %291) #9
  %292 = icmp eq ptr %291, %2
  br i1 %292, label %293, label %289

293:                                              ; preds = %289
  call void @llvm.lifetime.end.p0(i64 240024, ptr nonnull %2) #9
  resume { ptr, i32 } %.pn116.pn.pn.pn.pn
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5queueIP4NodeSt5dequeIS1_SaIS1_EEE4pushERKS1_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5queueIiSt5dequeIiSaIiEEE4pushEOi(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt5queueIP4NodeSt5dequeIS1_SaIS1_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt5queueIP4NodeSt5dequeIS1_SaIS1_EEE3popEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt5queueIiSt5dequeIiSaIiEEE3popEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5queueIP4NodeSt5dequeIS1_SaIS1_EEE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIS_IcSaIcEESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIcSaIcEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPcSt6vectorIcSaIcEEEEcEvT_S7_RKT0_(ptr, ptr, ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #6

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt23_Rb_tree_const_iteratorIiEppEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertEOi(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5 align 2

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

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

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

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

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

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

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

declare void @_ZN4NodeC1Eci(ptr, i8, i32) local_unnamed_addr

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #8

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nofree 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 #5 = { 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 #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { builtin 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 = !{!12, !7, i64 0}
!12 = !{!"_ZTS4Node", !7, i64 0, !6, i64 4, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!13 = !{!12, !10, i64 8}
!14 = !{!12, !10, i64 16}
!15 = !{!16, !10, i64 0}
!16 = !{!"_ZTS3BST", !10, i64 0}
!17 = !{!7, !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !21, i64 0}
!21 = !{!"bool", !7, i64 0}
!22 = distinct !{!22, !19}
!23 = distinct !{!23, !19}
!24 = distinct !{!24, !19}
!25 = distinct !{!25, !19}
!26 = !{i8 0, i8 2}
!27 = !{}
!28 = distinct !{!28, !19}
!29 = distinct !{!29, !19}
!30 = distinct !{!30, !19}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass