; LLVM IR from MtSaka/library :: test/yosupo/data_structure/queue_operate_all_composite.test (main)

; 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.fastio::Scanner" = type <{ i32, [131073 x i8], [3 x i8], i32, i32, i8, [3 x i8] }>
%class.anon = type { i8 }
%struct.SlidingWindowAggregation = type <{ %"class.std::vector", %"class.std::vector", [4 x i8], %"struct.std::pair", %"struct.std::pair", %"struct.std::pair", [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<StaticModInt<unsigned int, 998244353>, StaticModInt<unsigned int, 998244353>>, std::allocator<std::pair<StaticModInt<unsigned int, 998244353>, StaticModInt<unsigned int, 998244353>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<StaticModInt<unsigned int, 998244353>, StaticModInt<unsigned int, 998244353>>, std::allocator<std::pair<StaticModInt<unsigned int, 998244353>, StaticModInt<unsigned int, 998244353>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<StaticModInt<unsigned int, 998244353>, StaticModInt<unsigned int, 998244353>>, std::allocator<std::pair<StaticModInt<unsigned int, 998244353>, StaticModInt<unsigned int, 998244353>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<StaticModInt<unsigned int, 998244353>, StaticModInt<unsigned int, 998244353>>, std::allocator<std::pair<StaticModInt<unsigned int, 998244353>, StaticModInt<unsigned int, 998244353>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { %struct.StaticModInt, %struct.StaticModInt }
%struct.StaticModInt = type { i32 }

@_ZN6fastio2scE = external dso_local global %"struct.fastio::Scanner", align 4

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %class.anon, align 1
  %3 = alloca %struct.SlidingWindowAggregation, align 8
  %4 = alloca %class.anon, align 1
  %5 = alloca %"struct.std::pair", align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca %struct.StaticModInt, align 4
  %14 = alloca %struct.StaticModInt, align 4
  %15 = alloca %"struct.std::pair", align 4
  %16 = alloca %struct.StaticModInt, align 4
  %17 = alloca %"struct.std::pair", align 4
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca %struct.StaticModInt, align 4
  %21 = alloca %struct.StaticModInt, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 1, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 80, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 1, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !5
  call void @_ZNSt4pairI12StaticModIntIjLj998244353EES1_EC2IiiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %22 = load i64, ptr %5, align 4
  call void @"_ZN24SlidingWindowAggregationISt4pairI12StaticModIntIjLj998244353EES2_EZ4mainE3$_0EC2ES4_S3_"(ptr noundef nonnull align 8 dereferenceable(76) %3, i64 %22)
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  invoke void @_Z4scanIiJEEvRT_DpRT0_(ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %23 unwind label %30

23:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  store i64 0, ptr %11, align 8, !tbaa !9
  br label %24

24:                                               ; preds = %107, %23
  %25 = load i64, ptr %11, align 8, !tbaa !9
  %26 = load i32, ptr %8, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = icmp slt i64 %25, %27
  br i1 %28, label %34, label %29

29:                                               ; preds = %24
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %111

30:                                               ; preds = %0
  %31 = landingpad { ptr, i32 }
          cleanup
  %32 = extractvalue { ptr, i32 } %31, 0
  store ptr %32, ptr %9, align 8
  %33 = extractvalue { ptr, i32 } %31, 1
  store i32 %33, ptr %10, align 4
  br label %113

34:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  invoke void @_Z4scanIxJEEvRT_DpRT0_(ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %35 unwind label %47

35:                                               ; preds = %34
  %36 = load i64, ptr %12, align 8, !tbaa !9
  %37 = icmp eq i64 %36, 0
  br i1 %37, label %38, label %65

38:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  invoke void @_ZN12StaticModIntIjLj998244353EEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %39 unwind label %51

39:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  invoke void @_ZN12StaticModIntIjLj998244353EEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %40 unwind label %55

40:                                               ; preds = %39
  %41 = invoke noundef nonnull align 4 dereferenceable(131089) ptr @_ZN6fastio7ScannerILm131072ELi16EErsI12StaticModIntIjLj998244353EEEERS1_RT_(ptr noundef nonnull align 4 dereferenceable(131089) @_ZN6fastio2scE, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %42 unwind label %55

42:                                               ; preds = %40
  %43 = invoke noundef nonnull align 4 dereferenceable(131089) ptr @_ZN6fastio7ScannerILm131072ELi16EErsI12StaticModIntIjLj998244353EEEERS1_RT_(ptr noundef nonnull align 4 dereferenceable(131089) %41, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %44 unwind label %55

44:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  invoke void @_ZNSt4pairI12StaticModIntIjLj998244353EES1_EC2IRS1_S4_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS6_S7_EEEbE4typeELb1EEEOS6_OS7_(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %45 unwind label %59

45:                                               ; preds = %44
  invoke void @"_ZN24SlidingWindowAggregationISt4pairI12StaticModIntIjLj998244353EES2_EZ4mainE3$_0E4pushERKS3_"(ptr noundef nonnull align 8 dereferenceable(76) %3, ptr noundef nonnull align 4 dereferenceable(8) %15)
          to label %46 unwind label %59

46:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %106

47:                                               ; preds = %68, %34
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %9, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %10, align 4
  br label %110

51:                                               ; preds = %38
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %9, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %10, align 4
  br label %64

55:                                               ; preds = %42, %40, %39
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %9, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %10, align 4
  br label %63

59:                                               ; preds = %45, %44
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %9, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %63

63:                                               ; preds = %59, %55
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %64

64:                                               ; preds = %63, %51
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %110

65:                                               ; preds = %35
  %66 = load i64, ptr %12, align 8, !tbaa !9
  %67 = icmp eq i64 %66, 1
  br i1 %67, label %68, label %70

68:                                               ; preds = %65
  invoke void @"_ZN24SlidingWindowAggregationISt4pairI12StaticModIntIjLj998244353EES2_EZ4mainE3$_0E3popEv"(ptr noundef nonnull align 8 dereferenceable(76) %3)
          to label %69 unwind label %47

69:                                               ; preds = %68
  br label %105

70:                                               ; preds = %65
  %71 = load i64, ptr %12, align 8, !tbaa !9
  %72 = icmp eq i64 %71, 2
  br i1 %72, label %73, label %104

73:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  invoke void @_ZN12StaticModIntIjLj998244353EEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %74 unwind label %90

74:                                               ; preds = %73
  %75 = invoke noundef nonnull align 4 dereferenceable(131089) ptr @_ZN6fastio7ScannerILm131072ELi16EErsI12StaticModIntIjLj998244353EEEERS1_RT_(ptr noundef nonnull align 4 dereferenceable(131089) @_ZN6fastio2scE, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %76 unwind label %90

76:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %77 = invoke i64 @"_ZNK24SlidingWindowAggregationISt4pairI12StaticModIntIjLj998244353EES2_EZ4mainE3$_0E3getEv"(ptr noundef nonnull align 8 dereferenceable(76) %3)
          to label %78 unwind label %94

78:                                               ; preds = %76
  store i64 %77, ptr %17, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %79 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm0E12StaticModIntIjLj998244353EES1_EONSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOS6_(ptr noundef nonnull align 4 dereferenceable(8) %17) #6
  store ptr %79, ptr %18, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %80 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm1E12StaticModIntIjLj998244353EES1_EONSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOS6_(ptr noundef nonnull align 4 dereferenceable(8) %17) #6
  store ptr %80, ptr %19, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %81 = load ptr, ptr %18, align 8, !tbaa !11
  %82 = invoke i32 @_ZmlRK12StaticModIntIjLj998244353EES2_(ptr noundef nonnull align 4 dereferenceable(4) %81, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %83 unwind label %98

83:                                               ; preds = %78
  %84 = getelementptr inbounds %struct.StaticModInt, ptr %21, i32 0, i32 0
  store i32 %82, ptr %84, align 4
  %85 = load ptr, ptr %19, align 8, !tbaa !11
  %86 = invoke i32 @_ZplRK12StaticModIntIjLj998244353EES2_(ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 4 dereferenceable(4) %85)
          to label %87 unwind label %98

87:                                               ; preds = %83
  %88 = getelementptr inbounds %struct.StaticModInt, ptr %20, i32 0, i32 0
  store i32 %86, ptr %88, align 4
  invoke void @_Z5printI12StaticModIntIjLj998244353EEEvRKT_(ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %89 unwind label %98

89:                                               ; preds = %87
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %104

90:                                               ; preds = %74, %73
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %9, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %10, align 4
  br label %103

94:                                               ; preds = %76
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %9, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %10, align 4
  br label %102

98:                                               ; preds = %87, %83, %78
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %9, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %102

102:                                              ; preds = %98, %94
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %103

103:                                              ; preds = %102, %90
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %110

104:                                              ; preds = %89, %70
  br label %105

105:                                              ; preds = %104, %69
  br label %106

106:                                              ; preds = %105, %46
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %107

107:                                              ; preds = %106
  %108 = load i64, ptr %11, align 8, !tbaa !9
  %109 = add nsw i64 %108, 1
  store i64 %109, ptr %11, align 8, !tbaa !9
  br label %24, !llvm.loop !13

110:                                              ; preds = %103, %64, %47
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %113

111:                                              ; preds = %29
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @"_ZN24SlidingWindowAggregationISt4pairI12StaticModIntIjLj998244353EES2_EZ4mainE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(76) %3) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %2) #6
  %112 = load i32, ptr %1, align 4
  ret i32 %112

113:                                              ; preds = %110, %30
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @"_ZN24SlidingWindowAggregationISt4pairI12StaticModIntIjLj998244353EES2_EZ4mainE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(76) %3) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %2) #6
  br label %114

114:                                              ; preds = %113
  %115 = load ptr, ptr %9, align 8
  %116 = load i32, ptr %10, align 4
  %117 = insertvalue { ptr, i32 } poison, ptr %115, 0
  %118 = insertvalue { ptr, i32 } %117, i32 %116, 1
  resume { ptr, i32 } %118
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZN24SlidingWindowAggregationISt4pairI12StaticModIntIjLj998244353EES2_EZ4mainE3$_0EC2ES4_S3_"(ptr noundef nonnull align 8 dereferenceable(76), i64) unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z4scanIiJEEvRT_DpRT0_(ptr noundef nonnull align 4 dereferenceable(4)) #4

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(131089) ptr @_ZN6fastio7ScannerILm131072ELi16EErsI12StaticModIntIjLj998244353EEEERS1_RT_(ptr noundef nonnull align 4 dereferenceable(131089), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN24SlidingWindowAggregationISt4pairI12StaticModIntIjLj998244353EES2_EZ4mainE3$_0E4pushERKS3_"(ptr noundef nonnull align 8 dereferenceable(76), ptr noundef nonnull align 4 dereferenceable(8)) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN24SlidingWindowAggregationISt4pairI12StaticModIntIjLj998244353EES2_EZ4mainE3$_0E3popEv"(ptr noundef nonnull align 8 dereferenceable(76)) #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden i64 @"_ZNK24SlidingWindowAggregationISt4pairI12StaticModIntIjLj998244353EES2_EZ4mainE3$_0E3getEv"(ptr noundef nonnull align 8 dereferenceable(76)) #2 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z5printI12StaticModIntIjLj998244353EEEvRKT_(ptr noundef nonnull align 4 dereferenceable(4)) #4

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZplRK12StaticModIntIjLj998244353EES2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #2

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZmlRK12StaticModIntIjLj998244353EES2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZN24SlidingWindowAggregationISt4pairI12StaticModIntIjLj998244353EES2_EZ4mainE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(76)) unnamed_addr #5 align 2

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


; 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.fastio::Scanner" = type <{ i32, [131073 x i8], [3 x i8], i32, i32, i8, [3 x i8] }>
%struct.SlidingWindowAggregation = type <{ %"class.std::vector", %"class.std::vector", [4 x i8], %"struct.std::pair", %"struct.std::pair", %"struct.std::pair", [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<StaticModInt<unsigned int, 998244353>, StaticModInt<unsigned int, 998244353>>, std::allocator<std::pair<StaticModInt<unsigned int, 998244353>, StaticModInt<unsigned int, 998244353>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<StaticModInt<unsigned int, 998244353>, StaticModInt<unsigned int, 998244353>>, std::allocator<std::pair<StaticModInt<unsigned int, 998244353>, StaticModInt<unsigned int, 998244353>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<StaticModInt<unsigned int, 998244353>, StaticModInt<unsigned int, 998244353>>, std::allocator<std::pair<StaticModInt<unsigned int, 998244353>, StaticModInt<unsigned int, 998244353>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<StaticModInt<unsigned int, 998244353>, StaticModInt<unsigned int, 998244353>>, std::allocator<std::pair<StaticModInt<unsigned int, 998244353>, StaticModInt<unsigned int, 998244353>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { %struct.StaticModInt, %struct.StaticModInt }
%struct.StaticModInt = type { i32 }

@_ZN6fastio2scE = external dso_local global %"struct.fastio::Scanner", align 4

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %struct.SlidingWindowAggregation, align 8
  %2 = alloca %"struct.std::pair", align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i64, align 8
  %7 = alloca %struct.StaticModInt, align 4
  %8 = alloca %struct.StaticModInt, align 4
  %9 = alloca %"struct.std::pair", align 4
  %10 = alloca %struct.StaticModInt, align 4
  %11 = alloca %"struct.std::pair", align 8
  %12 = alloca %struct.StaticModInt, align 4
  %13 = alloca %struct.StaticModInt, align 4
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  store i32 1, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  store i32 0, ptr %4, align 4, !tbaa !5
  call void @_ZNSt4pairI12StaticModIntIjLj998244353EES1_EC2IiiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 4 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %14 = load i64, ptr %2, align 8
  call void @"_ZN24SlidingWindowAggregationISt4pairI12StaticModIntIjLj998244353EES2_EZ4mainE3$_0EC2ES4_S3_"(ptr noundef nonnull align 8 dereferenceable(76) %1, i64 %14)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  invoke void @_Z4scanIiJEEvRT_DpRT0_(ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %.preheader unwind label %17

.preheader:                                       ; preds = %0
  %15 = load i32, ptr %5, align 4, !tbaa !5
  %16 = icmp sgt i32 %15, 0
  br i1 %16, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %55, %.preheader
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  call void @"_ZN24SlidingWindowAggregationISt4pairI12StaticModIntIjLj998244353EES2_EZ4mainE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(76) %1) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %1) #6
  ret i32 0

17:                                               ; preds = %0
  %18 = landingpad { ptr, i32 }
          cleanup
  br label %61

.lr.ph:                                           ; preds = %.preheader, %55
  %.01119 = phi i64 [ %56, %55 ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  invoke void @_Z4scanIxJEEvRT_DpRT0_(ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %19 unwind label %27

19:                                               ; preds = %.lr.ph
  %20 = load i64, ptr %6, align 8, !tbaa !9
  switch i64 %20, label %55 [
    i64 0, label %21
    i64 1, label %34
    i64 2, label %35
  ]

21:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  call void @_ZN12StaticModIntIjLj998244353EEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #6
  call void @_ZN12StaticModIntIjLj998244353EEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %8)
  %22 = invoke noundef nonnull align 4 dereferenceable(131089) ptr @_ZN6fastio7ScannerILm131072ELi16EErsI12StaticModIntIjLj998244353EEEERS1_RT_(ptr noundef nonnull align 4 dereferenceable(131089) @_ZN6fastio2scE, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %23 unwind label %29

23:                                               ; preds = %21
  %24 = invoke noundef nonnull align 4 dereferenceable(131089) ptr @_ZN6fastio7ScannerILm131072ELi16EErsI12StaticModIntIjLj998244353EEEERS1_RT_(ptr noundef nonnull align 4 dereferenceable(131089) %22, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %25 unwind label %29

25:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  call void @_ZNSt4pairI12StaticModIntIjLj998244353EES1_EC2IRS1_S4_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS6_S7_EEEbE4typeELb1EEEOS6_OS7_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %8)
  invoke void @"_ZN24SlidingWindowAggregationISt4pairI12StaticModIntIjLj998244353EES2_EZ4mainE3$_0E4pushERKS3_"(ptr noundef nonnull align 8 dereferenceable(76) %1, ptr noundef nonnull align 4 dereferenceable(8) %9)
          to label %26 unwind label %31

26:                                               ; preds = %25
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  br label %55

27:                                               ; preds = %34, %.lr.ph
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %60

29:                                               ; preds = %23, %21
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %33

31:                                               ; preds = %25
  %32 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  br label %33

33:                                               ; preds = %31, %29
  %.pn15 = phi { ptr, i32 } [ %32, %31 ], [ %30, %29 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  br label %60

34:                                               ; preds = %19
  invoke void @"_ZN24SlidingWindowAggregationISt4pairI12StaticModIntIjLj998244353EES2_EZ4mainE3$_0E3popEv"(ptr noundef nonnull align 8 dereferenceable(76) %1)
          to label %55 unwind label %27

35:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
  call void @_ZN12StaticModIntIjLj998244353EEC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %10)
  %36 = invoke noundef nonnull align 4 dereferenceable(131089) ptr @_ZN6fastio7ScannerILm131072ELi16EErsI12StaticModIntIjLj998244353EEEERS1_RT_(ptr noundef nonnull align 4 dereferenceable(131089) @_ZN6fastio2scE, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %37 unwind label %47

37:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %38 = invoke i64 @"_ZNK24SlidingWindowAggregationISt4pairI12StaticModIntIjLj998244353EES2_EZ4mainE3$_0E3getEv"(ptr noundef nonnull align 8 dereferenceable(76) %1)
          to label %39 unwind label %49

39:                                               ; preds = %37
  store i64 %38, ptr %11, align 8
  %40 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm0E12StaticModIntIjLj998244353EES1_EONSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOS6_(ptr noundef nonnull align 4 dereferenceable(8) %11) #6
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm1E12StaticModIntIjLj998244353EES1_EONSt13tuple_elementIXT_ESt4pairIT0_T1_EE4typeEOS6_(ptr noundef nonnull align 4 dereferenceable(8) %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #6
  %42 = invoke i32 @_ZmlRK12StaticModIntIjLj998244353EES2_(ptr noundef nonnull align 4 dereferenceable(4) %40, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %43 unwind label %51

43:                                               ; preds = %39
  store i32 %42, ptr %13, align 4
  %44 = invoke i32 @_ZplRK12StaticModIntIjLj998244353EES2_(ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %41)
          to label %45 unwind label %51

45:                                               ; preds = %43
  store i32 %44, ptr %12, align 4
  invoke void @_Z5printI12StaticModIntIjLj998244353EEEvRKT_(ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %46 unwind label %51

46:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  br label %55

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

49:                                               ; preds = %37
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %53

51:                                               ; preds = %45, %43, %39
  %52 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  br label %53

53:                                               ; preds = %51, %49
  %.pn = phi { ptr, i32 } [ %52, %51 ], [ %50, %49 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  br label %54

54:                                               ; preds = %53, %47
  %.pn.pn = phi { ptr, i32 } [ %.pn, %53 ], [ %48, %47 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  br label %60

55:                                               ; preds = %19, %34, %46, %26
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  %56 = add nuw nsw i64 %.01119, 1
  %57 = load i32, ptr %5, align 4, !tbaa !5
  %58 = sext i32 %57 to i64
  %59 = icmp slt i64 %56, %58
  br i1 %59, label %.lr.ph, label %._crit_edge, !llvm.loop !11

60:                                               ; preds = %54, %33, %27
  %.pn15.pn = phi { ptr, i32 } [ %.pn15, %33 ], [ %28, %27 ], [ %.pn.pn, %54 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %61

61:                                               ; preds = %60, %17
  %.pn15.pn.pn = phi { ptr, i32 } [ %.pn15.pn, %60 ], [ %18, %17 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  call void @"_ZN24SlidingWindowAggregationISt4pairI12StaticModIntIjLj998244353EES2_EZ4mainE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(76) %1) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn15.pn.pn
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZN24SlidingWindowAggregationISt4pairI12StaticModIntIjLj998244353EES2_EZ4mainE3$_0EC2ES4_S3_"(ptr noundef nonnull align 8 dereferenceable(76), i64) unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z4scanIiJEEvRT_DpRT0_(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(131089) ptr @_ZN6fastio7ScannerILm131072ELi16EErsI12StaticModIntIjLj998244353EEEERS1_RT_(ptr noundef nonnull align 4 dereferenceable(131089), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN24SlidingWindowAggregationISt4pairI12StaticModIntIjLj998244353EES2_EZ4mainE3$_0E4pushERKS3_"(ptr noundef nonnull align 8 dereferenceable(76), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN24SlidingWindowAggregationISt4pairI12StaticModIntIjLj998244353EES2_EZ4mainE3$_0E3popEv"(ptr noundef nonnull align 8 dereferenceable(76)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden i64 @"_ZNK24SlidingWindowAggregationISt4pairI12StaticModIntIjLj998244353EES2_EZ4mainE3$_0E3getEv"(ptr noundef nonnull align 8 dereferenceable(76)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z5printI12StaticModIntIjLj998244353EEEvRKT_(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZplRK12StaticModIntIjLj998244353EES2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local i32 @_ZmlRK12StaticModIntIjLj998244353EES2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZN24SlidingWindowAggregationISt4pairI12StaticModIntIjLj998244353EES2_EZ4mainE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(76)) unnamed_addr #5 align 2

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass