; LLVM IR from tangjz/acm-icpc :: luogu (1379)

; 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"

%struct.Node = type { [3 x [3 x i32]], i32, i32, i32 }
%"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 }

@tmp = external dso_local global %struct.Node, align 4
@now = external dso_local global %struct.Node, align 4
@Q = external dso_local global %"class.std::queue", align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca [10 x i8], align 1
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 10, ptr %2) #6
  %7 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0
  %8 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %7)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %9

9:                                                ; preds = %40, %0
  %10 = load i32, ptr %3, align 4, !tbaa !5
  %11 = icmp slt i32 %10, 9
  br i1 %11, label %13, label %12

12:                                               ; preds = %9
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  br label %43

13:                                               ; preds = %9
  %14 = load i32, ptr %3, align 4, !tbaa !5
  %15 = sext i32 %14 to i64
  %16 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %15
  %17 = load i8, ptr %16, align 1, !tbaa !9
  %18 = sext i8 %17 to i32
  %19 = sub nsw i32 %18, 48
  %20 = load i32, ptr %3, align 4, !tbaa !5
  %21 = sdiv i32 %20, 3
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds [3 x [3 x i32]], ptr @now, i64 0, i64 %22
  %24 = load i32, ptr %3, align 4, !tbaa !5
  %25 = srem i32 %24, 3
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds [3 x i32], ptr %23, i64 0, i64 %26
  store i32 %19, ptr %27, align 4, !tbaa !5
  %28 = load i32, ptr %3, align 4, !tbaa !5
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 %29
  %31 = load i8, ptr %30, align 1, !tbaa !9
  %32 = sext i8 %31 to i32
  %33 = icmp eq i32 %32, 48
  br i1 %33, label %34, label %39

34:                                               ; preds = %13
  %35 = load i32, ptr %3, align 4, !tbaa !5
  %36 = sdiv i32 %35, 3
  store i32 %36, ptr getelementptr inbounds (%struct.Node, ptr @now, i32 0, i32 1), align 4, !tbaa !10
  %37 = load i32, ptr %3, align 4, !tbaa !5
  %38 = srem i32 %37, 3
  store i32 %38, ptr getelementptr inbounds (%struct.Node, ptr @now, i32 0, i32 2), align 4, !tbaa !12
  br label %39

39:                                               ; preds = %34, %13
  br label %40

40:                                               ; preds = %39
  %41 = load i32, ptr %3, align 4, !tbaa !5
  %42 = add nsw i32 %41, 1
  store i32 %42, ptr %3, align 4, !tbaa !5
  br label %9, !llvm.loop !13

43:                                               ; preds = %12
  %44 = call noundef zeroext i1 @_ZN4Node5checkEv(ptr noundef nonnull align 4 dereferenceable(48) @now)
  br i1 %44, label %45, label %46

45:                                               ; preds = %43
  br label %203

46:                                               ; preds = %43
  %47 = call noundef zeroext i1 @_ZN4Node4hashEv(ptr noundef nonnull align 4 dereferenceable(48) @now)
  call void @_ZNSt5queueI4NodeSt5dequeIS0_SaIS0_EEE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(80) @Q, ptr noundef nonnull align 4 dereferenceable(48) @now)
  br label %48

48:                                               ; preds = %201, %46
  %49 = call noundef zeroext i1 @_ZNKSt5queueI4NodeSt5dequeIS0_SaIS0_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) @Q)
  %50 = xor i1 %49, true
  br i1 %50, label %51, label %202

51:                                               ; preds = %48
  %52 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZNSt5queueI4NodeSt5dequeIS0_SaIS0_EEE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) @Q)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 @tmp, ptr align 4 %52, i64 48, i1 false), !tbaa.struct !15
  call void @_ZNSt5queueI4NodeSt5dequeIS0_SaIS0_EEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) @Q)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  %53 = load i32, ptr getelementptr inbounds (%struct.Node, ptr @tmp, i32 0, i32 1), align 4, !tbaa !10
  store i32 %53, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  %54 = load i32, ptr getelementptr inbounds (%struct.Node, ptr @tmp, i32 0, i32 2), align 4, !tbaa !12
  store i32 %54, ptr %5, align 4, !tbaa !5
  %55 = load i32, ptr %4, align 4, !tbaa !5
  %56 = sub nsw i32 %55, 1
  %57 = icmp sge i32 %56, 0
  br i1 %57, label %58, label %90

58:                                               ; preds = %51
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 @now, ptr align 4 @tmp, i64 48, i1 false), !tbaa.struct !15
  %59 = load i32, ptr %4, align 4, !tbaa !5
  %60 = sub nsw i32 %59, 1
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [3 x [3 x i32]], ptr @now, i64 0, i64 %61
  %63 = load i32, ptr %5, align 4, !tbaa !5
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [3 x i32], ptr %62, i64 0, i64 %64
  %66 = load i32, ptr %65, align 4, !tbaa !5
  %67 = load i32, ptr %4, align 4, !tbaa !5
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [3 x [3 x i32]], ptr @now, i64 0, i64 %68
  %70 = load i32, ptr %5, align 4, !tbaa !5
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [3 x i32], ptr %69, i64 0, i64 %71
  store i32 %66, ptr %72, align 4, !tbaa !5
  %73 = load i32, ptr %4, align 4, !tbaa !5
  %74 = sub nsw i32 %73, 1
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds [3 x [3 x i32]], ptr @now, i64 0, i64 %75
  %77 = load i32, ptr %5, align 4, !tbaa !5
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [3 x i32], ptr %76, i64 0, i64 %78
  store i32 0, ptr %79, align 4, !tbaa !5
  %80 = call noundef zeroext i1 @_ZN4Node4hashEv(ptr noundef nonnull align 4 dereferenceable(48) @now)
  br i1 %80, label %81, label %89

81:                                               ; preds = %58
  %82 = load i32, ptr getelementptr inbounds (%struct.Node, ptr @now, i32 0, i32 3), align 4, !tbaa !16
  %83 = add nsw i32 %82, 1
  store i32 %83, ptr getelementptr inbounds (%struct.Node, ptr @now, i32 0, i32 3), align 4, !tbaa !16
  %84 = call noundef zeroext i1 @_ZN4Node5checkEv(ptr noundef nonnull align 4 dereferenceable(48) @now)
  br i1 %84, label %85, label %86

85:                                               ; preds = %81
  store i32 5, ptr %6, align 4
  br label %199

86:                                               ; preds = %81
  %87 = load i32, ptr getelementptr inbounds (%struct.Node, ptr @now, i32 0, i32 1), align 4, !tbaa !10
  %88 = add nsw i32 %87, -1
  store i32 %88, ptr getelementptr inbounds (%struct.Node, ptr @now, i32 0, i32 1), align 4, !tbaa !10
  call void @_ZNSt5queueI4NodeSt5dequeIS0_SaIS0_EEE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(80) @Q, ptr noundef nonnull align 4 dereferenceable(48) @now)
  br label %89

89:                                               ; preds = %86, %58
  br label %90

90:                                               ; preds = %89, %51
  %91 = load i32, ptr %5, align 4, !tbaa !5
  %92 = sub nsw i32 %91, 1
  %93 = icmp sge i32 %92, 0
  br i1 %93, label %94, label %126

94:                                               ; preds = %90
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 @now, ptr align 4 @tmp, i64 48, i1 false), !tbaa.struct !15
  %95 = load i32, ptr %4, align 4, !tbaa !5
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds [3 x [3 x i32]], ptr @now, i64 0, i64 %96
  %98 = load i32, ptr %5, align 4, !tbaa !5
  %99 = sub nsw i32 %98, 1
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds [3 x i32], ptr %97, i64 0, i64 %100
  %102 = load i32, ptr %101, align 4, !tbaa !5
  %103 = load i32, ptr %4, align 4, !tbaa !5
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds [3 x [3 x i32]], ptr @now, i64 0, i64 %104
  %106 = load i32, ptr %5, align 4, !tbaa !5
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds [3 x i32], ptr %105, i64 0, i64 %107
  store i32 %102, ptr %108, align 4, !tbaa !5
  %109 = load i32, ptr %4, align 4, !tbaa !5
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds [3 x [3 x i32]], ptr @now, i64 0, i64 %110
  %112 = load i32, ptr %5, align 4, !tbaa !5
  %113 = sub nsw i32 %112, 1
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds [3 x i32], ptr %111, i64 0, i64 %114
  store i32 0, ptr %115, align 4, !tbaa !5
  %116 = call noundef zeroext i1 @_ZN4Node4hashEv(ptr noundef nonnull align 4 dereferenceable(48) @now)
  br i1 %116, label %117, label %125

117:                                              ; preds = %94
  %118 = load i32, ptr getelementptr inbounds (%struct.Node, ptr @now, i32 0, i32 3), align 4, !tbaa !16
  %119 = add nsw i32 %118, 1
  store i32 %119, ptr getelementptr inbounds (%struct.Node, ptr @now, i32 0, i32 3), align 4, !tbaa !16
  %120 = call noundef zeroext i1 @_ZN4Node5checkEv(ptr noundef nonnull align 4 dereferenceable(48) @now)
  br i1 %120, label %121, label %122

121:                                              ; preds = %117
  store i32 5, ptr %6, align 4
  br label %199

122:                                              ; preds = %117
  %123 = load i32, ptr getelementptr inbounds (%struct.Node, ptr @now, i32 0, i32 2), align 4, !tbaa !12
  %124 = add nsw i32 %123, -1
  store i32 %124, ptr getelementptr inbounds (%struct.Node, ptr @now, i32 0, i32 2), align 4, !tbaa !12
  call void @_ZNSt5queueI4NodeSt5dequeIS0_SaIS0_EEE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(80) @Q, ptr noundef nonnull align 4 dereferenceable(48) @now)
  br label %125

125:                                              ; preds = %122, %94
  br label %126

126:                                              ; preds = %125, %90
  %127 = load i32, ptr %4, align 4, !tbaa !5
  %128 = add nsw i32 %127, 1
  %129 = icmp slt i32 %128, 3
  br i1 %129, label %130, label %162

130:                                              ; preds = %126
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 @now, ptr align 4 @tmp, i64 48, i1 false), !tbaa.struct !15
  %131 = load i32, ptr %4, align 4, !tbaa !5
  %132 = add nsw i32 %131, 1
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [3 x [3 x i32]], ptr @now, i64 0, i64 %133
  %135 = load i32, ptr %5, align 4, !tbaa !5
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds [3 x i32], ptr %134, i64 0, i64 %136
  %138 = load i32, ptr %137, align 4, !tbaa !5
  %139 = load i32, ptr %4, align 4, !tbaa !5
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds [3 x [3 x i32]], ptr @now, i64 0, i64 %140
  %142 = load i32, ptr %5, align 4, !tbaa !5
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds [3 x i32], ptr %141, i64 0, i64 %143
  store i32 %138, ptr %144, align 4, !tbaa !5
  %145 = load i32, ptr %4, align 4, !tbaa !5
  %146 = add nsw i32 %145, 1
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds [3 x [3 x i32]], ptr @now, i64 0, i64 %147
  %149 = load i32, ptr %5, align 4, !tbaa !5
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds [3 x i32], ptr %148, i64 0, i64 %150
  store i32 0, ptr %151, align 4, !tbaa !5
  %152 = call noundef zeroext i1 @_ZN4Node4hashEv(ptr noundef nonnull align 4 dereferenceable(48) @now)
  br i1 %152, label %153, label %161

153:                                              ; preds = %130
  %154 = load i32, ptr getelementptr inbounds (%struct.Node, ptr @now, i32 0, i32 3), align 4, !tbaa !16
  %155 = add nsw i32 %154, 1
  store i32 %155, ptr getelementptr inbounds (%struct.Node, ptr @now, i32 0, i32 3), align 4, !tbaa !16
  %156 = call noundef zeroext i1 @_ZN4Node5checkEv(ptr noundef nonnull align 4 dereferenceable(48) @now)
  br i1 %156, label %157, label %158

157:                                              ; preds = %153
  store i32 5, ptr %6, align 4
  br label %199

158:                                              ; preds = %153
  %159 = load i32, ptr getelementptr inbounds (%struct.Node, ptr @now, i32 0, i32 1), align 4, !tbaa !10
  %160 = add nsw i32 %159, 1
  store i32 %160, ptr getelementptr inbounds (%struct.Node, ptr @now, i32 0, i32 1), align 4, !tbaa !10
  call void @_ZNSt5queueI4NodeSt5dequeIS0_SaIS0_EEE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(80) @Q, ptr noundef nonnull align 4 dereferenceable(48) @now)
  br label %161

161:                                              ; preds = %158, %130
  br label %162

162:                                              ; preds = %161, %126
  %163 = load i32, ptr %5, align 4, !tbaa !5
  %164 = add nsw i32 %163, 1
  %165 = icmp slt i32 %164, 3
  br i1 %165, label %166, label %198

166:                                              ; preds = %162
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 @now, ptr align 4 @tmp, i64 48, i1 false), !tbaa.struct !15
  %167 = load i32, ptr %4, align 4, !tbaa !5
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds [3 x [3 x i32]], ptr @now, i64 0, i64 %168
  %170 = load i32, ptr %5, align 4, !tbaa !5
  %171 = add nsw i32 %170, 1
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds [3 x i32], ptr %169, i64 0, i64 %172
  %174 = load i32, ptr %173, align 4, !tbaa !5
  %175 = load i32, ptr %4, align 4, !tbaa !5
  %176 = sext i32 %175 to i64
  %177 = getelementptr inbounds [3 x [3 x i32]], ptr @now, i64 0, i64 %176
  %178 = load i32, ptr %5, align 4, !tbaa !5
  %179 = sext i32 %178 to i64
  %180 = getelementptr inbounds [3 x i32], ptr %177, i64 0, i64 %179
  store i32 %174, ptr %180, align 4, !tbaa !5
  %181 = load i32, ptr %4, align 4, !tbaa !5
  %182 = sext i32 %181 to i64
  %183 = getelementptr inbounds [3 x [3 x i32]], ptr @now, i64 0, i64 %182
  %184 = load i32, ptr %5, align 4, !tbaa !5
  %185 = add nsw i32 %184, 1
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds [3 x i32], ptr %183, i64 0, i64 %186
  store i32 0, ptr %187, align 4, !tbaa !5
  %188 = call noundef zeroext i1 @_ZN4Node4hashEv(ptr noundef nonnull align 4 dereferenceable(48) @now)
  br i1 %188, label %189, label %197

189:                                              ; preds = %166
  %190 = load i32, ptr getelementptr inbounds (%struct.Node, ptr @now, i32 0, i32 3), align 4, !tbaa !16
  %191 = add nsw i32 %190, 1
  store i32 %191, ptr getelementptr inbounds (%struct.Node, ptr @now, i32 0, i32 3), align 4, !tbaa !16
  %192 = call noundef zeroext i1 @_ZN4Node5checkEv(ptr noundef nonnull align 4 dereferenceable(48) @now)
  br i1 %192, label %193, label %194

193:                                              ; preds = %189
  store i32 5, ptr %6, align 4
  br label %199

194:                                              ; preds = %189
  %195 = load i32, ptr getelementptr inbounds (%struct.Node, ptr @now, i32 0, i32 2), align 4, !tbaa !12
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr getelementptr inbounds (%struct.Node, ptr @now, i32 0, i32 2), align 4, !tbaa !12
  call void @_ZNSt5queueI4NodeSt5dequeIS0_SaIS0_EEE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(80) @Q, ptr noundef nonnull align 4 dereferenceable(48) @now)
  br label %197

197:                                              ; preds = %194, %166
  br label %198

198:                                              ; preds = %197, %162
  store i32 0, ptr %6, align 4
  br label %199

199:                                              ; preds = %198, %193, %157, %121, %85
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  %200 = load i32, ptr %6, align 4
  switch i32 %200, label %206 [
    i32 0, label %201
    i32 5, label %203
  ]

201:                                              ; preds = %199
  br label %48, !llvm.loop !17

202:                                              ; preds = %48
  br label %203

203:                                              ; preds = %202, %199, %45
  %204 = load i32, ptr getelementptr inbounds (%struct.Node, ptr @now, i32 0, i32 3), align 4, !tbaa !16
  %205 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %204)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %6, align 4
  br label %206

206:                                              ; preds = %203, %199
  call void @llvm.lifetime.end.p0(i64 10, ptr %2) #6
  %207 = load i32, ptr %1, align 4
  ret i32 %207
}

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

declare i32 @__isoc99_scanf(ptr noundef, ...) #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN4Node5checkEv(ptr noundef nonnull align 4 dereferenceable(48)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4Node4hashEv(ptr noundef nonnull align 4 dereferenceable(48)) #4 align 2

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

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

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

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

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

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

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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 #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { 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 = !{!7, !7, i64 0}
!10 = !{!11, !6, i64 36}
!11 = !{!"_ZTS4Node", !7, i64 0, !6, i64 36, !6, i64 40, !6, i64 44}
!12 = !{!11, !6, i64 40}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{i64 0, i64 36, !9, i64 36, i64 4, !5, i64 40, i64 4, !5, i64 44, i64 4, !5}
!16 = !{!11, !6, i64 44}
!17 = distinct !{!17, !14}


; 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"

%struct.Node = type { [3 x [3 x i32]], i32, i32, i32 }
%"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 }

@tmp = external dso_local local_unnamed_addr global %struct.Node, align 4
@now = external dso_local global %struct.Node, align 4
@Q = external dso_local global %"class.std::queue", align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca [10 x i8], align 1
  call void @llvm.lifetime.start.p0(i64 10, ptr nonnull %1) #6
  %2 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1)
  %3 = load i8, ptr %1, align 1, !tbaa !5
  %4 = sext i8 %3 to i32
  %5 = add nsw i32 %4, -48
  store i32 %5, ptr @now, align 4, !tbaa !8
  %6 = icmp eq i8 %3, 48
  br i1 %6, label %7, label %8

7:                                                ; preds = %0
  store i32 0, ptr getelementptr inbounds (i8, ptr @now, i64 36), align 4, !tbaa !10
  store i32 0, ptr getelementptr inbounds (i8, ptr @now, i64 40), align 4, !tbaa !12
  br label %8

8:                                                ; preds = %0, %7
  %9 = getelementptr inbounds i8, ptr %1, i64 1
  %10 = load i8, ptr %9, align 1, !tbaa !5
  %11 = sext i8 %10 to i32
  %12 = add nsw i32 %11, -48
  store i32 %12, ptr getelementptr inbounds (i8, ptr @now, i64 4), align 4, !tbaa !8
  %13 = icmp eq i8 %10, 48
  br i1 %13, label %14, label %15

14:                                               ; preds = %8
  store i32 0, ptr getelementptr inbounds (i8, ptr @now, i64 36), align 4, !tbaa !10
  store i32 1, ptr getelementptr inbounds (i8, ptr @now, i64 40), align 4, !tbaa !12
  br label %15

15:                                               ; preds = %14, %8
  %16 = getelementptr inbounds i8, ptr %1, i64 2
  %17 = load i8, ptr %16, align 1, !tbaa !5
  %18 = sext i8 %17 to i32
  %19 = add nsw i32 %18, -48
  store i32 %19, ptr getelementptr inbounds (i8, ptr @now, i64 8), align 4, !tbaa !8
  %20 = icmp eq i8 %17, 48
  br i1 %20, label %21, label %22

21:                                               ; preds = %15
  store i32 0, ptr getelementptr inbounds (i8, ptr @now, i64 36), align 4, !tbaa !10
  store i32 2, ptr getelementptr inbounds (i8, ptr @now, i64 40), align 4, !tbaa !12
  br label %22

22:                                               ; preds = %21, %15
  %23 = getelementptr inbounds i8, ptr %1, i64 3
  %24 = load i8, ptr %23, align 1, !tbaa !5
  %25 = sext i8 %24 to i32
  %26 = add nsw i32 %25, -48
  store i32 %26, ptr getelementptr inbounds (i8, ptr @now, i64 12), align 4, !tbaa !8
  %27 = icmp eq i8 %24, 48
  br i1 %27, label %28, label %29

28:                                               ; preds = %22
  store i32 1, ptr getelementptr inbounds (i8, ptr @now, i64 36), align 4, !tbaa !10
  store i32 0, ptr getelementptr inbounds (i8, ptr @now, i64 40), align 4, !tbaa !12
  br label %29

29:                                               ; preds = %28, %22
  %30 = getelementptr inbounds i8, ptr %1, i64 4
  %31 = load i8, ptr %30, align 1, !tbaa !5
  %32 = sext i8 %31 to i32
  %33 = add nsw i32 %32, -48
  store i32 %33, ptr getelementptr inbounds (i8, ptr @now, i64 16), align 4, !tbaa !8
  %34 = icmp eq i8 %31, 48
  br i1 %34, label %35, label %36

35:                                               ; preds = %29
  store i32 1, ptr getelementptr inbounds (i8, ptr @now, i64 36), align 4, !tbaa !10
  store i32 1, ptr getelementptr inbounds (i8, ptr @now, i64 40), align 4, !tbaa !12
  br label %36

36:                                               ; preds = %35, %29
  %37 = getelementptr inbounds i8, ptr %1, i64 5
  %38 = load i8, ptr %37, align 1, !tbaa !5
  %39 = sext i8 %38 to i32
  %40 = add nsw i32 %39, -48
  store i32 %40, ptr getelementptr inbounds (i8, ptr @now, i64 20), align 4, !tbaa !8
  %41 = icmp eq i8 %38, 48
  br i1 %41, label %42, label %43

42:                                               ; preds = %36
  store i32 1, ptr getelementptr inbounds (i8, ptr @now, i64 36), align 4, !tbaa !10
  store i32 2, ptr getelementptr inbounds (i8, ptr @now, i64 40), align 4, !tbaa !12
  br label %43

43:                                               ; preds = %42, %36
  %44 = getelementptr inbounds i8, ptr %1, i64 6
  %45 = load i8, ptr %44, align 1, !tbaa !5
  %46 = sext i8 %45 to i32
  %47 = add nsw i32 %46, -48
  store i32 %47, ptr getelementptr inbounds (i8, ptr @now, i64 24), align 4, !tbaa !8
  %48 = icmp eq i8 %45, 48
  br i1 %48, label %49, label %50

49:                                               ; preds = %43
  store i32 2, ptr getelementptr inbounds (i8, ptr @now, i64 36), align 4, !tbaa !10
  store i32 0, ptr getelementptr inbounds (i8, ptr @now, i64 40), align 4, !tbaa !12
  br label %50

50:                                               ; preds = %49, %43
  %51 = getelementptr inbounds i8, ptr %1, i64 7
  %52 = load i8, ptr %51, align 1, !tbaa !5
  %53 = sext i8 %52 to i32
  %54 = add nsw i32 %53, -48
  store i32 %54, ptr getelementptr inbounds (i8, ptr @now, i64 28), align 4, !tbaa !8
  %55 = icmp eq i8 %52, 48
  br i1 %55, label %56, label %57

56:                                               ; preds = %50
  store i32 2, ptr getelementptr inbounds (i8, ptr @now, i64 36), align 4, !tbaa !10
  store i32 1, ptr getelementptr inbounds (i8, ptr @now, i64 40), align 4, !tbaa !12
  br label %57

57:                                               ; preds = %56, %50
  %58 = getelementptr inbounds i8, ptr %1, i64 8
  %59 = load i8, ptr %58, align 1, !tbaa !5
  %60 = sext i8 %59 to i32
  %61 = add nsw i32 %60, -48
  store i32 %61, ptr getelementptr inbounds (i8, ptr @now, i64 32), align 4, !tbaa !8
  %62 = icmp eq i8 %59, 48
  br i1 %62, label %63, label %64

63:                                               ; preds = %57
  store i32 2, ptr getelementptr inbounds (i8, ptr @now, i64 36), align 4, !tbaa !10
  store i32 2, ptr getelementptr inbounds (i8, ptr @now, i64 40), align 4, !tbaa !12
  br label %64

64:                                               ; preds = %63, %57
  %65 = call noundef zeroext i1 @_ZN4Node5checkEv(ptr noundef nonnull align 4 dereferenceable(48) @now)
  br i1 %65, label %.thread, label %66

66:                                               ; preds = %64
  %67 = call noundef zeroext i1 @_ZN4Node4hashEv(ptr noundef nonnull align 4 dereferenceable(48) @now)
  call void @_ZNSt5queueI4NodeSt5dequeIS0_SaIS0_EEE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(80) @Q, ptr noundef nonnull align 4 dereferenceable(48) @now)
  %68 = call noundef zeroext i1 @_ZNKSt5queueI4NodeSt5dequeIS0_SaIS0_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) @Q)
  br i1 %68, label %.thread, label %.lr.ph

.lr.ph:                                           ; preds = %66, %143
  %69 = call noundef nonnull align 4 dereferenceable(48) ptr @_ZNSt5queueI4NodeSt5dequeIS0_SaIS0_EEE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) @Q)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(48) @tmp, ptr noundef nonnull align 4 dereferenceable(48) %69, i64 48, i1 false), !tbaa.struct !13
  call void @_ZNSt5queueI4NodeSt5dequeIS0_SaIS0_EEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) @Q)
  %70 = load i32, ptr getelementptr inbounds (i8, ptr @tmp, i64 36), align 4, !tbaa !10
  %71 = load i32, ptr getelementptr inbounds (i8, ptr @tmp, i64 40), align 4, !tbaa !12
  %72 = icmp sgt i32 %70, 0
  br i1 %72, label %73, label %89

73:                                               ; preds = %.lr.ph
  %74 = add nsw i32 %70, -1
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(48) @now, ptr noundef nonnull align 4 dereferenceable(48) @tmp, i64 48, i1 false), !tbaa.struct !13
  %75 = zext nneg i32 %74 to i64
  %76 = sext i32 %71 to i64
  %77 = getelementptr inbounds [3 x [3 x i32]], ptr @now, i64 0, i64 %75, i64 %76
  %78 = load i32, ptr %77, align 4, !tbaa !8
  %79 = zext nneg i32 %70 to i64
  %80 = getelementptr inbounds [3 x [3 x i32]], ptr @now, i64 0, i64 %79, i64 %76
  store i32 %78, ptr %80, align 4, !tbaa !8
  store i32 0, ptr %77, align 4, !tbaa !8
  %81 = call noundef zeroext i1 @_ZN4Node4hashEv(ptr noundef nonnull align 4 dereferenceable(48) @now)
  br i1 %81, label %82, label %89

82:                                               ; preds = %73
  %83 = load i32, ptr getelementptr inbounds (i8, ptr @now, i64 44), align 4, !tbaa !14
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr getelementptr inbounds (i8, ptr @now, i64 44), align 4, !tbaa !14
  %85 = call noundef zeroext i1 @_ZN4Node5checkEv(ptr noundef nonnull align 4 dereferenceable(48) @now)
  br i1 %85, label %.thread, label %86

86:                                               ; preds = %82
  %87 = load i32, ptr getelementptr inbounds (i8, ptr @now, i64 36), align 4, !tbaa !10
  %88 = add nsw i32 %87, -1
  store i32 %88, ptr getelementptr inbounds (i8, ptr @now, i64 36), align 4, !tbaa !10
  call void @_ZNSt5queueI4NodeSt5dequeIS0_SaIS0_EEE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(80) @Q, ptr noundef nonnull align 4 dereferenceable(48) @now)
  br label %89

89:                                               ; preds = %73, %86, %.lr.ph
  %90 = icmp sgt i32 %71, 0
  br i1 %90, label %91, label %107

91:                                               ; preds = %89
  %92 = add nsw i32 %71, -1
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(48) @now, ptr noundef nonnull align 4 dereferenceable(48) @tmp, i64 48, i1 false), !tbaa.struct !13
  %93 = sext i32 %70 to i64
  %94 = zext nneg i32 %92 to i64
  %95 = getelementptr inbounds [3 x [3 x i32]], ptr @now, i64 0, i64 %93, i64 %94
  %96 = load i32, ptr %95, align 4, !tbaa !8
  %97 = zext nneg i32 %71 to i64
  %98 = getelementptr inbounds [3 x [3 x i32]], ptr @now, i64 0, i64 %93, i64 %97
  store i32 %96, ptr %98, align 4, !tbaa !8
  store i32 0, ptr %95, align 4, !tbaa !8
  %99 = call noundef zeroext i1 @_ZN4Node4hashEv(ptr noundef nonnull align 4 dereferenceable(48) @now)
  br i1 %99, label %100, label %107

100:                                              ; preds = %91
  %101 = load i32, ptr getelementptr inbounds (i8, ptr @now, i64 44), align 4, !tbaa !14
  %102 = add nsw i32 %101, 1
  store i32 %102, ptr getelementptr inbounds (i8, ptr @now, i64 44), align 4, !tbaa !14
  %103 = call noundef zeroext i1 @_ZN4Node5checkEv(ptr noundef nonnull align 4 dereferenceable(48) @now)
  br i1 %103, label %.thread, label %104

104:                                              ; preds = %100
  %105 = load i32, ptr getelementptr inbounds (i8, ptr @now, i64 40), align 4, !tbaa !12
  %106 = add nsw i32 %105, -1
  store i32 %106, ptr getelementptr inbounds (i8, ptr @now, i64 40), align 4, !tbaa !12
  call void @_ZNSt5queueI4NodeSt5dequeIS0_SaIS0_EEE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(80) @Q, ptr noundef nonnull align 4 dereferenceable(48) @now)
  br label %107

107:                                              ; preds = %91, %104, %89
  %108 = icmp slt i32 %70, 2
  br i1 %108, label %109, label %125

109:                                              ; preds = %107
  %110 = add nsw i32 %70, 1
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(48) @now, ptr noundef nonnull align 4 dereferenceable(48) @tmp, i64 48, i1 false), !tbaa.struct !13
  %111 = sext i32 %110 to i64
  %112 = sext i32 %71 to i64
  %113 = getelementptr inbounds [3 x [3 x i32]], ptr @now, i64 0, i64 %111, i64 %112
  %114 = load i32, ptr %113, align 4, !tbaa !8
  %115 = sext i32 %70 to i64
  %116 = getelementptr inbounds [3 x [3 x i32]], ptr @now, i64 0, i64 %115, i64 %112
  store i32 %114, ptr %116, align 4, !tbaa !8
  store i32 0, ptr %113, align 4, !tbaa !8
  %117 = call noundef zeroext i1 @_ZN4Node4hashEv(ptr noundef nonnull align 4 dereferenceable(48) @now)
  br i1 %117, label %118, label %125

118:                                              ; preds = %109
  %119 = load i32, ptr getelementptr inbounds (i8, ptr @now, i64 44), align 4, !tbaa !14
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr getelementptr inbounds (i8, ptr @now, i64 44), align 4, !tbaa !14
  %121 = call noundef zeroext i1 @_ZN4Node5checkEv(ptr noundef nonnull align 4 dereferenceable(48) @now)
  br i1 %121, label %.thread, label %122

122:                                              ; preds = %118
  %123 = load i32, ptr getelementptr inbounds (i8, ptr @now, i64 36), align 4, !tbaa !10
  %124 = add nsw i32 %123, 1
  store i32 %124, ptr getelementptr inbounds (i8, ptr @now, i64 36), align 4, !tbaa !10
  call void @_ZNSt5queueI4NodeSt5dequeIS0_SaIS0_EEE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(80) @Q, ptr noundef nonnull align 4 dereferenceable(48) @now)
  br label %125

125:                                              ; preds = %109, %122, %107
  %126 = icmp slt i32 %71, 2
  br i1 %126, label %127, label %143

127:                                              ; preds = %125
  %128 = add nsw i32 %71, 1
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(48) @now, ptr noundef nonnull align 4 dereferenceable(48) @tmp, i64 48, i1 false), !tbaa.struct !13
  %129 = sext i32 %70 to i64
  %130 = sext i32 %128 to i64
  %131 = getelementptr inbounds [3 x [3 x i32]], ptr @now, i64 0, i64 %129, i64 %130
  %132 = load i32, ptr %131, align 4, !tbaa !8
  %133 = sext i32 %71 to i64
  %134 = getelementptr inbounds [3 x [3 x i32]], ptr @now, i64 0, i64 %129, i64 %133
  store i32 %132, ptr %134, align 4, !tbaa !8
  store i32 0, ptr %131, align 4, !tbaa !8
  %135 = call noundef zeroext i1 @_ZN4Node4hashEv(ptr noundef nonnull align 4 dereferenceable(48) @now)
  br i1 %135, label %136, label %143

136:                                              ; preds = %127
  %137 = load i32, ptr getelementptr inbounds (i8, ptr @now, i64 44), align 4, !tbaa !14
  %138 = add nsw i32 %137, 1
  store i32 %138, ptr getelementptr inbounds (i8, ptr @now, i64 44), align 4, !tbaa !14
  %139 = call noundef zeroext i1 @_ZN4Node5checkEv(ptr noundef nonnull align 4 dereferenceable(48) @now)
  br i1 %139, label %.thread, label %140

140:                                              ; preds = %136
  %141 = load i32, ptr getelementptr inbounds (i8, ptr @now, i64 40), align 4, !tbaa !12
  %142 = add nsw i32 %141, 1
  store i32 %142, ptr getelementptr inbounds (i8, ptr @now, i64 40), align 4, !tbaa !12
  call void @_ZNSt5queueI4NodeSt5dequeIS0_SaIS0_EEE4pushERKS0_(ptr noundef nonnull align 8 dereferenceable(80) @Q, ptr noundef nonnull align 4 dereferenceable(48) @now)
  br label %143

143:                                              ; preds = %125, %140, %127
  %144 = call noundef zeroext i1 @_ZNKSt5queueI4NodeSt5dequeIS0_SaIS0_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) @Q)
  br i1 %144, label %.thread, label %.lr.ph

.thread:                                          ; preds = %143, %82, %100, %118, %136, %66, %64
  %145 = load i32, ptr getelementptr inbounds (i8, ptr @now, i64 44), align 4, !tbaa !14
  %146 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %145)
  call void @llvm.lifetime.end.p0(i64 10, ptr nonnull %1) #6
  ret i32 0
}

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN4Node5checkEv(ptr noundef nonnull align 4 dereferenceable(48)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4Node4hashEv(ptr noundef nonnull align 4 dereferenceable(48)) local_unnamed_addr #4 align 2

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
!10 = !{!11, !9, i64 36}
!11 = !{!"_ZTS4Node", !6, i64 0, !9, i64 36, !9, i64 40, !9, i64 44}
!12 = !{!11, !9, i64 40}
!13 = !{i64 0, i64 36, !5, i64 36, i64 4, !8, i64 40, i64 4, !8, i64 44, i64 4, !8}
!14 = !{!11, !9, i64 44}


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