; LLVM IR from facebook/hermes :: lib/Support/SHA1.ll (ZN6hermes12hashAsStringB5cxx11ERKSt5arrayIhLm20EE)

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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }

@.str = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6hermes12hashAsStringB5cxx11ERKSt5arrayIhLm20EE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8 %0, ptr noundef nonnull align 1 dereferenceable(20) %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca [41 x i8], align 16
  %6 = alloca i32, align 4
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 41, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %10

10:                                               ; preds = %28, %2
  %11 = load i32, ptr %6, align 4, !tbaa !9
  %12 = zext i32 %11 to i64
  %13 = icmp ult i64 %12, 20
  br i1 %13, label %15, label %14

14:                                               ; preds = %10
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %31

15:                                               ; preds = %10
  %16 = getelementptr inbounds [41 x i8], ptr %5, i64 0, i64 0
  %17 = load i32, ptr %6, align 4, !tbaa !9
  %18 = mul i32 %17, 2
  %19 = zext i32 %18 to i64
  %20 = getelementptr inbounds i8, ptr %16, i64 %19
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = load i32, ptr %6, align 4, !tbaa !9
  %23 = zext i32 %22 to i64
  %24 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm20EEixEm(ptr noundef nonnull align 1 dereferenceable(20) %21, i64 noundef %23) #4
  %25 = load i8, ptr %24, align 1, !tbaa !11
  %26 = zext i8 %25 to i32
  %27 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %20, i64 noundef 3, ptr noundef @.str, i32 noundef %26) #4
  br label %28

28:                                               ; preds = %15
  %29 = load i32, ptr %6, align 4, !tbaa !9
  %30 = add i32 %29, 1
  store i32 %30, ptr %6, align 4, !tbaa !9
  br label %10, !llvm.loop !12

31:                                               ; preds = %14
  %32 = getelementptr inbounds [41 x i8], ptr %5, i64 0, i64 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #4
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef %32, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %33 unwind label %34

33:                                               ; preds = %31
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 41, ptr %5) #4
  ret void

34:                                               ; preds = %31
  %35 = landingpad { ptr, i32 }
          cleanup
  %36 = extractvalue { ptr, i32 } %35, 0
  store ptr %36, ptr %8, align 8
  %37 = extractvalue { ptr, i32 } %35, 1
  store i32 %37, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 41, ptr %5) #4
  br label %38

38:                                               ; preds = %34
  %39 = load ptr, ptr %8, align 8
  %40 = load i32, ptr %9, align 4
  %41 = insertvalue { ptr, i32 } poison, ptr %39, 0
  %42 = insertvalue { ptr, i32 } %41, i32 %40, 1
  resume { ptr, i32 } %42
}

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

; Function Attrs: nounwind
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ...) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm20EEixEm(ptr noundef nonnull align 1 dereferenceable(20), i64 noundef) #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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"}


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }

@.str = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6hermes12hashAsStringB5cxx11ERKSt5arrayIhLm20EE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8 %0, ptr noundef nonnull align 1 dereferenceable(20) %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca [41 x i8], align 16
  %4 = alloca %"class.std::allocator", align 1
  call void @llvm.lifetime.start.p0(i64 41, ptr nonnull %3) #4
  %5 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm20EEixEm(ptr noundef nonnull align 1 dereferenceable(20) %1, i64 noundef 0) #4
  %6 = load i8, ptr %5, align 1, !tbaa !5
  %7 = zext i8 %6 to i32
  %8 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %3, i64 noundef 3, ptr noundef nonnull @.str, i32 noundef %7) #4
  %9 = getelementptr inbounds i8, ptr %3, i64 2
  %10 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm20EEixEm(ptr noundef nonnull align 1 dereferenceable(20) %1, i64 noundef 1) #4
  %11 = load i8, ptr %10, align 1, !tbaa !5
  %12 = zext i8 %11 to i32
  %13 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 3, ptr noundef nonnull @.str, i32 noundef %12) #4
  %14 = getelementptr inbounds i8, ptr %3, i64 4
  %15 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm20EEixEm(ptr noundef nonnull align 1 dereferenceable(20) %1, i64 noundef 2) #4
  %16 = load i8, ptr %15, align 1, !tbaa !5
  %17 = zext i8 %16 to i32
  %18 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %14, i64 noundef 3, ptr noundef nonnull @.str, i32 noundef %17) #4
  %19 = getelementptr inbounds i8, ptr %3, i64 6
  %20 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm20EEixEm(ptr noundef nonnull align 1 dereferenceable(20) %1, i64 noundef 3) #4
  %21 = load i8, ptr %20, align 1, !tbaa !5
  %22 = zext i8 %21 to i32
  %23 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %19, i64 noundef 3, ptr noundef nonnull @.str, i32 noundef %22) #4
  %24 = getelementptr inbounds i8, ptr %3, i64 8
  %25 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm20EEixEm(ptr noundef nonnull align 1 dereferenceable(20) %1, i64 noundef 4) #4
  %26 = load i8, ptr %25, align 1, !tbaa !5
  %27 = zext i8 %26 to i32
  %28 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %24, i64 noundef 3, ptr noundef nonnull @.str, i32 noundef %27) #4
  %29 = getelementptr inbounds i8, ptr %3, i64 10
  %30 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm20EEixEm(ptr noundef nonnull align 1 dereferenceable(20) %1, i64 noundef 5) #4
  %31 = load i8, ptr %30, align 1, !tbaa !5
  %32 = zext i8 %31 to i32
  %33 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %29, i64 noundef 3, ptr noundef nonnull @.str, i32 noundef %32) #4
  %34 = getelementptr inbounds i8, ptr %3, i64 12
  %35 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm20EEixEm(ptr noundef nonnull align 1 dereferenceable(20) %1, i64 noundef 6) #4
  %36 = load i8, ptr %35, align 1, !tbaa !5
  %37 = zext i8 %36 to i32
  %38 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %34, i64 noundef 3, ptr noundef nonnull @.str, i32 noundef %37) #4
  %39 = getelementptr inbounds i8, ptr %3, i64 14
  %40 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm20EEixEm(ptr noundef nonnull align 1 dereferenceable(20) %1, i64 noundef 7) #4
  %41 = load i8, ptr %40, align 1, !tbaa !5
  %42 = zext i8 %41 to i32
  %43 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %39, i64 noundef 3, ptr noundef nonnull @.str, i32 noundef %42) #4
  %44 = getelementptr inbounds i8, ptr %3, i64 16
  %45 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm20EEixEm(ptr noundef nonnull align 1 dereferenceable(20) %1, i64 noundef 8) #4
  %46 = load i8, ptr %45, align 1, !tbaa !5
  %47 = zext i8 %46 to i32
  %48 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %44, i64 noundef 3, ptr noundef nonnull @.str, i32 noundef %47) #4
  %49 = getelementptr inbounds i8, ptr %3, i64 18
  %50 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm20EEixEm(ptr noundef nonnull align 1 dereferenceable(20) %1, i64 noundef 9) #4
  %51 = load i8, ptr %50, align 1, !tbaa !5
  %52 = zext i8 %51 to i32
  %53 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %49, i64 noundef 3, ptr noundef nonnull @.str, i32 noundef %52) #4
  %54 = getelementptr inbounds i8, ptr %3, i64 20
  %55 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm20EEixEm(ptr noundef nonnull align 1 dereferenceable(20) %1, i64 noundef 10) #4
  %56 = load i8, ptr %55, align 1, !tbaa !5
  %57 = zext i8 %56 to i32
  %58 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %54, i64 noundef 3, ptr noundef nonnull @.str, i32 noundef %57) #4
  %59 = getelementptr inbounds i8, ptr %3, i64 22
  %60 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm20EEixEm(ptr noundef nonnull align 1 dereferenceable(20) %1, i64 noundef 11) #4
  %61 = load i8, ptr %60, align 1, !tbaa !5
  %62 = zext i8 %61 to i32
  %63 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %59, i64 noundef 3, ptr noundef nonnull @.str, i32 noundef %62) #4
  %64 = getelementptr inbounds i8, ptr %3, i64 24
  %65 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm20EEixEm(ptr noundef nonnull align 1 dereferenceable(20) %1, i64 noundef 12) #4
  %66 = load i8, ptr %65, align 1, !tbaa !5
  %67 = zext i8 %66 to i32
  %68 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %64, i64 noundef 3, ptr noundef nonnull @.str, i32 noundef %67) #4
  %69 = getelementptr inbounds i8, ptr %3, i64 26
  %70 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm20EEixEm(ptr noundef nonnull align 1 dereferenceable(20) %1, i64 noundef 13) #4
  %71 = load i8, ptr %70, align 1, !tbaa !5
  %72 = zext i8 %71 to i32
  %73 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %69, i64 noundef 3, ptr noundef nonnull @.str, i32 noundef %72) #4
  %74 = getelementptr inbounds i8, ptr %3, i64 28
  %75 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm20EEixEm(ptr noundef nonnull align 1 dereferenceable(20) %1, i64 noundef 14) #4
  %76 = load i8, ptr %75, align 1, !tbaa !5
  %77 = zext i8 %76 to i32
  %78 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %74, i64 noundef 3, ptr noundef nonnull @.str, i32 noundef %77) #4
  %79 = getelementptr inbounds i8, ptr %3, i64 30
  %80 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm20EEixEm(ptr noundef nonnull align 1 dereferenceable(20) %1, i64 noundef 15) #4
  %81 = load i8, ptr %80, align 1, !tbaa !5
  %82 = zext i8 %81 to i32
  %83 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %79, i64 noundef 3, ptr noundef nonnull @.str, i32 noundef %82) #4
  %84 = getelementptr inbounds i8, ptr %3, i64 32
  %85 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm20EEixEm(ptr noundef nonnull align 1 dereferenceable(20) %1, i64 noundef 16) #4
  %86 = load i8, ptr %85, align 1, !tbaa !5
  %87 = zext i8 %86 to i32
  %88 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %84, i64 noundef 3, ptr noundef nonnull @.str, i32 noundef %87) #4
  %89 = getelementptr inbounds i8, ptr %3, i64 34
  %90 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm20EEixEm(ptr noundef nonnull align 1 dereferenceable(20) %1, i64 noundef 17) #4
  %91 = load i8, ptr %90, align 1, !tbaa !5
  %92 = zext i8 %91 to i32
  %93 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %89, i64 noundef 3, ptr noundef nonnull @.str, i32 noundef %92) #4
  %94 = getelementptr inbounds i8, ptr %3, i64 36
  %95 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm20EEixEm(ptr noundef nonnull align 1 dereferenceable(20) %1, i64 noundef 18) #4
  %96 = load i8, ptr %95, align 1, !tbaa !5
  %97 = zext i8 %96 to i32
  %98 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %94, i64 noundef 3, ptr noundef nonnull @.str, i32 noundef %97) #4
  %99 = getelementptr inbounds i8, ptr %3, i64 38
  %100 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm20EEixEm(ptr noundef nonnull align 1 dereferenceable(20) %1, i64 noundef 19) #4
  %101 = load i8, ptr %100, align 1, !tbaa !5
  %102 = zext i8 %101 to i32
  %103 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %99, i64 noundef 3, ptr noundef nonnull @.str, i32 noundef %102) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #4
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #4
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull %3, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %104 unwind label %105

104:                                              ; preds = %2
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 41, ptr nonnull %3) #4
  ret void

105:                                              ; preds = %2
  %106 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 41, ptr nonnull %3) #4
  resume { ptr, i32 } %106
}

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

; Function Attrs: nofree nounwind
declare noundef i32 @snprintf(ptr noalias nocapture noundef writeonly, i64 noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIhLm20EEixEm(ptr noundef nonnull align 1 dereferenceable(20), i64 noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,SROAPass,SimplifyCFGPass,TailCallElimPass