; LLVM IR from SSBMTonberry/pocketlzma :: ref_spec/lzma1900/CPP/7zip/UI/Common (ExtractingFilePath)

; 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.UString = type { ptr, i32, i32 }

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL16Correct_PathPartR7UString(ptr noundef nonnull align 8 dereferenceable(16)) #0

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z14Correct_FsPathbbR13CObjectVectorI7UStringEb(i1 noundef zeroext %0, i1 noundef zeroext %1, ptr noundef nonnull align 8 dereferenceable(16) %2, i1 noundef zeroext %3) #0 personality ptr @__gxx_personality_v0 {
  %5 = alloca i8, align 1
  %6 = alloca i8, align 1
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %class.UString, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = zext i1 %0 to i8
  store i8 %16, ptr %5, align 1, !tbaa !5
  %17 = zext i1 %1 to i8
  store i8 %17, ptr %6, align 1, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !9
  %18 = zext i1 %3 to i8
  store i8 %18, ptr %8, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !11
  %19 = load i8, ptr %5, align 1, !tbaa !5, !range !13, !noundef !14
  %20 = trunc i8 %19 to i1
  br i1 %20, label %21, label %27

21:                                               ; preds = %4
  %22 = load ptr, ptr %7, align 8, !tbaa !9
  %23 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI7UStringEixEj(ptr noundef nonnull align 8 dereferenceable(16) %22, i32 noundef 0)
  %24 = call noundef zeroext i1 @_ZNK7UString7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %23)
  br i1 %24, label %25, label %26

25:                                               ; preds = %21
  store i32 1, ptr %9, align 4, !tbaa !11
  br label %26

26:                                               ; preds = %25, %21
  br label %27

27:                                               ; preds = %26, %4
  %28 = load i32, ptr %9, align 4, !tbaa !11
  %29 = icmp ne i32 %28, 0
  br i1 %29, label %30, label %31

30:                                               ; preds = %27
  store i8 0, ptr %6, align 1, !tbaa !5
  br label %31

31:                                               ; preds = %30, %27
  br label %32

32:                                               ; preds = %69, %67, %31
  %33 = load i32, ptr %9, align 4, !tbaa !11
  %34 = load ptr, ptr %7, align 8, !tbaa !9
  %35 = call noundef i32 @_ZNK13CObjectVectorI7UStringE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %34)
  %36 = icmp ult i32 %33, %35
  br i1 %36, label %37, label %70

37:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %38 = load ptr, ptr %7, align 8, !tbaa !9
  %39 = load i32, ptr %9, align 4, !tbaa !11
  %40 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI7UStringEixEj(ptr noundef nonnull align 8 dereferenceable(16) %38, i32 noundef %39)
  store ptr %40, ptr %10, align 8, !tbaa !9
  %41 = load ptr, ptr %10, align 8, !tbaa !9
  call void @_ZL16Correct_PathPartR7UString(ptr noundef nonnull align 8 dereferenceable(16) %41)
  %42 = load ptr, ptr %10, align 8, !tbaa !9
  %43 = call noundef zeroext i1 @_ZNK7UString7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %42)
  br i1 %43, label %44, label %63

44:                                               ; preds = %37
  %45 = load i8, ptr %6, align 1, !tbaa !5, !range !13, !noundef !14
  %46 = trunc i8 %45 to i1
  br i1 %46, label %60, label %47

47:                                               ; preds = %44
  %48 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %49 = trunc i8 %48 to i1
  br i1 %49, label %56, label %50

50:                                               ; preds = %47
  %51 = load i32, ptr %9, align 4, !tbaa !11
  %52 = load ptr, ptr %7, align 8, !tbaa !9
  %53 = call noundef i32 @_ZNK13CObjectVectorI7UStringE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %52)
  %54 = sub i32 %53, 1
  %55 = icmp ne i32 %51, %54
  br i1 %55, label %56, label %59

56:                                               ; preds = %50, %47
  %57 = load ptr, ptr %7, align 8, !tbaa !9
  %58 = load i32, ptr %9, align 4, !tbaa !11
  call void @_ZN13CObjectVectorI7UStringE6DeleteEj(ptr noundef nonnull align 8 dereferenceable(16) %57, i32 noundef %58)
  store i32 3, ptr %11, align 4
  br label %67, !llvm.loop !15

59:                                               ; preds = %50
  br label %60

60:                                               ; preds = %59, %44
  %61 = load ptr, ptr %10, align 8, !tbaa !9
  %62 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN7UStringaSEc(ptr noundef nonnull align 8 dereferenceable(16) %61, i8 noundef signext 95)
  br label %64

63:                                               ; preds = %37
  store i8 0, ptr %6, align 1, !tbaa !5
  br label %64

64:                                               ; preds = %63, %60
  %65 = load i32, ptr %9, align 4, !tbaa !11
  %66 = add i32 %65, 1
  store i32 %66, ptr %9, align 4, !tbaa !11
  store i32 0, ptr %11, align 4
  br label %67

67:                                               ; preds = %64, %56
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  %68 = load i32, ptr %11, align 4
  switch i32 %68, label %100 [
    i32 0, label %69
    i32 3, label %32
  ]

69:                                               ; preds = %67
  br label %32, !llvm.loop !15

70:                                               ; preds = %32
  %71 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %72 = trunc i8 %71 to i1
  br i1 %72, label %94, label %73

73:                                               ; preds = %70
  %74 = load ptr, ptr %7, align 8, !tbaa !9
  %75 = call noundef zeroext i1 @_ZNK13CObjectVectorI7UStringE7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %74)
  br i1 %75, label %76, label %84

76:                                               ; preds = %73
  %77 = load ptr, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #4
  call void @_ZN7UStringC1Ec(ptr noundef nonnull align 8 dereferenceable(16) %12, i8 noundef signext 95)
  %78 = invoke noundef i32 @_ZN13CObjectVectorI7UStringE3AddERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %77, ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %79 unwind label %80

79:                                               ; preds = %76
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #4
  br label %93

80:                                               ; preds = %76
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %13, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %14, align 4
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %95

84:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %85 = load ptr, ptr %7, align 8, !tbaa !9
  %86 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI7UStringE4BackEv(ptr noundef nonnull align 8 dereferenceable(16) %85)
  store ptr %86, ptr %15, align 8, !tbaa !9
  %87 = load ptr, ptr %15, align 8, !tbaa !9
  %88 = call noundef zeroext i1 @_ZNK7UString7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %87)
  br i1 %88, label %89, label %92

89:                                               ; preds = %84
  %90 = load ptr, ptr %15, align 8, !tbaa !9
  %91 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN7UStringaSEc(ptr noundef nonnull align 8 dereferenceable(16) %90, i8 noundef signext 95)
  br label %92

92:                                               ; preds = %89, %84
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  br label %93

93:                                               ; preds = %92, %79
  br label %94

94:                                               ; preds = %93, %70
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  ret void

95:                                               ; preds = %80
  %96 = load ptr, ptr %13, align 8
  %97 = load i32, ptr %14, align 4
  %98 = insertvalue { ptr, i32 } poison, ptr %96, 0
  %99 = insertvalue { ptr, i32 } %98, i32 %97, 1
  resume { ptr, i32 } %99

100:                                              ; preds = %67
  unreachable
}

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK13CObjectVectorI7UStringE7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

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

declare void @_ZN7UStringC1Ec(ptr noundef nonnull align 8 dereferenceable(16), i8 noundef signext) unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI7UStringE4BackEv(ptr noundef nonnull align 8 dereferenceable(16)) #0 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "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 = { 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 = !{!"any pointer", !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"}


; 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.UString = type { ptr, i32, i32 }

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL16Correct_PathPartR7UString(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z14Correct_FsPathbbR13CObjectVectorI7UStringEb(i1 noundef zeroext %0, i1 noundef zeroext %1, ptr noundef nonnull align 8 dereferenceable(16) %2, i1 noundef zeroext %3) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %5 = alloca %class.UString, align 8
  br i1 %0, label %6, label %.thread

6:                                                ; preds = %4
  %7 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI7UStringEixEj(ptr noundef nonnull align 8 dereferenceable(16) %2, i32 noundef 0)
  %8 = tail call noundef zeroext i1 @_ZNK7UString7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %spec.select28 = zext i1 %8 to i32
  %not. = xor i1 %8, true
  %spec.select34 = and i1 %not., %1
  br label %.thread

.thread:                                          ; preds = %6, %4
  %.02432 = phi i32 [ 0, %4 ], [ %spec.select28, %6 ]
  %9 = phi i1 [ %1, %4 ], [ %spec.select34, %6 ]
  %10 = tail call noundef i32 @_ZNK13CObjectVectorI7UStringE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  %11 = icmp ult i32 %.02432, %10
  br i1 %11, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.thread
  br i1 %3, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph, %20
  %.137.us = phi i1 [ %.3.us, %20 ], [ %9, %.lr.ph ]
  %.12535.us = phi i32 [ %.226.us, %20 ], [ %.02432, %.lr.ph ]
  %12 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI7UStringEixEj(ptr noundef nonnull align 8 dereferenceable(16) %2, i32 noundef %.12535.us)
  tail call void @_ZL16Correct_PathPartR7UString(ptr noundef nonnull align 8 dereferenceable(16) %12)
  %13 = tail call noundef zeroext i1 @_ZNK7UString7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
  br i1 %13, label %14, label %18

14:                                               ; preds = %.lr.ph.split.us
  br i1 %.137.us, label %16, label %15

15:                                               ; preds = %14
  tail call void @_ZN13CObjectVectorI7UStringE6DeleteEj(ptr noundef nonnull align 8 dereferenceable(16) %2, i32 noundef %.12535.us)
  br label %20, !llvm.loop !5

16:                                               ; preds = %14
  %17 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZN7UStringaSEc(ptr noundef nonnull align 8 dereferenceable(16) %12, i8 noundef signext 95)
  br label %18

18:                                               ; preds = %16, %.lr.ph.split.us
  %19 = add nuw i32 %.12535.us, 1
  br label %20

20:                                               ; preds = %18, %15
  %.226.us = phi i32 [ %19, %18 ], [ %.12535.us, %15 ]
  %.3.us = phi i1 [ %13, %18 ], [ false, %15 ]
  %21 = tail call noundef i32 @_ZNK13CObjectVectorI7UStringE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  %22 = icmp ult i32 %.226.us, %21
  br i1 %22, label %.lr.ph.split.us, label %._crit_edge

.lr.ph.split:                                     ; preds = %.lr.ph, %34
  %.137 = phi i1 [ %.3, %34 ], [ %9, %.lr.ph ]
  %.12535 = phi i32 [ %.226, %34 ], [ %.02432, %.lr.ph ]
  %23 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI7UStringEixEj(ptr noundef nonnull align 8 dereferenceable(16) %2, i32 noundef %.12535)
  tail call void @_ZL16Correct_PathPartR7UString(ptr noundef nonnull align 8 dereferenceable(16) %23)
  %24 = tail call noundef zeroext i1 @_ZNK7UString7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %23)
  br i1 %24, label %25, label %32

25:                                               ; preds = %.lr.ph.split
  br i1 %.137, label %30, label %26

26:                                               ; preds = %25
  %27 = tail call noundef i32 @_ZNK13CObjectVectorI7UStringE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  %28 = add i32 %27, -1
  %.not27 = icmp eq i32 %.12535, %28
  br i1 %.not27, label %30, label %29

29:                                               ; preds = %26
  tail call void @_ZN13CObjectVectorI7UStringE6DeleteEj(ptr noundef nonnull align 8 dereferenceable(16) %2, i32 noundef %.12535)
  br label %34, !llvm.loop !5

30:                                               ; preds = %26, %25
  %31 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZN7UStringaSEc(ptr noundef nonnull align 8 dereferenceable(16) %23, i8 noundef signext 95)
  br label %32

32:                                               ; preds = %.lr.ph.split, %30
  %.2 = phi i1 [ %.137, %30 ], [ false, %.lr.ph.split ]
  %33 = add nuw i32 %.12535, 1
  br label %34

34:                                               ; preds = %32, %29
  %.226 = phi i32 [ %33, %32 ], [ %.12535, %29 ]
  %.3 = phi i1 [ %.2, %32 ], [ false, %29 ]
  %35 = tail call noundef i32 @_ZNK13CObjectVectorI7UStringE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  %36 = icmp ult i32 %.226, %35
  br i1 %36, label %.lr.ph.split, label %._crit_edge

._crit_edge:                                      ; preds = %34, %20, %.thread
  br i1 %3, label %49, label %37

37:                                               ; preds = %._crit_edge
  %38 = tail call noundef zeroext i1 @_ZNK13CObjectVectorI7UStringE7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  br i1 %38, label %39, label %44

39:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4
  call void @_ZN7UStringC1Ec(ptr noundef nonnull align 8 dereferenceable(16) %5, i8 noundef signext 95)
  %40 = invoke noundef i32 @_ZN13CObjectVectorI7UStringE3AddERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %41 unwind label %42

41:                                               ; preds = %39
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
  br label %49

42:                                               ; preds = %39
  %43 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
  resume { ptr, i32 } %43

44:                                               ; preds = %37
  %45 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI7UStringE4BackEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  %46 = tail call noundef zeroext i1 @_ZNK7UString7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %45)
  br i1 %46, label %47, label %49

47:                                               ; preds = %44
  %48 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZN7UStringaSEc(ptr noundef nonnull align 8 dereferenceable(16) %45, i8 noundef signext 95)
  br label %49

49:                                               ; preds = %44, %47, %41, %._crit_edge
  ret void
}

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK13CObjectVectorI7UStringE7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

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

declare void @_ZN7UStringC1Ec(ptr noundef nonnull align 8 dereferenceable(16), i8 noundef signext) unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI7UStringE4BackEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "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 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass