; LLVM IR from eyangch/competitive-programming :: Codeforces/1537 (f)

; 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<long long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@T = external dso_local global i64, align 8
@N = external dso_local global i64, align 8
@M = external dso_local global i64, align 8
@v = external dso_local global [200000 x i64], align 16
@t = external dso_local global [200000 x i64], align 16
@alt = external dso_local global [200000 x i64], align 16
@graph = external dso_local global [200000 x %"class.std::vector"], align 16
@bipartite = external dso_local global i8, align 1
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", 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 uwtable
declare dso_local void @_Z3dfsxx(i64 noundef, i64 noundef) #0

; 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: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 {
  %1 = alloca i32, align 4
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  %14 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %15 = getelementptr i8, ptr %14, i64 -24
  %16 = load i64, ptr %15, align 8
  %17 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %16
  %18 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %17, ptr noundef null)
  %19 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %20 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) @T)
  br label %21

21:                                               ; preds = %155, %117, %109, %0
  %22 = load i64, ptr @T, align 8, !tbaa !8
  %23 = add nsw i64 %22, -1
  store i64 %23, ptr @T, align 8, !tbaa !8
  %24 = icmp ne i64 %22, 0
  br i1 %24, label %25, label %163

25:                                               ; preds = %21
  %26 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) @N)
  %27 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(8) @M)
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #7
  store i64 0, ptr %2, align 8, !tbaa !8
  br label %28

28:                                               ; preds = %36, %25
  %29 = load i64, ptr %2, align 8, !tbaa !8
  %30 = load i64, ptr @N, align 8, !tbaa !8
  %31 = icmp slt i64 %29, %30
  br i1 %31, label %33, label %32

32:                                               ; preds = %28
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #7
  br label %39

33:                                               ; preds = %28
  %34 = load i64, ptr %2, align 8, !tbaa !8
  %35 = getelementptr inbounds [200000 x %"class.std::vector"], ptr @graph, i64 0, i64 %34
  call void @_ZNSt6vectorIxSaIxEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #7
  br label %36

36:                                               ; preds = %33
  %37 = load i64, ptr %2, align 8, !tbaa !8
  %38 = add nsw i64 %37, 1
  store i64 %38, ptr %2, align 8, !tbaa !8
  br label %28, !llvm.loop !11

39:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  store i64 0, ptr %3, align 8, !tbaa !8
  br label %40

40:                                               ; preds = %55, %39
  %41 = load i64, ptr %3, align 8, !tbaa !8
  %42 = load i64, ptr @N, align 8, !tbaa !8
  %43 = icmp slt i64 %41, %42
  br i1 %43, label %45, label %44

44:                                               ; preds = %40
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  br label %58

45:                                               ; preds = %40
  %46 = load i64, ptr %3, align 8, !tbaa !8
  %47 = getelementptr inbounds [200000 x i64], ptr @v, i64 0, i64 %46
  %48 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %47)
  %49 = load i64, ptr %3, align 8, !tbaa !8
  %50 = getelementptr inbounds [200000 x i64], ptr @v, i64 0, i64 %49
  %51 = load i64, ptr %50, align 8, !tbaa !8
  %52 = sitofp i64 %51 to double
  %53 = fadd double %52, 1.000000e+09
  %54 = fptosi double %53 to i64
  store i64 %54, ptr %50, align 8, !tbaa !8
  br label %55

55:                                               ; preds = %45
  %56 = load i64, ptr %3, align 8, !tbaa !8
  %57 = add nsw i64 %56, 1
  store i64 %57, ptr %3, align 8, !tbaa !8
  br label %40, !llvm.loop !13

58:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  store i64 0, ptr %4, align 8, !tbaa !8
  br label %59

59:                                               ; preds = %74, %58
  %60 = load i64, ptr %4, align 8, !tbaa !8
  %61 = load i64, ptr @N, align 8, !tbaa !8
  %62 = icmp slt i64 %60, %61
  br i1 %62, label %64, label %63

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

64:                                               ; preds = %59
  %65 = load i64, ptr %4, align 8, !tbaa !8
  %66 = getelementptr inbounds [200000 x i64], ptr @t, i64 0, i64 %65
  %67 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %66)
  %68 = load i64, ptr %4, align 8, !tbaa !8
  %69 = getelementptr inbounds [200000 x i64], ptr @t, i64 0, i64 %68
  %70 = load i64, ptr %69, align 8, !tbaa !8
  %71 = sitofp i64 %70 to double
  %72 = fadd double %71, 1.000000e+09
  %73 = fptosi double %72 to i64
  store i64 %73, ptr %69, align 8, !tbaa !8
  br label %74

74:                                               ; preds = %64
  %75 = load i64, ptr %4, align 8, !tbaa !8
  %76 = add nsw i64 %75, 1
  store i64 %76, ptr %4, align 8, !tbaa !8
  br label %59, !llvm.loop !14

77:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  store i64 0, ptr %5, align 8, !tbaa !8
  br label %78

78:                                               ; preds = %96, %77
  %79 = load i64, ptr %5, align 8, !tbaa !8
  %80 = load i64, ptr @M, align 8, !tbaa !8
  %81 = icmp slt i64 %79, %80
  br i1 %81, label %83, label %82

82:                                               ; preds = %78
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  br label %99

83:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %84 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %85 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %84, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %86 = load i64, ptr %6, align 8, !tbaa !8
  %87 = sub nsw i64 %86, 1
  %88 = getelementptr inbounds [200000 x %"class.std::vector"], ptr @graph, i64 0, i64 %87
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %89 = load i64, ptr %7, align 8, !tbaa !8
  %90 = sub nsw i64 %89, 1
  store i64 %90, ptr %8, align 8, !tbaa !8
  call void @_ZNSt6vectorIxSaIxEE9push_backEOx(ptr noundef nonnull align 8 dereferenceable(24) %88, ptr noundef nonnull align 8 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  %91 = load i64, ptr %7, align 8, !tbaa !8
  %92 = sub nsw i64 %91, 1
  %93 = getelementptr inbounds [200000 x %"class.std::vector"], ptr @graph, i64 0, i64 %92
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %94 = load i64, ptr %6, align 8, !tbaa !8
  %95 = sub nsw i64 %94, 1
  store i64 %95, ptr %9, align 8, !tbaa !8
  call void @_ZNSt6vectorIxSaIxEE9push_backEOx(ptr noundef nonnull align 8 dereferenceable(24) %93, ptr noundef nonnull align 8 dereferenceable(8) %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  br label %96

96:                                               ; preds = %83
  %97 = load i64, ptr %5, align 8, !tbaa !8
  %98 = add nsw i64 %97, 1
  store i64 %98, ptr %5, align 8, !tbaa !8
  br label %78, !llvm.loop !15

99:                                               ; preds = %82
  %100 = load i64, ptr @N, align 8, !tbaa !8
  %101 = getelementptr inbounds i64, ptr @v, i64 %100
  %102 = call noundef i64 @_ZSt10accumulateIPxxET0_T_S2_S1_(ptr noundef @v, ptr noundef %101, i64 noundef 0)
  %103 = srem i64 %102, 2
  %104 = load i64, ptr @N, align 8, !tbaa !8
  %105 = getelementptr inbounds i64, ptr @t, i64 %104
  %106 = call noundef i64 @_ZSt10accumulateIPxxET0_T_S2_S1_(ptr noundef @t, ptr noundef %105, i64 noundef 0)
  %107 = srem i64 %106, 2
  %108 = icmp ne i64 %103, %107
  br i1 %108, label %109, label %112

109:                                              ; preds = %99
  %110 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
  %111 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %110, i8 noundef signext 10)
  br label %21, !llvm.loop !16

112:                                              ; preds = %99
  store i8 1, ptr @bipartite, align 1, !tbaa !17
  %113 = load i64, ptr @N, align 8, !tbaa !8
  %114 = getelementptr inbounds i64, ptr @alt, i64 %113
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store i32 -1, ptr %10, align 4, !tbaa !19
  call void @_ZSt4fillIPxiEvT_S1_RKT0_(ptr noundef @alt, ptr noundef %114, ptr noundef nonnull align 4 dereferenceable(4) %10)
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @_Z3dfsxx(i64 noundef 0, i64 noundef -1)
  %115 = load i8, ptr @bipartite, align 1, !tbaa !17, !range !21, !noundef !22
  %116 = trunc i8 %115 to i1
  br i1 %116, label %120, label %117

117:                                              ; preds = %112
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %118, i8 noundef signext 10)
  br label %21, !llvm.loop !16

120:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  store i64 0, ptr %11, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  store i64 0, ptr %12, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  store i64 0, ptr %13, align 8, !tbaa !8
  br label %121

121:                                              ; preds = %152, %120
  %122 = load i64, ptr %13, align 8, !tbaa !8
  %123 = load i64, ptr @N, align 8, !tbaa !8
  %124 = icmp slt i64 %122, %123
  br i1 %124, label %126, label %125

125:                                              ; preds = %121
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %155

126:                                              ; preds = %121
  %127 = load i64, ptr %13, align 8, !tbaa !8
  %128 = getelementptr inbounds [200000 x i64], ptr @alt, i64 0, i64 %127
  %129 = load i64, ptr %128, align 8, !tbaa !8
  %130 = icmp ne i64 %129, 0
  br i1 %130, label %131, label %141

131:                                              ; preds = %126
  %132 = load i64, ptr %13, align 8, !tbaa !8
  %133 = getelementptr inbounds [200000 x i64], ptr @v, i64 0, i64 %132
  %134 = load i64, ptr %133, align 8, !tbaa !8
  %135 = load i64, ptr %13, align 8, !tbaa !8
  %136 = getelementptr inbounds [200000 x i64], ptr @t, i64 0, i64 %135
  %137 = load i64, ptr %136, align 8, !tbaa !8
  %138 = sub nsw i64 %134, %137
  %139 = load i64, ptr %12, align 8, !tbaa !8
  %140 = add nsw i64 %139, %138
  store i64 %140, ptr %12, align 8, !tbaa !8
  br label %151

141:                                              ; preds = %126
  %142 = load i64, ptr %13, align 8, !tbaa !8
  %143 = getelementptr inbounds [200000 x i64], ptr @v, i64 0, i64 %142
  %144 = load i64, ptr %143, align 8, !tbaa !8
  %145 = load i64, ptr %13, align 8, !tbaa !8
  %146 = getelementptr inbounds [200000 x i64], ptr @t, i64 0, i64 %145
  %147 = load i64, ptr %146, align 8, !tbaa !8
  %148 = sub nsw i64 %144, %147
  %149 = load i64, ptr %11, align 8, !tbaa !8
  %150 = add nsw i64 %149, %148
  store i64 %150, ptr %11, align 8, !tbaa !8
  br label %151

151:                                              ; preds = %141, %131
  br label %152

152:                                              ; preds = %151
  %153 = load i64, ptr %13, align 8, !tbaa !8
  %154 = add nsw i64 %153, 1
  store i64 %154, ptr %13, align 8, !tbaa !8
  br label %121, !llvm.loop !23

155:                                              ; preds = %125
  %156 = load i64, ptr %11, align 8, !tbaa !8
  %157 = load i64, ptr %12, align 8, !tbaa !8
  %158 = icmp eq i64 %156, %157
  %159 = zext i1 %158 to i64
  %160 = select i1 %158, ptr @.str.2, ptr @.str
  %161 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef %160)
  %162 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %161, i8 noundef signext 10)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %21, !llvm.loop !16

163:                                              ; preds = %21
  %164 = load i32, ptr %1, align 4
  ret i32 %164
}

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

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZSt10accumulateIPxxET0_T_S2_S1_(ptr noundef, ptr noundef, i64 noundef) #5

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #6

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

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { "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 = { 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 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"long long", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = !{!18, !18, i64 0}
!18 = !{!"bool", !10, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"int", !10, i64 0}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = distinct !{!23, !12}


; 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<long long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@T = external dso_local global i64, align 8
@N = external dso_local global i64, align 8
@M = external dso_local global i64, align 8
@v = external dso_local global [200000 x i64], align 16
@t = external dso_local global [200000 x i64], align 16
@alt = external dso_local global [200000 x i64], align 16
@graph = external dso_local global [200000 x %"class.std::vector"], align 16
@bipartite = external dso_local local_unnamed_addr global i8, align 1
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", 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 uwtable
declare dso_local void @_Z3dfsxx(i64 noundef, i64 noundef) local_unnamed_addr #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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #2 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i32, align 4
  %6 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %7 = getelementptr i8, ptr %6, i64 -24
  %8 = load i64, ptr %7, align 8
  %9 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %8
  %10 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %9, ptr noundef null)
  %11 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %12 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) @T)
  %13 = load i64, ptr @T, align 8, !tbaa !8
  %14 = add nsw i64 %13, -1
  store i64 %14, ptr @T, align 8, !tbaa !8
  %.not51 = icmp eq i64 %13, 0
  br i1 %.not51, label %._crit_edge54, label %.lr.ph53

.lr.ph53:                                         ; preds = %0, %.backedge
  %15 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) @N)
  %16 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(8) @M)
  %17 = load i64, ptr @N, align 8, !tbaa !8
  %18 = icmp sgt i64 %17, 0
  br i1 %18, label %.lr.ph, label %.preheader35

.preheader37:                                     ; preds = %.lr.ph
  %19 = icmp sgt i64 %22, 0
  br i1 %19, label %.lr.ph40, label %.preheader35

.lr.ph:                                           ; preds = %.lr.ph53, %.lr.ph
  %.03138 = phi i64 [ %21, %.lr.ph ], [ 0, %.lr.ph53 ]
  %20 = getelementptr inbounds [200000 x %"class.std::vector"], ptr @graph, i64 0, i64 %.03138
  call void @_ZNSt6vectorIxSaIxEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #7
  %21 = add nuw nsw i64 %.03138, 1
  %22 = load i64, ptr @N, align 8, !tbaa !8
  %23 = icmp slt i64 %21, %22
  br i1 %23, label %.lr.ph, label %.preheader37, !llvm.loop !11

.preheader36:                                     ; preds = %.lr.ph40
  %24 = icmp sgt i64 %32, 0
  br i1 %24, label %.lr.ph42, label %.preheader35

.lr.ph40:                                         ; preds = %.preheader37, %.lr.ph40
  %.03039 = phi i64 [ %31, %.lr.ph40 ], [ 0, %.preheader37 ]
  %25 = getelementptr inbounds [200000 x i64], ptr @v, i64 0, i64 %.03039
  %26 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %25)
  %27 = load i64, ptr %25, align 8, !tbaa !8
  %28 = sitofp i64 %27 to double
  %29 = fadd double %28, 1.000000e+09
  %30 = fptosi double %29 to i64
  store i64 %30, ptr %25, align 8, !tbaa !8
  %31 = add nuw nsw i64 %.03039, 1
  %32 = load i64, ptr @N, align 8, !tbaa !8
  %33 = icmp slt i64 %31, %32
  br i1 %33, label %.lr.ph40, label %.preheader36, !llvm.loop !13

.preheader35:                                     ; preds = %.lr.ph42, %.lr.ph53, %.preheader37, %.preheader36
  %34 = phi i64 [ %32, %.preheader36 ], [ %22, %.preheader37 ], [ %17, %.lr.ph53 ], [ %44, %.lr.ph42 ]
  %35 = load i64, ptr @M, align 8, !tbaa !8
  %36 = icmp sgt i64 %35, 0
  br i1 %36, label %.lr.ph44, label %._crit_edge

.lr.ph42:                                         ; preds = %.preheader36, %.lr.ph42
  %.02941 = phi i64 [ %43, %.lr.ph42 ], [ 0, %.preheader36 ]
  %37 = getelementptr inbounds [200000 x i64], ptr @t, i64 0, i64 %.02941
  %38 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %37)
  %39 = load i64, ptr %37, align 8, !tbaa !8
  %40 = sitofp i64 %39 to double
  %41 = fadd double %40, 1.000000e+09
  %42 = fptosi double %41 to i64
  store i64 %42, ptr %37, align 8, !tbaa !8
  %43 = add nuw nsw i64 %.02941, 1
  %44 = load i64, ptr @N, align 8, !tbaa !8
  %45 = icmp slt i64 %43, %44
  br i1 %45, label %.lr.ph42, label %.preheader35, !llvm.loop !14

._crit_edge.loopexit:                             ; preds = %.lr.ph44
  %.pre = load i64, ptr @N, align 8, !tbaa !8
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader35
  %46 = phi i64 [ %.pre, %._crit_edge.loopexit ], [ %34, %.preheader35 ]
  %47 = getelementptr inbounds i64, ptr @v, i64 %46
  %48 = call noundef i64 @_ZSt10accumulateIPxxET0_T_S2_S1_(ptr noundef nonnull @v, ptr noundef nonnull %47, i64 noundef 0)
  %49 = srem i64 %48, 2
  %50 = load i64, ptr @N, align 8, !tbaa !8
  %51 = getelementptr inbounds i64, ptr @t, i64 %50
  %52 = call noundef i64 @_ZSt10accumulateIPxxET0_T_S2_S1_(ptr noundef nonnull @t, ptr noundef nonnull %51, i64 noundef 0)
  %53 = srem i64 %52, 2
  %.not32 = icmp eq i64 %49, %53
  br i1 %.not32, label %73, label %.backedge

.lr.ph44:                                         ; preds = %.preheader35, %.lr.ph44
  %.02843 = phi i64 [ %66, %.lr.ph44 ], [ 0, %.preheader35 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #7
  %54 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %55 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %54, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %56 = load i64, ptr %1, align 8, !tbaa !8
  %57 = add nsw i64 %56, -1
  %58 = getelementptr inbounds [200000 x %"class.std::vector"], ptr @graph, i64 0, i64 %57
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  %59 = load i64, ptr %2, align 8, !tbaa !8
  %60 = add nsw i64 %59, -1
  store i64 %60, ptr %3, align 8, !tbaa !8
  call void @_ZNSt6vectorIxSaIxEE9push_backEOx(ptr noundef nonnull align 8 dereferenceable(24) %58, ptr noundef nonnull align 8 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  %61 = load i64, ptr %2, align 8, !tbaa !8
  %62 = add nsw i64 %61, -1
  %63 = getelementptr inbounds [200000 x %"class.std::vector"], ptr @graph, i64 0, i64 %62
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %64 = load i64, ptr %1, align 8, !tbaa !8
  %65 = add nsw i64 %64, -1
  store i64 %65, ptr %4, align 8, !tbaa !8
  call void @_ZNSt6vectorIxSaIxEE9push_backEOx(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 8 dereferenceable(8) %4)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #7
  %66 = add nuw nsw i64 %.02843, 1
  %67 = load i64, ptr @M, align 8, !tbaa !8
  %68 = icmp slt i64 %66, %67
  br i1 %68, label %.lr.ph44, label %._crit_edge.loopexit, !llvm.loop !15

.backedge:                                        ; preds = %._crit_edge, %73, %._crit_edge49
  %.str.sink = phi ptr [ %92, %._crit_edge49 ], [ @.str.2, %73 ], [ @.str, %._crit_edge ]
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull %.str.sink)
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %69, i8 noundef signext 10)
  %71 = load i64, ptr @T, align 8, !tbaa !8
  %72 = add nsw i64 %71, -1
  store i64 %72, ptr @T, align 8, !tbaa !8
  %.not = icmp eq i64 %71, 0
  br i1 %.not, label %._crit_edge54, label %.lr.ph53, !llvm.loop !16

73:                                               ; preds = %._crit_edge
  store i8 1, ptr @bipartite, align 1, !tbaa !17
  %74 = load i64, ptr @N, align 8, !tbaa !8
  %75 = getelementptr inbounds i64, ptr @alt, i64 %74
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #7
  store i32 -1, ptr %5, align 4, !tbaa !19
  call void @_ZSt4fillIPxiEvT_S1_RKT0_(ptr noundef nonnull @alt, ptr noundef nonnull %75, ptr noundef nonnull align 4 dereferenceable(4) %5)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  call void @_Z3dfsxx(i64 noundef 0, i64 noundef -1)
  %76 = load i8, ptr @bipartite, align 1, !tbaa !17, !range !21, !noundef !22
  %77 = trunc nuw i8 %76 to i1
  br i1 %77, label %.preheader, label %.backedge

.preheader:                                       ; preds = %73
  %78 = load i64, ptr @N, align 8, !tbaa !8
  %79 = icmp sgt i64 %78, 0
  br i1 %79, label %.lr.ph48.preheader, label %._crit_edge49

.lr.ph48.preheader:                               ; preds = %.preheader
  %xtraiter = and i64 %78, 1
  %80 = icmp eq i64 %78, 1
  br i1 %80, label %._crit_edge49.loopexit.unr-lcssa, label %.lr.ph48.preheader.new

.lr.ph48.preheader.new:                           ; preds = %.lr.ph48.preheader
  %unroll_iter = and i64 %78, 9223372036854775806
  br label %.lr.ph48

._crit_edge49.loopexit.unr-lcssa:                 ; preds = %.lr.ph48, %.lr.ph48.preheader
  %.127.lcssa.ph = phi i64 [ poison, %.lr.ph48.preheader ], [ %.127.1, %.lr.ph48 ]
  %.1.lcssa.ph = phi i64 [ poison, %.lr.ph48.preheader ], [ %.1.1, %.lr.ph48 ]
  %.047.unr = phi i64 [ 0, %.lr.ph48.preheader ], [ %114, %.lr.ph48 ]
  %.02546.unr = phi i64 [ 0, %.lr.ph48.preheader ], [ %.1.1, %.lr.ph48 ]
  %.02645.unr = phi i64 [ 0, %.lr.ph48.preheader ], [ %.127.1, %.lr.ph48 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge49, label %.lr.ph48.epil

.lr.ph48.epil:                                    ; preds = %._crit_edge49.loopexit.unr-lcssa
  %81 = getelementptr inbounds [200000 x i64], ptr @alt, i64 0, i64 %.047.unr
  %82 = load i64, ptr %81, align 8, !tbaa !8
  %.not33.epil = icmp eq i64 %82, 0
  %83 = getelementptr inbounds [200000 x i64], ptr @v, i64 0, i64 %.047.unr
  %84 = load i64, ptr %83, align 8, !tbaa !8
  %85 = getelementptr inbounds [200000 x i64], ptr @t, i64 0, i64 %.047.unr
  %86 = load i64, ptr %85, align 8, !tbaa !8
  %87 = add i64 %84, %.02546.unr
  %88 = sub i64 %87, %86
  %89 = add i64 %84, %.02645.unr
  %90 = sub i64 %89, %86
  %.127.epil = select i1 %.not33.epil, i64 %90, i64 %.02645.unr
  %.1.epil = select i1 %.not33.epil, i64 %.02546.unr, i64 %88
  br label %._crit_edge49

._crit_edge49:                                    ; preds = %.lr.ph48.epil, %._crit_edge49.loopexit.unr-lcssa, %.preheader
  %.026.lcssa = phi i64 [ 0, %.preheader ], [ %.127.lcssa.ph, %._crit_edge49.loopexit.unr-lcssa ], [ %.127.epil, %.lr.ph48.epil ]
  %.025.lcssa = phi i64 [ 0, %.preheader ], [ %.1.lcssa.ph, %._crit_edge49.loopexit.unr-lcssa ], [ %.1.epil, %.lr.ph48.epil ]
  %91 = icmp eq i64 %.026.lcssa, %.025.lcssa
  %92 = select i1 %91, ptr @.str.2, ptr @.str
  br label %.backedge

.lr.ph48:                                         ; preds = %.lr.ph48, %.lr.ph48.preheader.new
  %.047 = phi i64 [ 0, %.lr.ph48.preheader.new ], [ %114, %.lr.ph48 ]
  %.02546 = phi i64 [ 0, %.lr.ph48.preheader.new ], [ %.1.1, %.lr.ph48 ]
  %.02645 = phi i64 [ 0, %.lr.ph48.preheader.new ], [ %.127.1, %.lr.ph48 ]
  %niter = phi i64 [ 0, %.lr.ph48.preheader.new ], [ %niter.next.1, %.lr.ph48 ]
  %93 = getelementptr inbounds [200000 x i64], ptr @alt, i64 0, i64 %.047
  %94 = load i64, ptr %93, align 16, !tbaa !8
  %.not33 = icmp eq i64 %94, 0
  %95 = getelementptr inbounds [200000 x i64], ptr @v, i64 0, i64 %.047
  %96 = load i64, ptr %95, align 16, !tbaa !8
  %97 = getelementptr inbounds [200000 x i64], ptr @t, i64 0, i64 %.047
  %98 = load i64, ptr %97, align 16, !tbaa !8
  %99 = add i64 %96, %.02546
  %100 = sub i64 %99, %98
  %101 = add i64 %96, %.02645
  %102 = sub i64 %101, %98
  %.127 = select i1 %.not33, i64 %102, i64 %.02645
  %.1 = select i1 %.not33, i64 %.02546, i64 %100
  %103 = or disjoint i64 %.047, 1
  %104 = getelementptr inbounds [200000 x i64], ptr @alt, i64 0, i64 %103
  %105 = load i64, ptr %104, align 8, !tbaa !8
  %.not33.1 = icmp eq i64 %105, 0
  %106 = getelementptr inbounds [200000 x i64], ptr @v, i64 0, i64 %103
  %107 = load i64, ptr %106, align 8, !tbaa !8
  %108 = getelementptr inbounds [200000 x i64], ptr @t, i64 0, i64 %103
  %109 = load i64, ptr %108, align 8, !tbaa !8
  %110 = add i64 %107, %.1
  %111 = sub i64 %110, %109
  %112 = add i64 %107, %.127
  %113 = sub i64 %112, %109
  %.127.1 = select i1 %.not33.1, i64 %113, i64 %.127
  %.1.1 = select i1 %.not33.1, i64 %.1, i64 %111
  %114 = add nuw nsw i64 %.047, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge49.loopexit.unr-lcssa, label %.lr.ph48, !llvm.loop !23

._crit_edge54:                                    ; preds = %.backedge, %0
  ret i32 0
}

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

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) local_unnamed_addr #4

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZSt10accumulateIPxxET0_T_S2_S1_(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #6

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

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { "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 = { 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 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"long long", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = !{!18, !18, i64 0}
!18 = !{!"bool", !10, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"int", !10, i64 0}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = distinct !{!23, !12}


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