; LLVM IR from sachuverma/DataStructures-Algorithms :: DSA Crack Sheet/solutions (Find the string in grid)

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

@__const._Z8search2DRSt6vectorIS_IcSaIcEESaIS1_EEiiNSt7__cxx1112basic_stringIcSt11char_traitsIcES0_EE.x = external hidden unnamed_addr constant [8 x i32], align 16
@__const._Z8search2DRSt6vectorIS_IcSaIcEESaIS1_EEiiNSt7__cxx1112basic_stringIcSt11char_traitsIcES0_EE.y = external hidden unnamed_addr constant [8 x i32], align 16

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z8search2DRSt6vectorIS_IcSaIcEESaIS1_EEiiNSt7__cxx1112basic_stringIcSt11char_traitsIcES0_EE(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca [8 x i32], align 16
  %14 = alloca [8 x i32], align 16
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !5
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = load i32, ptr %7, align 4, !tbaa !9
  %22 = sext i32 %21 to i64
  %23 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %22) #4
  %24 = load i32, ptr %8, align 4, !tbaa !9
  %25 = sext i32 %24 to i64
  %26 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %25) #4
  %27 = load i8, ptr %26, align 1, !tbaa !11
  %28 = sext i8 %27 to i32
  %29 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef 0)
  %30 = load i8, ptr %29, align 1, !tbaa !11
  %31 = sext i8 %30 to i32
  %32 = icmp ne i32 %28, %31
  br i1 %32, label %33, label %34

33:                                               ; preds = %4
  store i1 false, ptr %5, align 1
  br label %129

34:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %35 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #4
  %36 = trunc i64 %35 to i32
  store i32 %36, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = call noundef i64 @_ZNKSt6vectorIS_IcSaIcEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %37) #4
  %39 = trunc i64 %38 to i32
  store i32 %39, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef 0) #4
  %42 = call noundef i64 @_ZNKSt6vectorIcSaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %41) #4
  %43 = trunc i64 %42 to i32
  store i32 %43, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 @__const._Z8search2DRSt6vectorIS_IcSaIcEESaIS1_EEiiNSt7__cxx1112basic_stringIcSt11char_traitsIcES0_EE.x, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %14, ptr align 16 @__const._Z8search2DRSt6vectorIS_IcSaIcEESaIS1_EEiiNSt7__cxx1112basic_stringIcSt11char_traitsIcES0_EE.y, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %44

44:                                               ; preds = %122, %34
  %45 = load i32, ptr %15, align 4, !tbaa !9
  %46 = icmp slt i32 %45, 8
  br i1 %46, label %48, label %47

47:                                               ; preds = %44
  store i32 2, ptr %16, align 4
  br label %125

48:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  %49 = load i32, ptr %7, align 4, !tbaa !9
  %50 = load i32, ptr %15, align 4, !tbaa !9
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [8 x i32], ptr %13, i64 0, i64 %51
  %53 = load i32, ptr %52, align 4, !tbaa !9
  %54 = add nsw i32 %49, %53
  store i32 %54, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  %55 = load i32, ptr %8, align 4, !tbaa !9
  %56 = load i32, ptr %15, align 4, !tbaa !9
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [8 x i32], ptr %14, i64 0, i64 %57
  %59 = load i32, ptr %58, align 4, !tbaa !9
  %60 = add nsw i32 %55, %59
  store i32 %60, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  br label %61

61:                                               ; preds = %110, %48
  %62 = load i32, ptr %17, align 4, !tbaa !9
  %63 = load i32, ptr %10, align 4, !tbaa !9
  %64 = icmp slt i32 %62, %63
  br i1 %64, label %65, label %113

65:                                               ; preds = %61
  %66 = load i32, ptr %18, align 4, !tbaa !9
  %67 = load i32, ptr %11, align 4, !tbaa !9
  %68 = icmp sge i32 %66, %67
  br i1 %68, label %79, label %69

69:                                               ; preds = %65
  %70 = load i32, ptr %18, align 4, !tbaa !9
  %71 = icmp slt i32 %70, 0
  br i1 %71, label %79, label %72

72:                                               ; preds = %69
  %73 = load i32, ptr %19, align 4, !tbaa !9
  %74 = load i32, ptr %12, align 4, !tbaa !9
  %75 = icmp sge i32 %73, %74
  br i1 %75, label %79, label %76

76:                                               ; preds = %72
  %77 = load i32, ptr %19, align 4, !tbaa !9
  %78 = icmp slt i32 %77, 0
  br i1 %78, label %79, label %80

79:                                               ; preds = %76, %72, %69, %65
  br label %113

80:                                               ; preds = %76
  %81 = load ptr, ptr %6, align 8, !tbaa !5
  %82 = load i32, ptr %18, align 4, !tbaa !9
  %83 = sext i32 %82 to i64
  %84 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %81, i64 noundef %83) #4
  %85 = load i32, ptr %19, align 4, !tbaa !9
  %86 = sext i32 %85 to i64
  %87 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %84, i64 noundef %86) #4
  %88 = load i8, ptr %87, align 1, !tbaa !11
  %89 = sext i8 %88 to i32
  %90 = load i32, ptr %17, align 4, !tbaa !9
  %91 = sext i32 %90 to i64
  %92 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %91)
  %93 = load i8, ptr %92, align 1, !tbaa !11
  %94 = sext i8 %93 to i32
  %95 = icmp ne i32 %89, %94
  br i1 %95, label %96, label %97

96:                                               ; preds = %80
  br label %113

97:                                               ; preds = %80
  %98 = load i32, ptr %15, align 4, !tbaa !9
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [8 x i32], ptr %13, i64 0, i64 %99
  %101 = load i32, ptr %100, align 4, !tbaa !9
  %102 = load i32, ptr %18, align 4, !tbaa !9
  %103 = add nsw i32 %102, %101
  store i32 %103, ptr %18, align 4, !tbaa !9
  %104 = load i32, ptr %15, align 4, !tbaa !9
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds [8 x i32], ptr %14, i64 0, i64 %105
  %107 = load i32, ptr %106, align 4, !tbaa !9
  %108 = load i32, ptr %19, align 4, !tbaa !9
  %109 = add nsw i32 %108, %107
  store i32 %109, ptr %19, align 4, !tbaa !9
  br label %110

110:                                              ; preds = %97
  %111 = load i32, ptr %17, align 4, !tbaa !9
  %112 = add nsw i32 %111, 1
  store i32 %112, ptr %17, align 4, !tbaa !9
  br label %61, !llvm.loop !12

113:                                              ; preds = %96, %79, %61
  %114 = load i32, ptr %17, align 4, !tbaa !9
  %115 = load i32, ptr %10, align 4, !tbaa !9
  %116 = icmp eq i32 %114, %115
  br i1 %116, label %117, label %118

117:                                              ; preds = %113
  store i1 true, ptr %5, align 1
  store i32 1, ptr %16, align 4
  br label %119

118:                                              ; preds = %113
  store i32 0, ptr %16, align 4
  br label %119

119:                                              ; preds = %118, %117
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  %120 = load i32, ptr %16, align 4
  switch i32 %120, label %125 [
    i32 0, label %121
  ]

121:                                              ; preds = %119
  br label %122

122:                                              ; preds = %121
  %123 = load i32, ptr %15, align 4, !tbaa !9
  %124 = add nsw i32 %123, 1
  store i32 %124, ptr %15, align 4, !tbaa !9
  br label %44, !llvm.loop !14

125:                                              ; preds = %119, %47
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  %126 = load i32, ptr %16, align 4
  switch i32 %126, label %128 [
    i32 2, label %127
  ]

127:                                              ; preds = %125
  store i1 false, ptr %5, align 1
  store i32 1, ptr %16, align 4
  br label %128

128:                                              ; preds = %127, %125
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %129

129:                                              ; preds = %128, %33
  %130 = load i1, ptr %5, align 1
  ret i1 %130
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) #1 align 2

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

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

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

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

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

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

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 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind }

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

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


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

@__const._Z8search2DRSt6vectorIS_IcSaIcEESaIS1_EEiiNSt7__cxx1112basic_stringIcSt11char_traitsIcES0_EE.x = external hidden unnamed_addr constant [8 x i32], align 16
@__const._Z8search2DRSt6vectorIS_IcSaIcEESaIS1_EEiiNSt7__cxx1112basic_stringIcSt11char_traitsIcES0_EE.y = external hidden unnamed_addr constant [8 x i32], align 16

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef zeroext i1 @_Z8search2DRSt6vectorIS_IcSaIcEESaIS1_EEiiNSt7__cxx1112basic_stringIcSt11char_traitsIcES0_EE(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
  %5 = sext i32 %1 to i64
  %6 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %5) #1
  %7 = sext i32 %2 to i64
  %8 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %7) #1
  %9 = load i8, ptr %8, align 1, !tbaa !5
  %10 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef 0)
  %11 = load i8, ptr %10, align 1, !tbaa !5
  %.not = icmp eq i8 %9, %11
  br i1 %.not, label %12, label %.critedge

12:                                               ; preds = %4
  %13 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #1
  %14 = trunc i64 %13 to i32
  %15 = tail call noundef i64 @_ZNKSt6vectorIS_IcSaIcEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #1
  %16 = trunc i64 %15 to i32
  %17 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef 0) #1
  %18 = tail call noundef i64 @_ZNKSt6vectorIcSaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #1
  %19 = trunc i64 %18 to i32
  %20 = icmp sgt i32 %14, 1
  br i1 %20, label %.lr.ph.us.preheader, label %.split

.lr.ph.us.preheader:                              ; preds = %12
  %21 = load i32, ptr @__const._Z8search2DRSt6vectorIS_IcSaIcEESaIS1_EEiiNSt7__cxx1112basic_stringIcSt11char_traitsIcES0_EE.x, align 16, !tbaa !8
  %22 = add nsw i32 %21, %1
  %23 = load i32, ptr @__const._Z8search2DRSt6vectorIS_IcSaIcEESaIS1_EEiiNSt7__cxx1112basic_stringIcSt11char_traitsIcES0_EE.y, align 16, !tbaa !8
  %24 = add nsw i32 %23, %2
  %wide.trip.count = and i64 %13, 2147483647
  br label %179

.lr.ph.us.1:                                      ; preds = %._crit_edge.us
  %25 = load i32, ptr getelementptr inbounds (i8, ptr @__const._Z8search2DRSt6vectorIS_IcSaIcEESaIS1_EEiiNSt7__cxx1112basic_stringIcSt11char_traitsIcES0_EE.x, i64 4), align 4, !tbaa !8
  %26 = add nsw i32 %25, %1
  %27 = load i32, ptr getelementptr inbounds (i8, ptr @__const._Z8search2DRSt6vectorIS_IcSaIcEESaIS1_EEiiNSt7__cxx1112basic_stringIcSt11char_traitsIcES0_EE.y, i64 4), align 4, !tbaa !8
  %28 = add nsw i32 %27, %2
  br label %29

29:                                               ; preds = %43, %.lr.ph.us.1
  %indvars.iv.1 = phi i64 [ 1, %.lr.ph.us.1 ], [ %indvars.iv.next.1, %43 ]
  %.046.us.1 = phi i32 [ %28, %.lr.ph.us.1 ], [ %45, %43 ]
  %.03645.us.1 = phi i32 [ %26, %.lr.ph.us.1 ], [ %44, %43 ]
  %30 = icmp sge i32 %.03645.us.1, %16
  %31 = icmp slt i32 %.03645.us.1, 0
  %or.cond.us.1 = or i1 %30, %31
  br i1 %or.cond.us.1, label %._crit_edge.us.1, label %32

32:                                               ; preds = %29
  %33 = icmp sge i32 %.046.us.1, %19
  %34 = icmp slt i32 %.046.us.1, 0
  %or.cond4.us.1 = or i1 %33, %34
  br i1 %or.cond4.us.1, label %._crit_edge.us.1, label %35

35:                                               ; preds = %32
  %36 = zext nneg i32 %.03645.us.1 to i64
  %37 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %36) #1
  %38 = zext nneg i32 %.046.us.1 to i64
  %39 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %38) #1
  %40 = load i8, ptr %39, align 1, !tbaa !5
  %41 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %indvars.iv.1)
  %42 = load i8, ptr %41, align 1, !tbaa !5
  %.not42.us.1 = icmp eq i8 %40, %42
  br i1 %.not42.us.1, label %43, label %._crit_edge.us.1

43:                                               ; preds = %35
  %44 = add nsw i32 %.03645.us.1, %25
  %45 = add nsw i32 %.046.us.1, %27
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv.1, 1
  %exitcond.1.not = icmp eq i64 %indvars.iv.next.1, %wide.trip.count
  br i1 %exitcond.1.not, label %.critedge, label %29, !llvm.loop !10

._crit_edge.us.1:                                 ; preds = %35, %32, %29
  %46 = trunc nuw nsw i64 %indvars.iv.1 to i32
  %.not43.us.1 = icmp eq i32 %46, %14
  br i1 %.not43.us.1, label %.critedge, label %.lr.ph.us.2

.lr.ph.us.2:                                      ; preds = %._crit_edge.us.1
  %47 = load i32, ptr getelementptr inbounds (i8, ptr @__const._Z8search2DRSt6vectorIS_IcSaIcEESaIS1_EEiiNSt7__cxx1112basic_stringIcSt11char_traitsIcES0_EE.x, i64 8), align 8, !tbaa !8
  %48 = add nsw i32 %47, %1
  %49 = load i32, ptr getelementptr inbounds (i8, ptr @__const._Z8search2DRSt6vectorIS_IcSaIcEESaIS1_EEiiNSt7__cxx1112basic_stringIcSt11char_traitsIcES0_EE.y, i64 8), align 8, !tbaa !8
  %50 = add nsw i32 %49, %2
  br label %51

51:                                               ; preds = %65, %.lr.ph.us.2
  %indvars.iv.2 = phi i64 [ 1, %.lr.ph.us.2 ], [ %indvars.iv.next.2, %65 ]
  %.046.us.2 = phi i32 [ %50, %.lr.ph.us.2 ], [ %67, %65 ]
  %.03645.us.2 = phi i32 [ %48, %.lr.ph.us.2 ], [ %66, %65 ]
  %52 = icmp sge i32 %.03645.us.2, %16
  %53 = icmp slt i32 %.03645.us.2, 0
  %or.cond.us.2 = or i1 %52, %53
  br i1 %or.cond.us.2, label %._crit_edge.us.2, label %54

54:                                               ; preds = %51
  %55 = icmp sge i32 %.046.us.2, %19
  %56 = icmp slt i32 %.046.us.2, 0
  %or.cond4.us.2 = or i1 %55, %56
  br i1 %or.cond4.us.2, label %._crit_edge.us.2, label %57

57:                                               ; preds = %54
  %58 = zext nneg i32 %.03645.us.2 to i64
  %59 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %58) #1
  %60 = zext nneg i32 %.046.us.2 to i64
  %61 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %60) #1
  %62 = load i8, ptr %61, align 1, !tbaa !5
  %63 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %indvars.iv.2)
  %64 = load i8, ptr %63, align 1, !tbaa !5
  %.not42.us.2 = icmp eq i8 %62, %64
  br i1 %.not42.us.2, label %65, label %._crit_edge.us.2

65:                                               ; preds = %57
  %66 = add nsw i32 %.03645.us.2, %47
  %67 = add nsw i32 %.046.us.2, %49
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv.2, 1
  %exitcond.2.not = icmp eq i64 %indvars.iv.next.2, %wide.trip.count
  br i1 %exitcond.2.not, label %.critedge, label %51, !llvm.loop !10

._crit_edge.us.2:                                 ; preds = %57, %54, %51
  %68 = trunc nuw nsw i64 %indvars.iv.2 to i32
  %.not43.us.2 = icmp eq i32 %68, %14
  br i1 %.not43.us.2, label %.critedge, label %.lr.ph.us.3

.lr.ph.us.3:                                      ; preds = %._crit_edge.us.2
  %69 = load i32, ptr getelementptr inbounds (i8, ptr @__const._Z8search2DRSt6vectorIS_IcSaIcEESaIS1_EEiiNSt7__cxx1112basic_stringIcSt11char_traitsIcES0_EE.x, i64 12), align 4, !tbaa !8
  %70 = add nsw i32 %69, %1
  %71 = load i32, ptr getelementptr inbounds (i8, ptr @__const._Z8search2DRSt6vectorIS_IcSaIcEESaIS1_EEiiNSt7__cxx1112basic_stringIcSt11char_traitsIcES0_EE.y, i64 12), align 4, !tbaa !8
  %72 = add nsw i32 %71, %2
  br label %73

73:                                               ; preds = %87, %.lr.ph.us.3
  %indvars.iv.3 = phi i64 [ 1, %.lr.ph.us.3 ], [ %indvars.iv.next.3, %87 ]
  %.046.us.3 = phi i32 [ %72, %.lr.ph.us.3 ], [ %89, %87 ]
  %.03645.us.3 = phi i32 [ %70, %.lr.ph.us.3 ], [ %88, %87 ]
  %74 = icmp sge i32 %.03645.us.3, %16
  %75 = icmp slt i32 %.03645.us.3, 0
  %or.cond.us.3 = or i1 %74, %75
  br i1 %or.cond.us.3, label %._crit_edge.us.3, label %76

76:                                               ; preds = %73
  %77 = icmp sge i32 %.046.us.3, %19
  %78 = icmp slt i32 %.046.us.3, 0
  %or.cond4.us.3 = or i1 %77, %78
  br i1 %or.cond4.us.3, label %._crit_edge.us.3, label %79

79:                                               ; preds = %76
  %80 = zext nneg i32 %.03645.us.3 to i64
  %81 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %80) #1
  %82 = zext nneg i32 %.046.us.3 to i64
  %83 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %81, i64 noundef %82) #1
  %84 = load i8, ptr %83, align 1, !tbaa !5
  %85 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %indvars.iv.3)
  %86 = load i8, ptr %85, align 1, !tbaa !5
  %.not42.us.3 = icmp eq i8 %84, %86
  br i1 %.not42.us.3, label %87, label %._crit_edge.us.3

87:                                               ; preds = %79
  %88 = add nsw i32 %.03645.us.3, %69
  %89 = add nsw i32 %.046.us.3, %71
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv.3, 1
  %exitcond.3.not = icmp eq i64 %indvars.iv.next.3, %wide.trip.count
  br i1 %exitcond.3.not, label %.critedge, label %73, !llvm.loop !10

._crit_edge.us.3:                                 ; preds = %79, %76, %73
  %90 = trunc nuw nsw i64 %indvars.iv.3 to i32
  %.not43.us.3 = icmp eq i32 %90, %14
  br i1 %.not43.us.3, label %.critedge, label %.lr.ph.us.4

.lr.ph.us.4:                                      ; preds = %._crit_edge.us.3
  %91 = load i32, ptr getelementptr inbounds (i8, ptr @__const._Z8search2DRSt6vectorIS_IcSaIcEESaIS1_EEiiNSt7__cxx1112basic_stringIcSt11char_traitsIcES0_EE.x, i64 16), align 16, !tbaa !8
  %92 = add nsw i32 %91, %1
  %93 = load i32, ptr getelementptr inbounds (i8, ptr @__const._Z8search2DRSt6vectorIS_IcSaIcEESaIS1_EEiiNSt7__cxx1112basic_stringIcSt11char_traitsIcES0_EE.y, i64 16), align 16, !tbaa !8
  %94 = add nsw i32 %93, %2
  br label %95

95:                                               ; preds = %109, %.lr.ph.us.4
  %indvars.iv.4 = phi i64 [ 1, %.lr.ph.us.4 ], [ %indvars.iv.next.4, %109 ]
  %.046.us.4 = phi i32 [ %94, %.lr.ph.us.4 ], [ %111, %109 ]
  %.03645.us.4 = phi i32 [ %92, %.lr.ph.us.4 ], [ %110, %109 ]
  %96 = icmp sge i32 %.03645.us.4, %16
  %97 = icmp slt i32 %.03645.us.4, 0
  %or.cond.us.4 = or i1 %96, %97
  br i1 %or.cond.us.4, label %._crit_edge.us.4, label %98

98:                                               ; preds = %95
  %99 = icmp sge i32 %.046.us.4, %19
  %100 = icmp slt i32 %.046.us.4, 0
  %or.cond4.us.4 = or i1 %99, %100
  br i1 %or.cond4.us.4, label %._crit_edge.us.4, label %101

101:                                              ; preds = %98
  %102 = zext nneg i32 %.03645.us.4 to i64
  %103 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %102) #1
  %104 = zext nneg i32 %.046.us.4 to i64
  %105 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %103, i64 noundef %104) #1
  %106 = load i8, ptr %105, align 1, !tbaa !5
  %107 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %indvars.iv.4)
  %108 = load i8, ptr %107, align 1, !tbaa !5
  %.not42.us.4 = icmp eq i8 %106, %108
  br i1 %.not42.us.4, label %109, label %._crit_edge.us.4

109:                                              ; preds = %101
  %110 = add nsw i32 %.03645.us.4, %91
  %111 = add nsw i32 %.046.us.4, %93
  %indvars.iv.next.4 = add nuw nsw i64 %indvars.iv.4, 1
  %exitcond.4.not = icmp eq i64 %indvars.iv.next.4, %wide.trip.count
  br i1 %exitcond.4.not, label %.critedge, label %95, !llvm.loop !10

._crit_edge.us.4:                                 ; preds = %101, %98, %95
  %112 = trunc nuw nsw i64 %indvars.iv.4 to i32
  %.not43.us.4 = icmp eq i32 %112, %14
  br i1 %.not43.us.4, label %.critedge, label %.lr.ph.us.5

.lr.ph.us.5:                                      ; preds = %._crit_edge.us.4
  %113 = load i32, ptr getelementptr inbounds (i8, ptr @__const._Z8search2DRSt6vectorIS_IcSaIcEESaIS1_EEiiNSt7__cxx1112basic_stringIcSt11char_traitsIcES0_EE.x, i64 20), align 4, !tbaa !8
  %114 = add nsw i32 %113, %1
  %115 = load i32, ptr getelementptr inbounds (i8, ptr @__const._Z8search2DRSt6vectorIS_IcSaIcEESaIS1_EEiiNSt7__cxx1112basic_stringIcSt11char_traitsIcES0_EE.y, i64 20), align 4, !tbaa !8
  %116 = add nsw i32 %115, %2
  br label %117

117:                                              ; preds = %131, %.lr.ph.us.5
  %indvars.iv.5 = phi i64 [ 1, %.lr.ph.us.5 ], [ %indvars.iv.next.5, %131 ]
  %.046.us.5 = phi i32 [ %116, %.lr.ph.us.5 ], [ %133, %131 ]
  %.03645.us.5 = phi i32 [ %114, %.lr.ph.us.5 ], [ %132, %131 ]
  %118 = icmp sge i32 %.03645.us.5, %16
  %119 = icmp slt i32 %.03645.us.5, 0
  %or.cond.us.5 = or i1 %118, %119
  br i1 %or.cond.us.5, label %._crit_edge.us.5, label %120

120:                                              ; preds = %117
  %121 = icmp sge i32 %.046.us.5, %19
  %122 = icmp slt i32 %.046.us.5, 0
  %or.cond4.us.5 = or i1 %121, %122
  br i1 %or.cond4.us.5, label %._crit_edge.us.5, label %123

123:                                              ; preds = %120
  %124 = zext nneg i32 %.03645.us.5 to i64
  %125 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %124) #1
  %126 = zext nneg i32 %.046.us.5 to i64
  %127 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %125, i64 noundef %126) #1
  %128 = load i8, ptr %127, align 1, !tbaa !5
  %129 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %indvars.iv.5)
  %130 = load i8, ptr %129, align 1, !tbaa !5
  %.not42.us.5 = icmp eq i8 %128, %130
  br i1 %.not42.us.5, label %131, label %._crit_edge.us.5

131:                                              ; preds = %123
  %132 = add nsw i32 %.03645.us.5, %113
  %133 = add nsw i32 %.046.us.5, %115
  %indvars.iv.next.5 = add nuw nsw i64 %indvars.iv.5, 1
  %exitcond.5.not = icmp eq i64 %indvars.iv.next.5, %wide.trip.count
  br i1 %exitcond.5.not, label %.critedge, label %117, !llvm.loop !10

._crit_edge.us.5:                                 ; preds = %123, %120, %117
  %134 = trunc nuw nsw i64 %indvars.iv.5 to i32
  %.not43.us.5 = icmp eq i32 %134, %14
  br i1 %.not43.us.5, label %.critedge, label %.lr.ph.us.6

.lr.ph.us.6:                                      ; preds = %._crit_edge.us.5
  %135 = load i32, ptr getelementptr inbounds (i8, ptr @__const._Z8search2DRSt6vectorIS_IcSaIcEESaIS1_EEiiNSt7__cxx1112basic_stringIcSt11char_traitsIcES0_EE.x, i64 24), align 8, !tbaa !8
  %136 = add nsw i32 %135, %1
  %137 = load i32, ptr getelementptr inbounds (i8, ptr @__const._Z8search2DRSt6vectorIS_IcSaIcEESaIS1_EEiiNSt7__cxx1112basic_stringIcSt11char_traitsIcES0_EE.y, i64 24), align 8, !tbaa !8
  %138 = add nsw i32 %137, %2
  br label %139

139:                                              ; preds = %153, %.lr.ph.us.6
  %indvars.iv.6 = phi i64 [ 1, %.lr.ph.us.6 ], [ %indvars.iv.next.6, %153 ]
  %.046.us.6 = phi i32 [ %138, %.lr.ph.us.6 ], [ %155, %153 ]
  %.03645.us.6 = phi i32 [ %136, %.lr.ph.us.6 ], [ %154, %153 ]
  %140 = icmp sge i32 %.03645.us.6, %16
  %141 = icmp slt i32 %.03645.us.6, 0
  %or.cond.us.6 = or i1 %140, %141
  br i1 %or.cond.us.6, label %._crit_edge.us.6, label %142

142:                                              ; preds = %139
  %143 = icmp sge i32 %.046.us.6, %19
  %144 = icmp slt i32 %.046.us.6, 0
  %or.cond4.us.6 = or i1 %143, %144
  br i1 %or.cond4.us.6, label %._crit_edge.us.6, label %145

145:                                              ; preds = %142
  %146 = zext nneg i32 %.03645.us.6 to i64
  %147 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %146) #1
  %148 = zext nneg i32 %.046.us.6 to i64
  %149 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %147, i64 noundef %148) #1
  %150 = load i8, ptr %149, align 1, !tbaa !5
  %151 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %indvars.iv.6)
  %152 = load i8, ptr %151, align 1, !tbaa !5
  %.not42.us.6 = icmp eq i8 %150, %152
  br i1 %.not42.us.6, label %153, label %._crit_edge.us.6

153:                                              ; preds = %145
  %154 = add nsw i32 %.03645.us.6, %135
  %155 = add nsw i32 %.046.us.6, %137
  %indvars.iv.next.6 = add nuw nsw i64 %indvars.iv.6, 1
  %exitcond.6.not = icmp eq i64 %indvars.iv.next.6, %wide.trip.count
  br i1 %exitcond.6.not, label %.critedge, label %139, !llvm.loop !10

._crit_edge.us.6:                                 ; preds = %145, %142, %139
  %156 = trunc nuw nsw i64 %indvars.iv.6 to i32
  %.not43.us.6 = icmp eq i32 %156, %14
  br i1 %.not43.us.6, label %.critedge, label %.lr.ph.us.7

.lr.ph.us.7:                                      ; preds = %._crit_edge.us.6
  %157 = load i32, ptr getelementptr inbounds (i8, ptr @__const._Z8search2DRSt6vectorIS_IcSaIcEESaIS1_EEiiNSt7__cxx1112basic_stringIcSt11char_traitsIcES0_EE.x, i64 28), align 4, !tbaa !8
  %158 = add nsw i32 %157, %1
  %159 = load i32, ptr getelementptr inbounds (i8, ptr @__const._Z8search2DRSt6vectorIS_IcSaIcEESaIS1_EEiiNSt7__cxx1112basic_stringIcSt11char_traitsIcES0_EE.y, i64 28), align 4, !tbaa !8
  %160 = add nsw i32 %159, %2
  br label %161

161:                                              ; preds = %175, %.lr.ph.us.7
  %indvars.iv.7 = phi i64 [ 1, %.lr.ph.us.7 ], [ %indvars.iv.next.7, %175 ]
  %.046.us.7 = phi i32 [ %160, %.lr.ph.us.7 ], [ %177, %175 ]
  %.03645.us.7 = phi i32 [ %158, %.lr.ph.us.7 ], [ %176, %175 ]
  %162 = icmp sge i32 %.03645.us.7, %16
  %163 = icmp slt i32 %.03645.us.7, 0
  %or.cond.us.7 = or i1 %162, %163
  br i1 %or.cond.us.7, label %._crit_edge.us.7, label %164

164:                                              ; preds = %161
  %165 = icmp sge i32 %.046.us.7, %19
  %166 = icmp slt i32 %.046.us.7, 0
  %or.cond4.us.7 = or i1 %165, %166
  br i1 %or.cond4.us.7, label %._crit_edge.us.7, label %167

167:                                              ; preds = %164
  %168 = zext nneg i32 %.03645.us.7 to i64
  %169 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %168) #1
  %170 = zext nneg i32 %.046.us.7 to i64
  %171 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %169, i64 noundef %170) #1
  %172 = load i8, ptr %171, align 1, !tbaa !5
  %173 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %indvars.iv.7)
  %174 = load i8, ptr %173, align 1, !tbaa !5
  %.not42.us.7 = icmp eq i8 %172, %174
  br i1 %.not42.us.7, label %175, label %._crit_edge.us.7

175:                                              ; preds = %167
  %176 = add nsw i32 %.03645.us.7, %157
  %177 = add nsw i32 %.046.us.7, %159
  %indvars.iv.next.7 = add nuw nsw i64 %indvars.iv.7, 1
  %exitcond.7.not = icmp eq i64 %indvars.iv.next.7, %wide.trip.count
  br i1 %exitcond.7.not, label %.critedge, label %161, !llvm.loop !10

._crit_edge.us.7:                                 ; preds = %167, %164, %161
  %178 = trunc nuw nsw i64 %indvars.iv.7 to i32
  %.not43.us.7 = icmp eq i32 %178, %14
  br label %.critedge

179:                                              ; preds = %.lr.ph.us.preheader, %193
  %indvars.iv = phi i64 [ 1, %.lr.ph.us.preheader ], [ %indvars.iv.next, %193 ]
  %.046.us = phi i32 [ %24, %.lr.ph.us.preheader ], [ %195, %193 ]
  %.03645.us = phi i32 [ %22, %.lr.ph.us.preheader ], [ %194, %193 ]
  %180 = icmp sge i32 %.03645.us, %16
  %181 = icmp slt i32 %.03645.us, 0
  %or.cond.us = or i1 %180, %181
  br i1 %or.cond.us, label %._crit_edge.us, label %182

182:                                              ; preds = %179
  %183 = icmp sge i32 %.046.us, %19
  %184 = icmp slt i32 %.046.us, 0
  %or.cond4.us = or i1 %183, %184
  br i1 %or.cond4.us, label %._crit_edge.us, label %185

185:                                              ; preds = %182
  %186 = zext nneg i32 %.03645.us to i64
  %187 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IcSaIcEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %186) #1
  %188 = zext nneg i32 %.046.us to i64
  %189 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %187, i64 noundef %188) #1
  %190 = load i8, ptr %189, align 1, !tbaa !5
  %191 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %indvars.iv)
  %192 = load i8, ptr %191, align 1, !tbaa !5
  %.not42.us = icmp eq i8 %190, %192
  br i1 %.not42.us, label %193, label %._crit_edge.us

193:                                              ; preds = %185
  %194 = add nsw i32 %.03645.us, %21
  %195 = add nsw i32 %.046.us, %23
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.critedge, label %179, !llvm.loop !10

._crit_edge.us:                                   ; preds = %182, %179, %185
  %196 = trunc nuw nsw i64 %indvars.iv to i32
  %.not43.us = icmp eq i32 %196, %14
  br i1 %.not43.us, label %.critedge, label %.lr.ph.us.1

.split:                                           ; preds = %12
  %.not43 = icmp eq i32 %14, 1
  br label %.critedge

.critedge:                                        ; preds = %193, %43, %65, %87, %109, %131, %153, %175, %.split, %._crit_edge.us.7, %._crit_edge.us, %._crit_edge.us.1, %._crit_edge.us.2, %._crit_edge.us.3, %._crit_edge.us.4, %._crit_edge.us.5, %._crit_edge.us.6, %4
  %.4 = phi i1 [ false, %4 ], [ true, %._crit_edge.us ], [ true, %._crit_edge.us.1 ], [ true, %._crit_edge.us.2 ], [ true, %._crit_edge.us.3 ], [ true, %._crit_edge.us.4 ], [ true, %._crit_edge.us.5 ], [ true, %._crit_edge.us.6 ], [ %.not43.us.7, %._crit_edge.us.7 ], [ %.not43, %.split ], [ true, %175 ], [ true, %153 ], [ true, %131 ], [ true, %109 ], [ true, %87 ], [ true, %65 ], [ true, %43 ], [ true, %193 ]
  ret i1 %.4
}

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

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

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

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind }

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

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


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