; LLVM IR from eyangch/competitive-programming :: Codeforces/1779/f.ll (Z3dfsxx)

; 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.__gnu_cxx::__normal_iterator" = type { ptr }

@A = external dso_local global [200000 x i64], align 16
@G = external dso_local global [200000 x %"class.std::vector"], align 16
@X = external dso_local global [200000 x [32 x i8]], align 16
@cd = external dso_local global [200000 x [32 x [3 x i64]]], align 16
@sts = external dso_local global [200000 x i64], align 16

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3dfsxx(i64 noundef %0, i64 noundef %1) #3 {
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca i32, align 4
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca i64, align 8
  %14 = alloca [32 x i64], align 16
  %15 = alloca i32, align 4
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  store i64 %0, ptr %3, align 8, !tbaa !5
  store i64 %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %19 = load i64, ptr %3, align 8, !tbaa !5
  %20 = getelementptr inbounds [200000 x %"class.std::vector"], ptr @G, i64 0, i64 %19
  store ptr %20, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %21 = load ptr, ptr %5, align 8, !tbaa !9
  %22 = call ptr @_ZNSt6vectorIxSaIxEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #5
  %23 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %6, i32 0, i32 0
  store ptr %22, ptr %23, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %24 = load ptr, ptr %5, align 8, !tbaa !9
  %25 = call ptr @_ZNSt6vectorIxSaIxEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #5
  %26 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %7, i32 0, i32 0
  store ptr %25, ptr %26, align 8
  br label %27

27:                                               ; preds = %43, %2
  %28 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPxSt6vectorIxSaIxEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br i1 %28, label %30, label %29

29:                                               ; preds = %27
  store i32 2, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  br label %45

30:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %31 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPxSt6vectorIxSaIxEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  %32 = load i64, ptr %31, align 8, !tbaa !5
  store i64 %32, ptr %9, align 8, !tbaa !5
  %33 = load i64, ptr %9, align 8, !tbaa !5
  %34 = load i64, ptr %4, align 8, !tbaa !5
  %35 = icmp eq i64 %33, %34
  br i1 %35, label %36, label %37

36:                                               ; preds = %30
  store i32 3, ptr %8, align 4
  br label %40

37:                                               ; preds = %30
  %38 = load i64, ptr %9, align 8, !tbaa !5
  %39 = load i64, ptr %3, align 8, !tbaa !5
  call void @_Z3dfsxx(i64 noundef %38, i64 noundef %39)
  store i32 0, ptr %8, align 4
  br label %40

40:                                               ; preds = %37, %36
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  %41 = load i32, ptr %8, align 4
  switch i32 %41, label %172 [
    i32 0, label %42
    i32 3, label %43
  ]

42:                                               ; preds = %40
  br label %43

43:                                               ; preds = %42, %40
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPxSt6vectorIxSaIxEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  br label %27

45:                                               ; preds = %29
  %46 = load i64, ptr %3, align 8, !tbaa !5
  %47 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %46
  %48 = getelementptr inbounds [32 x i8], ptr %47, i64 0, i64 0
  store i8 1, ptr %48, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %49 = load i64, ptr %3, align 8, !tbaa !5
  %50 = getelementptr inbounds [200000 x %"class.std::vector"], ptr @G, i64 0, i64 %49
  store ptr %50, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %51 = load ptr, ptr %10, align 8, !tbaa !9
  %52 = call ptr @_ZNSt6vectorIxSaIxEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #5
  %53 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %11, i32 0, i32 0
  store ptr %52, ptr %53, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %54 = load ptr, ptr %10, align 8, !tbaa !9
  %55 = call ptr @_ZNSt6vectorIxSaIxEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %54) #5
  %56 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  store ptr %55, ptr %56, align 8
  br label %57

57:                                               ; preds = %156, %45
  %58 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPxSt6vectorIxSaIxEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  br i1 %58, label %60, label %59

59:                                               ; preds = %57
  store i32 4, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %158

60:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPxSt6vectorIxSaIxEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %62 = load i64, ptr %61, align 8, !tbaa !5
  store i64 %62, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 256, ptr %14) #5
  %63 = getelementptr inbounds [32 x i64], ptr %14, i64 0, i64 0
  %64 = getelementptr inbounds [32 x i64], ptr %14, i64 0, i64 0
  %65 = getelementptr inbounds i64, ptr %64, i64 32
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !13
  call void @_ZSt4fillIPxiEvT_S1_RKT0_(ptr noundef %63, ptr noundef %65, ptr noundef nonnull align 4 dereferenceable(4) %15)
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  store i64 0, ptr %16, align 8, !tbaa !5
  br label %66

66:                                               ; preds = %130, %60
  %67 = load i64, ptr %16, align 8, !tbaa !5
  %68 = icmp slt i64 %67, 32
  br i1 %68, label %70, label %69

69:                                               ; preds = %66
  store i32 6, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %133

70:                                               ; preds = %66
  %71 = load i64, ptr %3, align 8, !tbaa !5
  %72 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %71
  %73 = load i64, ptr %16, align 8, !tbaa !5
  %74 = getelementptr inbounds [32 x i8], ptr %72, i64 0, i64 %73
  %75 = load i8, ptr %74, align 1, !tbaa !11, !range !15, !noundef !16
  %76 = trunc i8 %75 to i1
  %77 = zext i1 %76 to i32
  %78 = icmp sgt i32 %77, 0
  br i1 %78, label %79, label %80

79:                                               ; preds = %70
  br label %130

80:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  store i64 0, ptr %17, align 8, !tbaa !5
  br label %81

81:                                               ; preds = %125, %80
  %82 = load i64, ptr %17, align 8, !tbaa !5
  %83 = icmp slt i64 %82, 32
  br i1 %83, label %85, label %84

84:                                               ; preds = %81
  store i32 9, ptr %8, align 4
  br label %128

85:                                               ; preds = %81
  %86 = load i64, ptr %3, align 8, !tbaa !5
  %87 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %86
  %88 = load i64, ptr %16, align 8, !tbaa !5
  %89 = load i64, ptr %17, align 8, !tbaa !5
  %90 = xor i64 %88, %89
  %91 = getelementptr inbounds [32 x i8], ptr %87, i64 0, i64 %90
  %92 = load i8, ptr %91, align 1, !tbaa !11, !range !15, !noundef !16
  %93 = trunc i8 %92 to i1
  br i1 %93, label %94, label %124

94:                                               ; preds = %85
  %95 = load i64, ptr %13, align 8, !tbaa !5
  %96 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %95
  %97 = load i64, ptr %17, align 8, !tbaa !5
  %98 = getelementptr inbounds [32 x i8], ptr %96, i64 0, i64 %97
  %99 = load i8, ptr %98, align 1, !tbaa !11, !range !15, !noundef !16
  %100 = trunc i8 %99 to i1
  br i1 %100, label %101, label %124

101:                                              ; preds = %94
  %102 = load i64, ptr %16, align 8, !tbaa !5
  %103 = getelementptr inbounds [32 x i64], ptr %14, i64 0, i64 %102
  store i64 1, ptr %103, align 8, !tbaa !5
  %104 = load i64, ptr %17, align 8, !tbaa !5
  %105 = load i64, ptr %3, align 8, !tbaa !5
  %106 = getelementptr inbounds [200000 x [32 x [3 x i64]]], ptr @cd, i64 0, i64 %105
  %107 = load i64, ptr %16, align 8, !tbaa !5
  %108 = getelementptr inbounds [32 x [3 x i64]], ptr %106, i64 0, i64 %107
  %109 = getelementptr inbounds [3 x i64], ptr %108, i64 0, i64 0
  store i64 %104, ptr %109, align 8, !tbaa !5
  %110 = load i64, ptr %13, align 8, !tbaa !5
  %111 = load i64, ptr %3, align 8, !tbaa !5
  %112 = getelementptr inbounds [200000 x [32 x [3 x i64]]], ptr @cd, i64 0, i64 %111
  %113 = load i64, ptr %16, align 8, !tbaa !5
  %114 = getelementptr inbounds [32 x [3 x i64]], ptr %112, i64 0, i64 %113
  %115 = getelementptr inbounds [3 x i64], ptr %114, i64 0, i64 2
  store i64 %110, ptr %115, align 8, !tbaa !5
  %116 = load i64, ptr %16, align 8, !tbaa !5
  %117 = load i64, ptr %17, align 8, !tbaa !5
  %118 = xor i64 %116, %117
  %119 = load i64, ptr %3, align 8, !tbaa !5
  %120 = getelementptr inbounds [200000 x [32 x [3 x i64]]], ptr @cd, i64 0, i64 %119
  %121 = load i64, ptr %16, align 8, !tbaa !5
  %122 = getelementptr inbounds [32 x [3 x i64]], ptr %120, i64 0, i64 %121
  %123 = getelementptr inbounds [3 x i64], ptr %122, i64 0, i64 1
  store i64 %118, ptr %123, align 8, !tbaa !5
  store i32 9, ptr %8, align 4
  br label %128

124:                                              ; preds = %94, %85
  br label %125

125:                                              ; preds = %124
  %126 = load i64, ptr %17, align 8, !tbaa !5
  %127 = add nsw i64 %126, 1
  store i64 %127, ptr %17, align 8, !tbaa !5
  br label %81, !llvm.loop !17

128:                                              ; preds = %101, %84
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  br label %129

129:                                              ; preds = %128
  br label %130

130:                                              ; preds = %129, %79
  %131 = load i64, ptr %16, align 8, !tbaa !5
  %132 = add nsw i64 %131, 1
  store i64 %132, ptr %16, align 8, !tbaa !5
  br label %66, !llvm.loop !19

133:                                              ; preds = %69
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  store i64 0, ptr %18, align 8, !tbaa !5
  br label %134

134:                                              ; preds = %152, %133
  %135 = load i64, ptr %18, align 8, !tbaa !5
  %136 = icmp slt i64 %135, 32
  br i1 %136, label %138, label %137

137:                                              ; preds = %134
  store i32 12, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %155

138:                                              ; preds = %134
  %139 = load i64, ptr %18, align 8, !tbaa !5
  %140 = getelementptr inbounds [32 x i64], ptr %14, i64 0, i64 %139
  %141 = load i64, ptr %140, align 8, !tbaa !5
  %142 = load i64, ptr %3, align 8, !tbaa !5
  %143 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %142
  %144 = load i64, ptr %18, align 8, !tbaa !5
  %145 = getelementptr inbounds [32 x i8], ptr %143, i64 0, i64 %144
  %146 = load i8, ptr %145, align 1, !tbaa !11, !range !15, !noundef !16
  %147 = trunc i8 %146 to i1
  %148 = zext i1 %147 to i64
  %149 = or i64 %148, %141
  %150 = icmp ne i64 %149, 0
  %151 = zext i1 %150 to i8
  store i8 %151, ptr %145, align 1, !tbaa !11
  br label %152

152:                                              ; preds = %138
  %153 = load i64, ptr %18, align 8, !tbaa !5
  %154 = add nsw i64 %153, 1
  store i64 %154, ptr %18, align 8, !tbaa !5
  br label %134, !llvm.loop !20

155:                                              ; preds = %137
  call void @llvm.lifetime.end.p0(i64 256, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %156

156:                                              ; preds = %155
  %157 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPxSt6vectorIxSaIxEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  br label %57

158:                                              ; preds = %59
  %159 = load i64, ptr %3, align 8, !tbaa !5
  %160 = getelementptr inbounds [200000 x i64], ptr @sts, i64 0, i64 %159
  %161 = load i64, ptr %160, align 8, !tbaa !5
  %162 = srem i64 %161, 2
  %163 = icmp eq i64 %162, 0
  br i1 %163, label %164, label %171

164:                                              ; preds = %158
  %165 = load i64, ptr %3, align 8, !tbaa !5
  %166 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %165
  %167 = load i64, ptr %3, align 8, !tbaa !5
  %168 = getelementptr inbounds [200000 x i64], ptr @A, i64 0, i64 %167
  %169 = load i64, ptr %168, align 8, !tbaa !5
  %170 = getelementptr inbounds [32 x i8], ptr %166, i64 0, i64 %169
  store i8 1, ptr %170, align 1, !tbaa !11
  br label %171

171:                                              ; preds = %164, %158
  ret void

172:                                              ; preds = %40
  unreachable
}

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

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


; 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.__gnu_cxx::__normal_iterator" = type { ptr }

@A = external dso_local local_unnamed_addr global [200000 x i64], align 16
@G = external dso_local global [200000 x %"class.std::vector"], align 16
@X = external dso_local local_unnamed_addr global [200000 x [32 x i8]], align 16
@cd = external dso_local local_unnamed_addr global [200000 x [32 x [3 x i64]]], align 16
@sts = external dso_local local_unnamed_addr global [200000 x i64], align 16

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3dfsxx(i64 noundef %0, i64 noundef %1) local_unnamed_addr #3 {
  %3 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca [32 x i64], align 16
  %8 = alloca i32, align 4
  %9 = getelementptr inbounds [200000 x %"class.std::vector"], ptr @G, i64 0, i64 %0
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %10 = tail call ptr @_ZNSt6vectorIxSaIxEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  store ptr %10, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  %11 = tail call ptr @_ZNSt6vectorIxSaIxEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  store ptr %11, ptr %4, align 8
  %12 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPxSt6vectorIxSaIxEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  br i1 %12, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %24, %2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  %13 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0
  store i8 1, ptr %13, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %14 = call ptr @_ZNSt6vectorIxSaIxEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  store ptr %14, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %15 = call ptr @_ZNSt6vectorIxSaIxEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  store ptr %15, ptr %6, align 8
  %16 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPxSt6vectorIxSaIxEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  br i1 %16, label %.lr.ph49, label %._crit_edge50

.lr.ph49:                                         ; preds = %._crit_edge
  %17 = getelementptr inbounds i8, ptr %7, i64 256
  %18 = getelementptr inbounds i8, ptr %7, i64 128
  %19 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 16
  br label %31

.lr.ph:                                           ; preds = %2, %24
  %20 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPxSt6vectorIxSaIxEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  %21 = load i64, ptr %20, align 8, !tbaa !9
  %22 = icmp eq i64 %21, %1
  br i1 %22, label %24, label %23

23:                                               ; preds = %.lr.ph
  call void @_Z3dfsxx(i64 noundef %21, i64 noundef %0)
  br label %24

24:                                               ; preds = %.lr.ph, %23
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPxSt6vectorIxSaIxEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  %26 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPxSt6vectorIxSaIxEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  br i1 %26, label %.lr.ph, label %._crit_edge

._crit_edge50:                                    ; preds = %.preheader43.preheader, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  %27 = getelementptr inbounds [200000 x i64], ptr @sts, i64 0, i64 %0
  %28 = load i64, ptr %27, align 8, !tbaa !9
  %29 = and i64 %28, 1
  %30 = icmp eq i64 %29, 0
  br i1 %30, label %306, label %310

31:                                               ; preds = %.lr.ph49, %.preheader43.preheader
  %32 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPxSt6vectorIxSaIxEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  %33 = load i64, ptr %32, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #5
  store i32 0, ptr %8, align 4, !tbaa !11
  call void @_ZSt4fillIPxiEvT_S1_RKT0_(ptr noundef nonnull %7, ptr noundef nonnull %17, ptr noundef nonnull align 4 dereferenceable(4) %8)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  %34 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 1
  %35 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 2
  %36 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 3
  %37 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 4
  %38 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 5
  %39 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 6
  %40 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 7
  %41 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 8
  %42 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 9
  %43 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 10
  %44 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 11
  %45 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 12
  %46 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 13
  %47 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 14
  %48 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 15
  %49 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 16
  %50 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 17
  %51 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 18
  %52 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 19
  %53 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 20
  %54 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 21
  %55 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 22
  %56 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 23
  %57 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 24
  %58 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 25
  %59 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 26
  %60 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 27
  %61 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 28
  %62 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 29
  %63 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 30
  %64 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %33, i64 31
  br label %65

65:                                               ; preds = %31, %.loopexit
  %.04146 = phi i64 [ 0, %31 ], [ %291, %.loopexit ]
  %66 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %.04146
  %67 = load i8, ptr %66, align 1, !tbaa !5, !range !13, !noundef !14
  %68 = trunc nuw i8 %67 to i1
  br i1 %68, label %.loopexit, label %.preheader.1

69:                                               ; preds = %288, %281, %274, %267, %260, %253, %246, %239, %232, %225, %218, %211, %204, %197, %190, %183, %176, %169, %162, %155, %148, %141, %134, %127, %120, %113, %106, %99, %92, %85, %78
  %.04045.lcssa = phi i64 [ 1, %78 ], [ 2, %85 ], [ 3, %92 ], [ 4, %99 ], [ 5, %106 ], [ 6, %113 ], [ 7, %120 ], [ 8, %127 ], [ 9, %134 ], [ 10, %141 ], [ 11, %148 ], [ 12, %155 ], [ 13, %162 ], [ 14, %169 ], [ 15, %176 ], [ 16, %183 ], [ 17, %190 ], [ 18, %197 ], [ 19, %204 ], [ 20, %211 ], [ 21, %218 ], [ 22, %225 ], [ 23, %232 ], [ 24, %239 ], [ 25, %246 ], [ 26, %253 ], [ 27, %260 ], [ 28, %267 ], [ 29, %274 ], [ 30, %281 ], [ 31, %288 ]
  %.lcssa = phi i64 [ %74, %78 ], [ %81, %85 ], [ %88, %92 ], [ %95, %99 ], [ %102, %106 ], [ %109, %113 ], [ %116, %120 ], [ %123, %127 ], [ %130, %134 ], [ %137, %141 ], [ %144, %148 ], [ %151, %155 ], [ %158, %162 ], [ %165, %169 ], [ %172, %176 ], [ %179, %183 ], [ %186, %190 ], [ %193, %197 ], [ %200, %204 ], [ %207, %211 ], [ %214, %218 ], [ %221, %225 ], [ %228, %232 ], [ %235, %239 ], [ %242, %246 ], [ %249, %253 ], [ %256, %260 ], [ %263, %267 ], [ %270, %274 ], [ %277, %281 ], [ %284, %288 ]
  %70 = getelementptr inbounds [32 x i64], ptr %7, i64 0, i64 %.04146
  store i64 1, ptr %70, align 8, !tbaa !9
  %71 = getelementptr inbounds [200000 x [32 x [3 x i64]]], ptr @cd, i64 0, i64 %0, i64 %.04146
  store i64 %.04045.lcssa, ptr %71, align 8, !tbaa !9
  %72 = getelementptr inbounds i8, ptr %71, i64 16
  store i64 %33, ptr %72, align 8, !tbaa !9
  %73 = getelementptr inbounds i8, ptr %71, i64 8
  store i64 %.lcssa, ptr %73, align 8, !tbaa !9
  br label %.loopexit

.preheader.1:                                     ; preds = %65
  %74 = xor i64 %.04146, 1
  %75 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %74
  %76 = load i8, ptr %75, align 1, !tbaa !5, !range !13, !noundef !14
  %77 = trunc nuw i8 %76 to i1
  br i1 %77, label %78, label %.preheader.2

78:                                               ; preds = %.preheader.1
  %79 = load i8, ptr %34, align 1, !tbaa !5, !range !13, !noundef !14
  %80 = trunc nuw i8 %79 to i1
  br i1 %80, label %69, label %.preheader.2

.preheader.2:                                     ; preds = %78, %.preheader.1
  %81 = xor i64 %.04146, 2
  %82 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %81
  %83 = load i8, ptr %82, align 1, !tbaa !5, !range !13, !noundef !14
  %84 = trunc nuw i8 %83 to i1
  br i1 %84, label %85, label %.preheader.3

85:                                               ; preds = %.preheader.2
  %86 = load i8, ptr %35, align 2, !tbaa !5, !range !13, !noundef !14
  %87 = trunc nuw i8 %86 to i1
  br i1 %87, label %69, label %.preheader.3

.preheader.3:                                     ; preds = %85, %.preheader.2
  %88 = xor i64 %.04146, 3
  %89 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %88
  %90 = load i8, ptr %89, align 1, !tbaa !5, !range !13, !noundef !14
  %91 = trunc nuw i8 %90 to i1
  br i1 %91, label %92, label %.preheader.4

92:                                               ; preds = %.preheader.3
  %93 = load i8, ptr %36, align 1, !tbaa !5, !range !13, !noundef !14
  %94 = trunc nuw i8 %93 to i1
  br i1 %94, label %69, label %.preheader.4

.preheader.4:                                     ; preds = %92, %.preheader.3
  %95 = xor i64 %.04146, 4
  %96 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %95
  %97 = load i8, ptr %96, align 1, !tbaa !5, !range !13, !noundef !14
  %98 = trunc nuw i8 %97 to i1
  br i1 %98, label %99, label %.preheader.5

99:                                               ; preds = %.preheader.4
  %100 = load i8, ptr %37, align 4, !tbaa !5, !range !13, !noundef !14
  %101 = trunc nuw i8 %100 to i1
  br i1 %101, label %69, label %.preheader.5

.preheader.5:                                     ; preds = %99, %.preheader.4
  %102 = xor i64 %.04146, 5
  %103 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %102
  %104 = load i8, ptr %103, align 1, !tbaa !5, !range !13, !noundef !14
  %105 = trunc nuw i8 %104 to i1
  br i1 %105, label %106, label %.preheader.6

106:                                              ; preds = %.preheader.5
  %107 = load i8, ptr %38, align 1, !tbaa !5, !range !13, !noundef !14
  %108 = trunc nuw i8 %107 to i1
  br i1 %108, label %69, label %.preheader.6

.preheader.6:                                     ; preds = %106, %.preheader.5
  %109 = xor i64 %.04146, 6
  %110 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %109
  %111 = load i8, ptr %110, align 1, !tbaa !5, !range !13, !noundef !14
  %112 = trunc nuw i8 %111 to i1
  br i1 %112, label %113, label %.preheader.7

113:                                              ; preds = %.preheader.6
  %114 = load i8, ptr %39, align 2, !tbaa !5, !range !13, !noundef !14
  %115 = trunc nuw i8 %114 to i1
  br i1 %115, label %69, label %.preheader.7

.preheader.7:                                     ; preds = %113, %.preheader.6
  %116 = xor i64 %.04146, 7
  %117 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %116
  %118 = load i8, ptr %117, align 1, !tbaa !5, !range !13, !noundef !14
  %119 = trunc nuw i8 %118 to i1
  br i1 %119, label %120, label %.preheader.8

120:                                              ; preds = %.preheader.7
  %121 = load i8, ptr %40, align 1, !tbaa !5, !range !13, !noundef !14
  %122 = trunc nuw i8 %121 to i1
  br i1 %122, label %69, label %.preheader.8

.preheader.8:                                     ; preds = %120, %.preheader.7
  %123 = xor i64 %.04146, 8
  %124 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %123
  %125 = load i8, ptr %124, align 1, !tbaa !5, !range !13, !noundef !14
  %126 = trunc nuw i8 %125 to i1
  br i1 %126, label %127, label %.preheader.9

127:                                              ; preds = %.preheader.8
  %128 = load i8, ptr %41, align 8, !tbaa !5, !range !13, !noundef !14
  %129 = trunc nuw i8 %128 to i1
  br i1 %129, label %69, label %.preheader.9

.preheader.9:                                     ; preds = %127, %.preheader.8
  %130 = xor i64 %.04146, 9
  %131 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %130
  %132 = load i8, ptr %131, align 1, !tbaa !5, !range !13, !noundef !14
  %133 = trunc nuw i8 %132 to i1
  br i1 %133, label %134, label %.preheader.10

134:                                              ; preds = %.preheader.9
  %135 = load i8, ptr %42, align 1, !tbaa !5, !range !13, !noundef !14
  %136 = trunc nuw i8 %135 to i1
  br i1 %136, label %69, label %.preheader.10

.preheader.10:                                    ; preds = %134, %.preheader.9
  %137 = xor i64 %.04146, 10
  %138 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %137
  %139 = load i8, ptr %138, align 1, !tbaa !5, !range !13, !noundef !14
  %140 = trunc nuw i8 %139 to i1
  br i1 %140, label %141, label %.preheader.11

141:                                              ; preds = %.preheader.10
  %142 = load i8, ptr %43, align 2, !tbaa !5, !range !13, !noundef !14
  %143 = trunc nuw i8 %142 to i1
  br i1 %143, label %69, label %.preheader.11

.preheader.11:                                    ; preds = %141, %.preheader.10
  %144 = xor i64 %.04146, 11
  %145 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %144
  %146 = load i8, ptr %145, align 1, !tbaa !5, !range !13, !noundef !14
  %147 = trunc nuw i8 %146 to i1
  br i1 %147, label %148, label %.preheader.12

148:                                              ; preds = %.preheader.11
  %149 = load i8, ptr %44, align 1, !tbaa !5, !range !13, !noundef !14
  %150 = trunc nuw i8 %149 to i1
  br i1 %150, label %69, label %.preheader.12

.preheader.12:                                    ; preds = %148, %.preheader.11
  %151 = xor i64 %.04146, 12
  %152 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %151
  %153 = load i8, ptr %152, align 1, !tbaa !5, !range !13, !noundef !14
  %154 = trunc nuw i8 %153 to i1
  br i1 %154, label %155, label %.preheader.13

155:                                              ; preds = %.preheader.12
  %156 = load i8, ptr %45, align 4, !tbaa !5, !range !13, !noundef !14
  %157 = trunc nuw i8 %156 to i1
  br i1 %157, label %69, label %.preheader.13

.preheader.13:                                    ; preds = %155, %.preheader.12
  %158 = xor i64 %.04146, 13
  %159 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %158
  %160 = load i8, ptr %159, align 1, !tbaa !5, !range !13, !noundef !14
  %161 = trunc nuw i8 %160 to i1
  br i1 %161, label %162, label %.preheader.14

162:                                              ; preds = %.preheader.13
  %163 = load i8, ptr %46, align 1, !tbaa !5, !range !13, !noundef !14
  %164 = trunc nuw i8 %163 to i1
  br i1 %164, label %69, label %.preheader.14

.preheader.14:                                    ; preds = %162, %.preheader.13
  %165 = xor i64 %.04146, 14
  %166 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %165
  %167 = load i8, ptr %166, align 1, !tbaa !5, !range !13, !noundef !14
  %168 = trunc nuw i8 %167 to i1
  br i1 %168, label %169, label %.preheader.15

169:                                              ; preds = %.preheader.14
  %170 = load i8, ptr %47, align 2, !tbaa !5, !range !13, !noundef !14
  %171 = trunc nuw i8 %170 to i1
  br i1 %171, label %69, label %.preheader.15

.preheader.15:                                    ; preds = %169, %.preheader.14
  %172 = xor i64 %.04146, 15
  %173 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %172
  %174 = load i8, ptr %173, align 1, !tbaa !5, !range !13, !noundef !14
  %175 = trunc nuw i8 %174 to i1
  br i1 %175, label %176, label %.preheader.16

176:                                              ; preds = %.preheader.15
  %177 = load i8, ptr %48, align 1, !tbaa !5, !range !13, !noundef !14
  %178 = trunc nuw i8 %177 to i1
  br i1 %178, label %69, label %.preheader.16

.preheader.16:                                    ; preds = %176, %.preheader.15
  %179 = xor i64 %.04146, 16
  %180 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %179
  %181 = load i8, ptr %180, align 1, !tbaa !5, !range !13, !noundef !14
  %182 = trunc nuw i8 %181 to i1
  br i1 %182, label %183, label %.preheader.17

183:                                              ; preds = %.preheader.16
  %184 = load i8, ptr %49, align 16, !tbaa !5, !range !13, !noundef !14
  %185 = trunc nuw i8 %184 to i1
  br i1 %185, label %69, label %.preheader.17

.preheader.17:                                    ; preds = %183, %.preheader.16
  %186 = xor i64 %.04146, 17
  %187 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %186
  %188 = load i8, ptr %187, align 1, !tbaa !5, !range !13, !noundef !14
  %189 = trunc nuw i8 %188 to i1
  br i1 %189, label %190, label %.preheader.18

190:                                              ; preds = %.preheader.17
  %191 = load i8, ptr %50, align 1, !tbaa !5, !range !13, !noundef !14
  %192 = trunc nuw i8 %191 to i1
  br i1 %192, label %69, label %.preheader.18

.preheader.18:                                    ; preds = %190, %.preheader.17
  %193 = xor i64 %.04146, 18
  %194 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %193
  %195 = load i8, ptr %194, align 1, !tbaa !5, !range !13, !noundef !14
  %196 = trunc nuw i8 %195 to i1
  br i1 %196, label %197, label %.preheader.19

197:                                              ; preds = %.preheader.18
  %198 = load i8, ptr %51, align 2, !tbaa !5, !range !13, !noundef !14
  %199 = trunc nuw i8 %198 to i1
  br i1 %199, label %69, label %.preheader.19

.preheader.19:                                    ; preds = %197, %.preheader.18
  %200 = xor i64 %.04146, 19
  %201 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %200
  %202 = load i8, ptr %201, align 1, !tbaa !5, !range !13, !noundef !14
  %203 = trunc nuw i8 %202 to i1
  br i1 %203, label %204, label %.preheader.20

204:                                              ; preds = %.preheader.19
  %205 = load i8, ptr %52, align 1, !tbaa !5, !range !13, !noundef !14
  %206 = trunc nuw i8 %205 to i1
  br i1 %206, label %69, label %.preheader.20

.preheader.20:                                    ; preds = %204, %.preheader.19
  %207 = xor i64 %.04146, 20
  %208 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %207
  %209 = load i8, ptr %208, align 1, !tbaa !5, !range !13, !noundef !14
  %210 = trunc nuw i8 %209 to i1
  br i1 %210, label %211, label %.preheader.21

211:                                              ; preds = %.preheader.20
  %212 = load i8, ptr %53, align 4, !tbaa !5, !range !13, !noundef !14
  %213 = trunc nuw i8 %212 to i1
  br i1 %213, label %69, label %.preheader.21

.preheader.21:                                    ; preds = %211, %.preheader.20
  %214 = xor i64 %.04146, 21
  %215 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %214
  %216 = load i8, ptr %215, align 1, !tbaa !5, !range !13, !noundef !14
  %217 = trunc nuw i8 %216 to i1
  br i1 %217, label %218, label %.preheader.22

218:                                              ; preds = %.preheader.21
  %219 = load i8, ptr %54, align 1, !tbaa !5, !range !13, !noundef !14
  %220 = trunc nuw i8 %219 to i1
  br i1 %220, label %69, label %.preheader.22

.preheader.22:                                    ; preds = %218, %.preheader.21
  %221 = xor i64 %.04146, 22
  %222 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %221
  %223 = load i8, ptr %222, align 1, !tbaa !5, !range !13, !noundef !14
  %224 = trunc nuw i8 %223 to i1
  br i1 %224, label %225, label %.preheader.23

225:                                              ; preds = %.preheader.22
  %226 = load i8, ptr %55, align 2, !tbaa !5, !range !13, !noundef !14
  %227 = trunc nuw i8 %226 to i1
  br i1 %227, label %69, label %.preheader.23

.preheader.23:                                    ; preds = %225, %.preheader.22
  %228 = xor i64 %.04146, 23
  %229 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %228
  %230 = load i8, ptr %229, align 1, !tbaa !5, !range !13, !noundef !14
  %231 = trunc nuw i8 %230 to i1
  br i1 %231, label %232, label %.preheader.24

232:                                              ; preds = %.preheader.23
  %233 = load i8, ptr %56, align 1, !tbaa !5, !range !13, !noundef !14
  %234 = trunc nuw i8 %233 to i1
  br i1 %234, label %69, label %.preheader.24

.preheader.24:                                    ; preds = %232, %.preheader.23
  %235 = xor i64 %.04146, 24
  %236 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %235
  %237 = load i8, ptr %236, align 1, !tbaa !5, !range !13, !noundef !14
  %238 = trunc nuw i8 %237 to i1
  br i1 %238, label %239, label %.preheader.25

239:                                              ; preds = %.preheader.24
  %240 = load i8, ptr %57, align 8, !tbaa !5, !range !13, !noundef !14
  %241 = trunc nuw i8 %240 to i1
  br i1 %241, label %69, label %.preheader.25

.preheader.25:                                    ; preds = %239, %.preheader.24
  %242 = xor i64 %.04146, 25
  %243 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %242
  %244 = load i8, ptr %243, align 1, !tbaa !5, !range !13, !noundef !14
  %245 = trunc nuw i8 %244 to i1
  br i1 %245, label %246, label %.preheader.26

246:                                              ; preds = %.preheader.25
  %247 = load i8, ptr %58, align 1, !tbaa !5, !range !13, !noundef !14
  %248 = trunc nuw i8 %247 to i1
  br i1 %248, label %69, label %.preheader.26

.preheader.26:                                    ; preds = %246, %.preheader.25
  %249 = xor i64 %.04146, 26
  %250 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %249
  %251 = load i8, ptr %250, align 1, !tbaa !5, !range !13, !noundef !14
  %252 = trunc nuw i8 %251 to i1
  br i1 %252, label %253, label %.preheader.27

253:                                              ; preds = %.preheader.26
  %254 = load i8, ptr %59, align 2, !tbaa !5, !range !13, !noundef !14
  %255 = trunc nuw i8 %254 to i1
  br i1 %255, label %69, label %.preheader.27

.preheader.27:                                    ; preds = %253, %.preheader.26
  %256 = xor i64 %.04146, 27
  %257 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %256
  %258 = load i8, ptr %257, align 1, !tbaa !5, !range !13, !noundef !14
  %259 = trunc nuw i8 %258 to i1
  br i1 %259, label %260, label %.preheader.28

260:                                              ; preds = %.preheader.27
  %261 = load i8, ptr %60, align 1, !tbaa !5, !range !13, !noundef !14
  %262 = trunc nuw i8 %261 to i1
  br i1 %262, label %69, label %.preheader.28

.preheader.28:                                    ; preds = %260, %.preheader.27
  %263 = xor i64 %.04146, 28
  %264 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %263
  %265 = load i8, ptr %264, align 1, !tbaa !5, !range !13, !noundef !14
  %266 = trunc nuw i8 %265 to i1
  br i1 %266, label %267, label %.preheader.29

267:                                              ; preds = %.preheader.28
  %268 = load i8, ptr %61, align 4, !tbaa !5, !range !13, !noundef !14
  %269 = trunc nuw i8 %268 to i1
  br i1 %269, label %69, label %.preheader.29

.preheader.29:                                    ; preds = %267, %.preheader.28
  %270 = xor i64 %.04146, 29
  %271 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %270
  %272 = load i8, ptr %271, align 1, !tbaa !5, !range !13, !noundef !14
  %273 = trunc nuw i8 %272 to i1
  br i1 %273, label %274, label %.preheader.30

274:                                              ; preds = %.preheader.29
  %275 = load i8, ptr %62, align 1, !tbaa !5, !range !13, !noundef !14
  %276 = trunc nuw i8 %275 to i1
  br i1 %276, label %69, label %.preheader.30

.preheader.30:                                    ; preds = %274, %.preheader.29
  %277 = xor i64 %.04146, 30
  %278 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %277
  %279 = load i8, ptr %278, align 1, !tbaa !5, !range !13, !noundef !14
  %280 = trunc nuw i8 %279 to i1
  br i1 %280, label %281, label %.preheader.31

281:                                              ; preds = %.preheader.30
  %282 = load i8, ptr %63, align 2, !tbaa !5, !range !13, !noundef !14
  %283 = trunc nuw i8 %282 to i1
  br i1 %283, label %69, label %.preheader.31

.preheader.31:                                    ; preds = %281, %.preheader.30
  %284 = xor i64 %.04146, 31
  %285 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %284
  %286 = load i8, ptr %285, align 1, !tbaa !5, !range !13, !noundef !14
  %287 = trunc nuw i8 %286 to i1
  br i1 %287, label %288, label %.loopexit

288:                                              ; preds = %.preheader.31
  %289 = load i8, ptr %64, align 1, !tbaa !5, !range !13, !noundef !14
  %290 = trunc nuw i8 %289 to i1
  br i1 %290, label %69, label %.loopexit

.loopexit:                                        ; preds = %.preheader.31, %288, %69, %65
  %291 = add nuw nsw i64 %.04146, 1
  %exitcond.not = icmp eq i64 %291, 32
  br i1 %exitcond.not, label %.preheader43.preheader, label %65, !llvm.loop !15

.preheader43.preheader:                           ; preds = %.loopexit
  %292 = load <16 x i64>, ptr %7, align 16, !tbaa !9
  %293 = load <16 x i8>, ptr %13, align 16, !tbaa !5
  %294 = zext <16 x i8> %293 to <16 x i64>
  %295 = or <16 x i64> %292, %294
  %296 = icmp ne <16 x i64> %295, zeroinitializer
  %297 = zext <16 x i1> %296 to <16 x i8>
  store <16 x i8> %297, ptr %13, align 16, !tbaa !5
  %298 = load <16 x i64>, ptr %18, align 16, !tbaa !9
  %299 = load <16 x i8>, ptr %19, align 16, !tbaa !5
  %300 = zext <16 x i8> %299 to <16 x i64>
  %301 = or <16 x i64> %298, %300
  %302 = icmp ne <16 x i64> %301, zeroinitializer
  %303 = zext <16 x i1> %302 to <16 x i8>
  store <16 x i8> %303, ptr %19, align 16, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %7) #5
  %304 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPxSt6vectorIxSaIxEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  %305 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPxSt6vectorIxSaIxEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  br i1 %305, label %31, label %._crit_edge50

306:                                              ; preds = %._crit_edge50
  %307 = getelementptr inbounds [200000 x i64], ptr @A, i64 0, i64 %0
  %308 = load i64, ptr %307, align 8, !tbaa !9
  %309 = getelementptr inbounds [200000 x [32 x i8]], ptr @X, i64 0, i64 %0, i64 %308
  store i8 1, ptr %309, align 1, !tbaa !5
  br label %310

310:                                              ; preds = %306, %._crit_edge50
  ret void
}

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #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 = { 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 = !{!"bool", !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 = !{!"int", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}


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