; LLVM IR from Godot-Machine-Learning/Godot_MachineLearning :: porter2_stemmer/ZN14Porter2Stemmer8internal5step4ERNSt7/cxx1112basic_stringIcSt1_60543e25/ZN14Porter2Stemmer8internal5step4ERNSt7 (traitsIcESaIcEEEm)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.std::pair" = type { %"class.meta::util::basic_string_view", %"class.meta::util::basic_string_view" }
%"class.meta::util::basic_string_view" = type { ptr, i64 }

@.str.3 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [4 x i8], align 1
@_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs = external hidden constant [16 x %"struct.std::pair"], align 16
@.str.78 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [2 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca %"class.meta::util::basic_string_view", align 8
  %11 = alloca %"class.meta::util::basic_string_view", align 8
  %12 = alloca %"class.meta::util::basic_string_view", align 8
  %13 = alloca %"class.meta::util::basic_string_view", align 8
  %14 = alloca %"class.meta::util::basic_string_view", align 8
  %15 = alloca %"class.meta::util::basic_string_view", align 8
  %16 = alloca %"class.meta::util::basic_string_view", align 8
  %17 = alloca %"class.meta::util::basic_string_view", align 8
  %18 = alloca %"class.meta::util::basic_string_view", align 8
  %19 = alloca %"class.meta::util::basic_string_view", align 8
  %20 = alloca %"class.meta::util::basic_string_view", align 8
  %21 = alloca %"class.meta::util::basic_string_view", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i64 %1, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  store ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store ptr getelementptr inbounds (%"struct.std::pair", ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 16), ptr %7, align 8, !tbaa !5
  br label %22

22:                                               ; preds = %49, %2
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  %25 = icmp ne ptr %23, %24
  br i1 %25, label %27, label %26

26:                                               ; preds = %22
  store i32 2, ptr %8, align 4
  br label %52

27:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %28, ptr %9, align 8, !tbaa !5
  %29 = load ptr, ptr %3, align 8, !tbaa !5
  %30 = load ptr, ptr %9, align 8, !tbaa !5
  %31 = getelementptr inbounds %"struct.std::pair", ptr %30, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %31, i64 16, i1 false), !tbaa.struct !11
  %32 = load ptr, ptr %9, align 8, !tbaa !5
  %33 = getelementptr inbounds %"struct.std::pair", ptr %32, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %33, i64 16, i1 false), !tbaa.struct !11
  %34 = load i64, ptr %4, align 8, !tbaa !9
  %35 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 0
  %36 = load ptr, ptr %35, align 8
  %37 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 1
  %38 = load i64, ptr %37, align 8
  %39 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 0
  %40 = load ptr, ptr %39, align 8
  %41 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 1
  %42 = load i64, ptr %41, align 8
  %43 = call noundef zeroext i1 @_ZN14Porter2Stemmer8internal15replaceIfExistsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4meta4util17basic_string_viewIcS4_EESB_m(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr %36, i64 %38, ptr %40, i64 %42, i64 noundef %34)
  br i1 %43, label %44, label %45

44:                                               ; preds = %27
  store i32 1, ptr %8, align 4
  br label %46

45:                                               ; preds = %27
  store i32 0, ptr %8, align 4
  br label %46

46:                                               ; preds = %45, %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  %47 = load i32, ptr %8, align 4
  switch i32 %47, label %52 [
    i32 0, label %48
  ]

48:                                               ; preds = %46
  br label %49

49:                                               ; preds = %48
  %50 = load ptr, ptr %6, align 8, !tbaa !5
  %51 = getelementptr inbounds %"struct.std::pair", ptr %50, i32 1
  store ptr %51, ptr %6, align 8, !tbaa !5
  br label %22

52:                                               ; preds = %46, %26
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  %53 = load i32, ptr %8, align 4
  switch i32 %53, label %119 [
    i32 2, label %54
    i32 1, label %118
  ]

54:                                               ; preds = %52
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN4meta4util17basic_string_viewIcSt11char_traitsIcEEC2ISaIcEEERKNSt7__cxx1112basic_stringIcS3_T_EE(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(32) %55) #4
  call void @_ZN4meta4util17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef @.str.78)
  %56 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 0
  %57 = load ptr, ptr %56, align 8
  %58 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 1
  %59 = load i64, ptr %58, align 8
  %60 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 0
  %61 = load ptr, ptr %60, align 8
  %62 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 1
  %63 = load i64, ptr %62, align 8
  %64 = call noundef zeroext i1 @_ZN14Porter2Stemmer8internal8endsWithEN4meta4util17basic_string_viewIcSt11char_traitsIcEEES6_(ptr %57, i64 %59, ptr %61, i64 %63)
  br i1 %64, label %90, label %65

65:                                               ; preds = %54
  %66 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN4meta4util17basic_string_viewIcSt11char_traitsIcEEC2ISaIcEEERKNSt7__cxx1112basic_stringIcS3_T_EE(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(32) %66) #4
  call void @_ZN4meta4util17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef @.str.79)
  %67 = getelementptr inbounds { ptr, i64 }, ptr %14, i32 0, i32 0
  %68 = load ptr, ptr %67, align 8
  %69 = getelementptr inbounds { ptr, i64 }, ptr %14, i32 0, i32 1
  %70 = load i64, ptr %69, align 8
  %71 = getelementptr inbounds { ptr, i64 }, ptr %15, i32 0, i32 0
  %72 = load ptr, ptr %71, align 8
  %73 = getelementptr inbounds { ptr, i64 }, ptr %15, i32 0, i32 1
  %74 = load i64, ptr %73, align 8
  %75 = call noundef zeroext i1 @_ZN14Porter2Stemmer8internal8endsWithEN4meta4util17basic_string_viewIcSt11char_traitsIcEEES6_(ptr %68, i64 %70, ptr %72, i64 %74)
  br i1 %75, label %90, label %76

76:                                               ; preds = %65
  %77 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN4meta4util17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef @.str.41)
  call void @_ZN4meta4util17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef @.str.3)
  %78 = load i64, ptr %4, align 8, !tbaa !9
  %79 = getelementptr inbounds { ptr, i64 }, ptr %16, i32 0, i32 0
  %80 = load ptr, ptr %79, align 8
  %81 = getelementptr inbounds { ptr, i64 }, ptr %16, i32 0, i32 1
  %82 = load i64, ptr %81, align 8
  %83 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 0
  %84 = load ptr, ptr %83, align 8
  %85 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 1
  %86 = load i64, ptr %85, align 8
  %87 = call noundef zeroext i1 @_ZN14Porter2Stemmer8internal15replaceIfExistsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4meta4util17basic_string_viewIcS4_EESB_m(ptr noundef nonnull align 8 dereferenceable(32) %77, ptr %80, i64 %82, ptr %84, i64 %86, i64 noundef %78)
  br i1 %87, label %88, label %89

88:                                               ; preds = %76
  br label %118

89:                                               ; preds = %76
  br label %90

90:                                               ; preds = %89, %65, %54
  %91 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN4meta4util17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef @.str.82)
  call void @_ZN4meta4util17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef @.str.10)
  %92 = load i64, ptr %4, align 8, !tbaa !9
  %93 = sub i64 %92, 1
  %94 = getelementptr inbounds { ptr, i64 }, ptr %18, i32 0, i32 0
  %95 = load ptr, ptr %94, align 8
  %96 = getelementptr inbounds { ptr, i64 }, ptr %18, i32 0, i32 1
  %97 = load i64, ptr %96, align 8
  %98 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 0
  %99 = load ptr, ptr %98, align 8
  %100 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 1
  %101 = load i64, ptr %100, align 8
  %102 = call noundef zeroext i1 @_ZN14Porter2Stemmer8internal15replaceIfExistsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4meta4util17basic_string_viewIcS4_EESB_m(ptr noundef nonnull align 8 dereferenceable(32) %91, ptr %95, i64 %97, ptr %99, i64 %101, i64 noundef %93)
  br i1 %102, label %116, label %103

103:                                              ; preds = %90
  %104 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN4meta4util17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef @.str.33)
  call void @_ZN4meta4util17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef @.str.83)
  %105 = load i64, ptr %4, align 8, !tbaa !9
  %106 = sub i64 %105, 1
  %107 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 0
  %108 = load ptr, ptr %107, align 8
  %109 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 1
  %110 = load i64, ptr %109, align 8
  %111 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 0
  %112 = load ptr, ptr %111, align 8
  %113 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 1
  %114 = load i64, ptr %113, align 8
  %115 = call noundef zeroext i1 @_ZN14Porter2Stemmer8internal15replaceIfExistsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4meta4util17basic_string_viewIcS4_EESB_m(ptr noundef nonnull align 8 dereferenceable(32) %104, ptr %108, i64 %110, ptr %112, i64 %114, i64 noundef %106)
  br label %116

116:                                              ; preds = %103, %90
  %117 = phi i1 [ true, %90 ], [ %115, %103 ]
  br label %118

118:                                              ; preds = %116, %88, %52
  ret void

119:                                              ; preds = %52
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN14Porter2Stemmer8internal15replaceIfExistsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4meta4util17basic_string_viewIcS4_EESB_m(ptr noundef nonnull align 8 dereferenceable(32), ptr, i64, ptr, i64, i64 noundef) #1

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN14Porter2Stemmer8internal8endsWithEN4meta4util17basic_string_viewIcSt11char_traitsIcEEES6_(ptr, i64, ptr, i64) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4meta4util17basic_string_viewIcSt11char_traitsIcEEC2ISaIcEEERKNSt7__cxx1112basic_stringIcS3_T_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 = { 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 = !{!"long", !7, i64 0}
!11 = !{i64 0, i64 8, !5, i64 8, i64 8, !9}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.std::pair" = type { %"class.meta::util::basic_string_view", %"class.meta::util::basic_string_view" }
%"class.meta::util::basic_string_view" = type { ptr, i64 }

@.str.3 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [4 x i8], align 1
@_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs = external hidden local_unnamed_addr constant [16 x %"struct.std::pair"], align 16
@.str.78 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef %1) local_unnamed_addr #0 {
  %3 = alloca %"class.meta::util::basic_string_view", align 8
  %4 = alloca %"class.meta::util::basic_string_view", align 8
  %5 = alloca %"class.meta::util::basic_string_view", align 8
  %6 = alloca %"class.meta::util::basic_string_view", align 8
  %7 = alloca %"class.meta::util::basic_string_view", align 8
  %8 = alloca %"class.meta::util::basic_string_view", align 8
  %9 = alloca %"class.meta::util::basic_string_view", align 8
  %10 = alloca %"class.meta::util::basic_string_view", align 8
  %11 = alloca %"class.meta::util::basic_string_view", align 8
  %12 = alloca %"class.meta::util::basic_string_view", align 8
  %.sroa.01.0.copyload = load ptr, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, align 16, !tbaa !5
  %.sroa.22.0.copyload = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 8), align 8, !tbaa !9
  %.sroa.0.0.copyload = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 16), align 16, !tbaa !5
  %.sroa.2.0.copyload = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 24), align 8, !tbaa !9
  %13 = tail call noundef zeroext i1 @_ZN14Porter2Stemmer8internal15replaceIfExistsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4meta4util17basic_string_viewIcS4_EESB_m(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr %.sroa.01.0.copyload, i64 %.sroa.22.0.copyload, ptr %.sroa.0.0.copyload, i64 %.sroa.2.0.copyload, i64 noundef %1)
  br i1 %13, label %.loopexit, label %14

14:                                               ; preds = %2
  %.sroa.01.0.copyload.1 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 32), align 16, !tbaa !5
  %.sroa.22.0.copyload.1 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 40), align 8, !tbaa !9
  %.sroa.0.0.copyload.1 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 48), align 16, !tbaa !5
  %.sroa.2.0.copyload.1 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 56), align 8, !tbaa !9
  %15 = tail call noundef zeroext i1 @_ZN14Porter2Stemmer8internal15replaceIfExistsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4meta4util17basic_string_viewIcS4_EESB_m(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr %.sroa.01.0.copyload.1, i64 %.sroa.22.0.copyload.1, ptr %.sroa.0.0.copyload.1, i64 %.sroa.2.0.copyload.1, i64 noundef %1)
  br i1 %15, label %.loopexit, label %16

16:                                               ; preds = %14
  %.sroa.01.0.copyload.2 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 64), align 16, !tbaa !5
  %.sroa.22.0.copyload.2 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 72), align 8, !tbaa !9
  %.sroa.0.0.copyload.2 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 80), align 16, !tbaa !5
  %.sroa.2.0.copyload.2 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 88), align 8, !tbaa !9
  %17 = tail call noundef zeroext i1 @_ZN14Porter2Stemmer8internal15replaceIfExistsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4meta4util17basic_string_viewIcS4_EESB_m(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr %.sroa.01.0.copyload.2, i64 %.sroa.22.0.copyload.2, ptr %.sroa.0.0.copyload.2, i64 %.sroa.2.0.copyload.2, i64 noundef %1)
  br i1 %17, label %.loopexit, label %18

18:                                               ; preds = %16
  %.sroa.01.0.copyload.3 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 96), align 16, !tbaa !5
  %.sroa.22.0.copyload.3 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 104), align 8, !tbaa !9
  %.sroa.0.0.copyload.3 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 112), align 16, !tbaa !5
  %.sroa.2.0.copyload.3 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 120), align 8, !tbaa !9
  %19 = tail call noundef zeroext i1 @_ZN14Porter2Stemmer8internal15replaceIfExistsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4meta4util17basic_string_viewIcS4_EESB_m(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr %.sroa.01.0.copyload.3, i64 %.sroa.22.0.copyload.3, ptr %.sroa.0.0.copyload.3, i64 %.sroa.2.0.copyload.3, i64 noundef %1)
  br i1 %19, label %.loopexit, label %20

20:                                               ; preds = %18
  %.sroa.01.0.copyload.4 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 128), align 16, !tbaa !5
  %.sroa.22.0.copyload.4 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 136), align 8, !tbaa !9
  %.sroa.0.0.copyload.4 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 144), align 16, !tbaa !5
  %.sroa.2.0.copyload.4 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 152), align 8, !tbaa !9
  %21 = tail call noundef zeroext i1 @_ZN14Porter2Stemmer8internal15replaceIfExistsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4meta4util17basic_string_viewIcS4_EESB_m(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr %.sroa.01.0.copyload.4, i64 %.sroa.22.0.copyload.4, ptr %.sroa.0.0.copyload.4, i64 %.sroa.2.0.copyload.4, i64 noundef %1)
  br i1 %21, label %.loopexit, label %22

22:                                               ; preds = %20
  %.sroa.01.0.copyload.5 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 160), align 16, !tbaa !5
  %.sroa.22.0.copyload.5 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 168), align 8, !tbaa !9
  %.sroa.0.0.copyload.5 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 176), align 16, !tbaa !5
  %.sroa.2.0.copyload.5 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 184), align 8, !tbaa !9
  %23 = tail call noundef zeroext i1 @_ZN14Porter2Stemmer8internal15replaceIfExistsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4meta4util17basic_string_viewIcS4_EESB_m(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr %.sroa.01.0.copyload.5, i64 %.sroa.22.0.copyload.5, ptr %.sroa.0.0.copyload.5, i64 %.sroa.2.0.copyload.5, i64 noundef %1)
  br i1 %23, label %.loopexit, label %24

24:                                               ; preds = %22
  %.sroa.01.0.copyload.6 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 192), align 16, !tbaa !5
  %.sroa.22.0.copyload.6 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 200), align 8, !tbaa !9
  %.sroa.0.0.copyload.6 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 208), align 16, !tbaa !5
  %.sroa.2.0.copyload.6 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 216), align 8, !tbaa !9
  %25 = tail call noundef zeroext i1 @_ZN14Porter2Stemmer8internal15replaceIfExistsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4meta4util17basic_string_viewIcS4_EESB_m(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr %.sroa.01.0.copyload.6, i64 %.sroa.22.0.copyload.6, ptr %.sroa.0.0.copyload.6, i64 %.sroa.2.0.copyload.6, i64 noundef %1)
  br i1 %25, label %.loopexit, label %26

26:                                               ; preds = %24
  %.sroa.01.0.copyload.7 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 224), align 16, !tbaa !5
  %.sroa.22.0.copyload.7 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 232), align 8, !tbaa !9
  %.sroa.0.0.copyload.7 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 240), align 16, !tbaa !5
  %.sroa.2.0.copyload.7 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 248), align 8, !tbaa !9
  %27 = tail call noundef zeroext i1 @_ZN14Porter2Stemmer8internal15replaceIfExistsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4meta4util17basic_string_viewIcS4_EESB_m(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr %.sroa.01.0.copyload.7, i64 %.sroa.22.0.copyload.7, ptr %.sroa.0.0.copyload.7, i64 %.sroa.2.0.copyload.7, i64 noundef %1)
  br i1 %27, label %.loopexit, label %28

28:                                               ; preds = %26
  %.sroa.01.0.copyload.8 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 256), align 16, !tbaa !5
  %.sroa.22.0.copyload.8 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 264), align 8, !tbaa !9
  %.sroa.0.0.copyload.8 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 272), align 16, !tbaa !5
  %.sroa.2.0.copyload.8 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 280), align 8, !tbaa !9
  %29 = tail call noundef zeroext i1 @_ZN14Porter2Stemmer8internal15replaceIfExistsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4meta4util17basic_string_viewIcS4_EESB_m(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr %.sroa.01.0.copyload.8, i64 %.sroa.22.0.copyload.8, ptr %.sroa.0.0.copyload.8, i64 %.sroa.2.0.copyload.8, i64 noundef %1)
  br i1 %29, label %.loopexit, label %30

30:                                               ; preds = %28
  %.sroa.01.0.copyload.9 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 288), align 16, !tbaa !5
  %.sroa.22.0.copyload.9 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 296), align 8, !tbaa !9
  %.sroa.0.0.copyload.9 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 304), align 16, !tbaa !5
  %.sroa.2.0.copyload.9 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 312), align 8, !tbaa !9
  %31 = tail call noundef zeroext i1 @_ZN14Porter2Stemmer8internal15replaceIfExistsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4meta4util17basic_string_viewIcS4_EESB_m(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr %.sroa.01.0.copyload.9, i64 %.sroa.22.0.copyload.9, ptr %.sroa.0.0.copyload.9, i64 %.sroa.2.0.copyload.9, i64 noundef %1)
  br i1 %31, label %.loopexit, label %32

32:                                               ; preds = %30
  %.sroa.01.0.copyload.10 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 320), align 16, !tbaa !5
  %.sroa.22.0.copyload.10 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 328), align 8, !tbaa !9
  %.sroa.0.0.copyload.10 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 336), align 16, !tbaa !5
  %.sroa.2.0.copyload.10 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 344), align 8, !tbaa !9
  %33 = tail call noundef zeroext i1 @_ZN14Porter2Stemmer8internal15replaceIfExistsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4meta4util17basic_string_viewIcS4_EESB_m(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr %.sroa.01.0.copyload.10, i64 %.sroa.22.0.copyload.10, ptr %.sroa.0.0.copyload.10, i64 %.sroa.2.0.copyload.10, i64 noundef %1)
  br i1 %33, label %.loopexit, label %34

34:                                               ; preds = %32
  %.sroa.01.0.copyload.11 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 352), align 16, !tbaa !5
  %.sroa.22.0.copyload.11 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 360), align 8, !tbaa !9
  %.sroa.0.0.copyload.11 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 368), align 16, !tbaa !5
  %.sroa.2.0.copyload.11 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 376), align 8, !tbaa !9
  %35 = tail call noundef zeroext i1 @_ZN14Porter2Stemmer8internal15replaceIfExistsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4meta4util17basic_string_viewIcS4_EESB_m(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr %.sroa.01.0.copyload.11, i64 %.sroa.22.0.copyload.11, ptr %.sroa.0.0.copyload.11, i64 %.sroa.2.0.copyload.11, i64 noundef %1)
  br i1 %35, label %.loopexit, label %36

36:                                               ; preds = %34
  %.sroa.01.0.copyload.12 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 384), align 16, !tbaa !5
  %.sroa.22.0.copyload.12 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 392), align 8, !tbaa !9
  %.sroa.0.0.copyload.12 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 400), align 16, !tbaa !5
  %.sroa.2.0.copyload.12 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 408), align 8, !tbaa !9
  %37 = tail call noundef zeroext i1 @_ZN14Porter2Stemmer8internal15replaceIfExistsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4meta4util17basic_string_viewIcS4_EESB_m(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr %.sroa.01.0.copyload.12, i64 %.sroa.22.0.copyload.12, ptr %.sroa.0.0.copyload.12, i64 %.sroa.2.0.copyload.12, i64 noundef %1)
  br i1 %37, label %.loopexit, label %38

38:                                               ; preds = %36
  %.sroa.01.0.copyload.13 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 416), align 16, !tbaa !5
  %.sroa.22.0.copyload.13 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 424), align 8, !tbaa !9
  %.sroa.0.0.copyload.13 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 432), align 16, !tbaa !5
  %.sroa.2.0.copyload.13 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 440), align 8, !tbaa !9
  %39 = tail call noundef zeroext i1 @_ZN14Porter2Stemmer8internal15replaceIfExistsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4meta4util17basic_string_viewIcS4_EESB_m(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr %.sroa.01.0.copyload.13, i64 %.sroa.22.0.copyload.13, ptr %.sroa.0.0.copyload.13, i64 %.sroa.2.0.copyload.13, i64 noundef %1)
  br i1 %39, label %.loopexit, label %40

40:                                               ; preds = %38
  %.sroa.01.0.copyload.14 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 448), align 16, !tbaa !5
  %.sroa.22.0.copyload.14 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 456), align 8, !tbaa !9
  %.sroa.0.0.copyload.14 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 464), align 16, !tbaa !5
  %.sroa.2.0.copyload.14 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 472), align 8, !tbaa !9
  %41 = tail call noundef zeroext i1 @_ZN14Porter2Stemmer8internal15replaceIfExistsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4meta4util17basic_string_viewIcS4_EESB_m(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr %.sroa.01.0.copyload.14, i64 %.sroa.22.0.copyload.14, ptr %.sroa.0.0.copyload.14, i64 %.sroa.2.0.copyload.14, i64 noundef %1)
  br i1 %41, label %.loopexit, label %42

42:                                               ; preds = %40
  %.sroa.01.0.copyload.15 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 480), align 16, !tbaa !5
  %.sroa.22.0.copyload.15 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 488), align 8, !tbaa !9
  %.sroa.0.0.copyload.15 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 496), align 16, !tbaa !5
  %.sroa.2.0.copyload.15 = load i64, ptr getelementptr inbounds (i8, ptr @_ZZN14Porter2Stemmer8internal5step4ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmE4subs, i64 504), align 8, !tbaa !9
  %43 = tail call noundef zeroext i1 @_ZN14Porter2Stemmer8internal15replaceIfExistsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4meta4util17basic_string_viewIcS4_EESB_m(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr %.sroa.01.0.copyload.15, i64 %.sroa.22.0.copyload.15, ptr %.sroa.0.0.copyload.15, i64 %.sroa.2.0.copyload.15, i64 noundef %1)
  br i1 %43, label %.loopexit, label %44

44:                                               ; preds = %42
  call void @_ZN4meta4util17basic_string_viewIcSt11char_traitsIcEEC2ISaIcEEERKNSt7__cxx1112basic_stringIcS3_T_EE(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(32) %0) #2
  call void @_ZN4meta4util17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull @.str.78)
  %45 = load ptr, ptr %3, align 8
  %46 = getelementptr inbounds i8, ptr %3, i64 8
  %47 = load i64, ptr %46, align 8
  %48 = load ptr, ptr %4, align 8
  %49 = getelementptr inbounds i8, ptr %4, i64 8
  %50 = load i64, ptr %49, align 8
  %51 = call noundef zeroext i1 @_ZN14Porter2Stemmer8internal8endsWithEN4meta4util17basic_string_viewIcSt11char_traitsIcEEES6_(ptr %45, i64 %47, ptr %48, i64 %50)
  br i1 %51, label %68, label %52

52:                                               ; preds = %44
  call void @_ZN4meta4util17basic_string_viewIcSt11char_traitsIcEEC2ISaIcEEERKNSt7__cxx1112basic_stringIcS3_T_EE(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(32) %0) #2
  call void @_ZN4meta4util17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull @.str.79)
  %53 = load ptr, ptr %5, align 8
  %54 = getelementptr inbounds i8, ptr %5, i64 8
  %55 = load i64, ptr %54, align 8
  %56 = load ptr, ptr %6, align 8
  %57 = getelementptr inbounds i8, ptr %6, i64 8
  %58 = load i64, ptr %57, align 8
  %59 = call noundef zeroext i1 @_ZN14Porter2Stemmer8internal8endsWithEN4meta4util17basic_string_viewIcSt11char_traitsIcEEES6_(ptr %53, i64 %55, ptr %56, i64 %58)
  br i1 %59, label %68, label %60

60:                                               ; preds = %52
  call void @_ZN4meta4util17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull @.str.41)
  call void @_ZN4meta4util17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull @.str.3)
  %61 = load ptr, ptr %7, align 8
  %62 = getelementptr inbounds i8, ptr %7, i64 8
  %63 = load i64, ptr %62, align 8
  %64 = load ptr, ptr %8, align 8
  %65 = getelementptr inbounds i8, ptr %8, i64 8
  %66 = load i64, ptr %65, align 8
  %67 = call noundef zeroext i1 @_ZN14Porter2Stemmer8internal15replaceIfExistsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4meta4util17basic_string_viewIcS4_EESB_m(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr %61, i64 %63, ptr %64, i64 %66, i64 noundef %1)
  br i1 %67, label %.loopexit, label %68

68:                                               ; preds = %60, %52, %44
  call void @_ZN4meta4util17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull @.str.82)
  call void @_ZN4meta4util17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull @.str.10)
  %69 = add i64 %1, -1
  %70 = load ptr, ptr %9, align 8
  %71 = getelementptr inbounds i8, ptr %9, i64 8
  %72 = load i64, ptr %71, align 8
  %73 = load ptr, ptr %10, align 8
  %74 = getelementptr inbounds i8, ptr %10, i64 8
  %75 = load i64, ptr %74, align 8
  %76 = call noundef zeroext i1 @_ZN14Porter2Stemmer8internal15replaceIfExistsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4meta4util17basic_string_viewIcS4_EESB_m(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr %70, i64 %72, ptr %73, i64 %75, i64 noundef %69)
  br i1 %76, label %.loopexit, label %77

77:                                               ; preds = %68
  call void @_ZN4meta4util17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull @.str.33)
  call void @_ZN4meta4util17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull @.str.83)
  %78 = load ptr, ptr %11, align 8
  %79 = getelementptr inbounds i8, ptr %11, i64 8
  %80 = load i64, ptr %79, align 8
  %81 = load ptr, ptr %12, align 8
  %82 = getelementptr inbounds i8, ptr %12, i64 8
  %83 = load i64, ptr %82, align 8
  %84 = call noundef zeroext i1 @_ZN14Porter2Stemmer8internal15replaceIfExistsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4meta4util17basic_string_viewIcS4_EESB_m(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr %78, i64 %80, ptr %81, i64 %83, i64 noundef %69)
  br label %.loopexit

.loopexit:                                        ; preds = %2, %14, %16, %18, %20, %22, %24, %26, %28, %30, %32, %34, %36, %38, %40, %42, %68, %77, %60
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN14Porter2Stemmer8internal15replaceIfExistsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4meta4util17basic_string_viewIcS4_EESB_m(ptr noundef nonnull align 8 dereferenceable(32), ptr, i64, ptr, i64, i64 noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN14Porter2Stemmer8internal8endsWithEN4meta4util17basic_string_viewIcSt11char_traitsIcEEES6_(ptr, i64, ptr, i64) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4meta4util17basic_string_viewIcSt11char_traitsIcEEC2ISaIcEEERKNSt7__cxx1112basic_stringIcS3_T_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 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 = { 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 = !{!"long", !7, i64 0}


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