; LLVM IR from yinqiwen/ardb :: src/common/util/string_helper.ll (ZN4ardb13sha1_sum_dataB5cxx11EPKvm)

; 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] }
%struct.SHA1_CTX = type { [5 x i32], [2 x i32], [64 x i8] }
%"class.std::allocator" = type { i8 }

@.str.4 = external hidden unnamed_addr constant [17 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

declare i32 @__gxx_personality_v0(...)

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

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

declare void @SHA1Init(ptr noundef) #3

declare void @SHA1Update(ptr noundef, ptr noundef, i32 noundef) #3

declare void @SHA1Final(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4ardb13sha1_sum_dataB5cxx11EPKvm(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8 %0, ptr noundef %1, i64 noundef %2) #2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca %struct.SHA1_CTX, align 4
  %8 = alloca [20 x i8], align 16
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca [40 x i8], align 16
  %12 = alloca %"class.std::allocator", align 1
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i64 %2, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 92, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 20, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  store ptr @.str.4, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  call void @SHA1Init(ptr noundef %7)
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = load i64, ptr %6, align 8, !tbaa !9
  %17 = trunc i64 %16 to i32
  call void @SHA1Update(ptr noundef %7, ptr noundef %15, i32 noundef %17)
  %18 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0
  call void @SHA1Final(ptr noundef %18, ptr noundef %7)
  call void @llvm.lifetime.start.p0(i64 40, ptr %11) #4
  store i32 0, ptr %10, align 4, !tbaa !11
  br label %19

19:                                               ; preds = %53, %3
  %20 = load i32, ptr %10, align 4, !tbaa !11
  %21 = icmp slt i32 %20, 20
  br i1 %21, label %22, label %56

22:                                               ; preds = %19
  %23 = load ptr, ptr %9, align 8, !tbaa !5
  %24 = load i32, ptr %10, align 4, !tbaa !11
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %25
  %27 = load i8, ptr %26, align 1, !tbaa !13
  %28 = zext i8 %27 to i32
  %29 = and i32 %28, 240
  %30 = ashr i32 %29, 4
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds i8, ptr %23, i64 %31
  %33 = load i8, ptr %32, align 1, !tbaa !13
  %34 = load i32, ptr %10, align 4, !tbaa !11
  %35 = mul nsw i32 %34, 2
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 %36
  store i8 %33, ptr %37, align 1, !tbaa !13
  %38 = load ptr, ptr %9, align 8, !tbaa !5
  %39 = load i32, ptr %10, align 4, !tbaa !11
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %40
  %42 = load i8, ptr %41, align 1, !tbaa !13
  %43 = zext i8 %42 to i32
  %44 = and i32 %43, 15
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds i8, ptr %38, i64 %45
  %47 = load i8, ptr %46, align 1, !tbaa !13
  %48 = load i32, ptr %10, align 4, !tbaa !11
  %49 = mul nsw i32 %48, 2
  %50 = add nsw i32 %49, 1
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 %51
  store i8 %47, ptr %52, align 1, !tbaa !13
  br label %53

53:                                               ; preds = %22
  %54 = load i32, ptr %10, align 4, !tbaa !11
  %55 = add nsw i32 %54, 1
  store i32 %55, ptr %10, align 4, !tbaa !11
  br label %19, !llvm.loop !14

56:                                               ; preds = %19
  %57 = getelementptr inbounds [40 x i8], ptr %11, i64 0, i64 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #4
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #4
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EPKcmRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef %57, i64 noundef 40, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %58 unwind label %59

58:                                               ; preds = %56
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 20, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 92, ptr %7) #4
  ret void

59:                                               ; preds = %56
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %13, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %14, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 20, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 92, ptr %7) #4
  br label %63

63:                                               ; preds = %59
  %64 = load ptr, ptr %13, align 8
  %65 = load i32, ptr %14, align 4
  %66 = insertvalue { ptr, i32 } poison, ptr %64, 0
  %67 = insertvalue { ptr, i32 } %66, i32 %65, 1
  resume { ptr, i32 } %67
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #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 = !{!"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 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"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] }
%struct.SHA1_CTX = type { [5 x i32], [2 x i32], [64 x i8] }
%"class.std::allocator" = type { i8 }

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

declare void @SHA1Init(ptr noundef) local_unnamed_addr #3

declare void @SHA1Update(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

declare void @SHA1Final(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4ardb13sha1_sum_dataB5cxx11EPKvm(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8 %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %struct.SHA1_CTX, align 4
  %5 = alloca [20 x i8], align 16
  %6 = alloca [40 x i8], align 16
  %7 = alloca %"class.std::allocator", align 1
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %5) #4
  call void @SHA1Init(ptr noundef nonnull %4)
  %8 = trunc i64 %2 to i32
  call void @SHA1Update(ptr noundef nonnull %4, ptr noundef %1, i32 noundef %8)
  call void @SHA1Final(ptr noundef nonnull %5, ptr noundef nonnull %4)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #4
  %9 = load i8, ptr %5, align 16, !tbaa !5
  %10 = lshr i8 %9, 4
  %11 = zext nneg i8 %10 to i64
  %12 = getelementptr inbounds i8, ptr @.str.4, i64 %11
  %13 = load i8, ptr %12, align 1, !tbaa !5
  store i8 %13, ptr %6, align 16, !tbaa !5
  %14 = and i8 %9, 15
  %15 = zext nneg i8 %14 to i64
  %16 = getelementptr inbounds i8, ptr @.str.4, i64 %15
  %17 = load i8, ptr %16, align 1, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %6, i64 1
  store i8 %17, ptr %18, align 1, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %5, i64 1
  %20 = load i8, ptr %19, align 1, !tbaa !5
  %21 = lshr i8 %20, 4
  %22 = zext nneg i8 %21 to i64
  %23 = getelementptr inbounds i8, ptr @.str.4, i64 %22
  %24 = load i8, ptr %23, align 1, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %6, i64 2
  store i8 %24, ptr %25, align 2, !tbaa !5
  %26 = and i8 %20, 15
  %27 = zext nneg i8 %26 to i64
  %28 = getelementptr inbounds i8, ptr @.str.4, i64 %27
  %29 = load i8, ptr %28, align 1, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %6, i64 3
  store i8 %29, ptr %30, align 1, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %5, i64 2
  %32 = load i8, ptr %31, align 2, !tbaa !5
  %33 = lshr i8 %32, 4
  %34 = zext nneg i8 %33 to i64
  %35 = getelementptr inbounds i8, ptr @.str.4, i64 %34
  %36 = load i8, ptr %35, align 1, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %6, i64 4
  store i8 %36, ptr %37, align 4, !tbaa !5
  %38 = and i8 %32, 15
  %39 = zext nneg i8 %38 to i64
  %40 = getelementptr inbounds i8, ptr @.str.4, i64 %39
  %41 = load i8, ptr %40, align 1, !tbaa !5
  %42 = getelementptr inbounds i8, ptr %6, i64 5
  store i8 %41, ptr %42, align 1, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %5, i64 3
  %44 = load i8, ptr %43, align 1, !tbaa !5
  %45 = lshr i8 %44, 4
  %46 = zext nneg i8 %45 to i64
  %47 = getelementptr inbounds i8, ptr @.str.4, i64 %46
  %48 = load i8, ptr %47, align 1, !tbaa !5
  %49 = getelementptr inbounds i8, ptr %6, i64 6
  store i8 %48, ptr %49, align 2, !tbaa !5
  %50 = and i8 %44, 15
  %51 = zext nneg i8 %50 to i64
  %52 = getelementptr inbounds i8, ptr @.str.4, i64 %51
  %53 = load i8, ptr %52, align 1, !tbaa !5
  %54 = getelementptr inbounds i8, ptr %6, i64 7
  store i8 %53, ptr %54, align 1, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %5, i64 4
  %56 = load i8, ptr %55, align 4, !tbaa !5
  %57 = lshr i8 %56, 4
  %58 = zext nneg i8 %57 to i64
  %59 = getelementptr inbounds i8, ptr @.str.4, i64 %58
  %60 = load i8, ptr %59, align 1, !tbaa !5
  %61 = getelementptr inbounds i8, ptr %6, i64 8
  store i8 %60, ptr %61, align 8, !tbaa !5
  %62 = and i8 %56, 15
  %63 = zext nneg i8 %62 to i64
  %64 = getelementptr inbounds i8, ptr @.str.4, i64 %63
  %65 = load i8, ptr %64, align 1, !tbaa !5
  %66 = getelementptr inbounds i8, ptr %6, i64 9
  store i8 %65, ptr %66, align 1, !tbaa !5
  %67 = getelementptr inbounds i8, ptr %5, i64 5
  %68 = load i8, ptr %67, align 1, !tbaa !5
  %69 = lshr i8 %68, 4
  %70 = zext nneg i8 %69 to i64
  %71 = getelementptr inbounds i8, ptr @.str.4, i64 %70
  %72 = load i8, ptr %71, align 1, !tbaa !5
  %73 = getelementptr inbounds i8, ptr %6, i64 10
  store i8 %72, ptr %73, align 2, !tbaa !5
  %74 = and i8 %68, 15
  %75 = zext nneg i8 %74 to i64
  %76 = getelementptr inbounds i8, ptr @.str.4, i64 %75
  %77 = load i8, ptr %76, align 1, !tbaa !5
  %78 = getelementptr inbounds i8, ptr %6, i64 11
  store i8 %77, ptr %78, align 1, !tbaa !5
  %79 = getelementptr inbounds i8, ptr %5, i64 6
  %80 = load i8, ptr %79, align 2, !tbaa !5
  %81 = lshr i8 %80, 4
  %82 = zext nneg i8 %81 to i64
  %83 = getelementptr inbounds i8, ptr @.str.4, i64 %82
  %84 = load i8, ptr %83, align 1, !tbaa !5
  %85 = getelementptr inbounds i8, ptr %6, i64 12
  store i8 %84, ptr %85, align 4, !tbaa !5
  %86 = and i8 %80, 15
  %87 = zext nneg i8 %86 to i64
  %88 = getelementptr inbounds i8, ptr @.str.4, i64 %87
  %89 = load i8, ptr %88, align 1, !tbaa !5
  %90 = getelementptr inbounds i8, ptr %6, i64 13
  store i8 %89, ptr %90, align 1, !tbaa !5
  %91 = getelementptr inbounds i8, ptr %5, i64 7
  %92 = load i8, ptr %91, align 1, !tbaa !5
  %93 = lshr i8 %92, 4
  %94 = zext nneg i8 %93 to i64
  %95 = getelementptr inbounds i8, ptr @.str.4, i64 %94
  %96 = load i8, ptr %95, align 1, !tbaa !5
  %97 = getelementptr inbounds i8, ptr %6, i64 14
  store i8 %96, ptr %97, align 2, !tbaa !5
  %98 = and i8 %92, 15
  %99 = zext nneg i8 %98 to i64
  %100 = getelementptr inbounds i8, ptr @.str.4, i64 %99
  %101 = load i8, ptr %100, align 1, !tbaa !5
  %102 = getelementptr inbounds i8, ptr %6, i64 15
  store i8 %101, ptr %102, align 1, !tbaa !5
  %103 = getelementptr inbounds i8, ptr %5, i64 8
  %104 = load i8, ptr %103, align 8, !tbaa !5
  %105 = lshr i8 %104, 4
  %106 = zext nneg i8 %105 to i64
  %107 = getelementptr inbounds i8, ptr @.str.4, i64 %106
  %108 = load i8, ptr %107, align 1, !tbaa !5
  %109 = getelementptr inbounds i8, ptr %6, i64 16
  store i8 %108, ptr %109, align 16, !tbaa !5
  %110 = and i8 %104, 15
  %111 = zext nneg i8 %110 to i64
  %112 = getelementptr inbounds i8, ptr @.str.4, i64 %111
  %113 = load i8, ptr %112, align 1, !tbaa !5
  %114 = getelementptr inbounds i8, ptr %6, i64 17
  store i8 %113, ptr %114, align 1, !tbaa !5
  %115 = getelementptr inbounds i8, ptr %5, i64 9
  %116 = load i8, ptr %115, align 1, !tbaa !5
  %117 = lshr i8 %116, 4
  %118 = zext nneg i8 %117 to i64
  %119 = getelementptr inbounds i8, ptr @.str.4, i64 %118
  %120 = load i8, ptr %119, align 1, !tbaa !5
  %121 = getelementptr inbounds i8, ptr %6, i64 18
  store i8 %120, ptr %121, align 2, !tbaa !5
  %122 = and i8 %116, 15
  %123 = zext nneg i8 %122 to i64
  %124 = getelementptr inbounds i8, ptr @.str.4, i64 %123
  %125 = load i8, ptr %124, align 1, !tbaa !5
  %126 = getelementptr inbounds i8, ptr %6, i64 19
  store i8 %125, ptr %126, align 1, !tbaa !5
  %127 = getelementptr inbounds i8, ptr %5, i64 10
  %128 = load i8, ptr %127, align 2, !tbaa !5
  %129 = lshr i8 %128, 4
  %130 = zext nneg i8 %129 to i64
  %131 = getelementptr inbounds i8, ptr @.str.4, i64 %130
  %132 = load i8, ptr %131, align 1, !tbaa !5
  %133 = getelementptr inbounds i8, ptr %6, i64 20
  store i8 %132, ptr %133, align 4, !tbaa !5
  %134 = and i8 %128, 15
  %135 = zext nneg i8 %134 to i64
  %136 = getelementptr inbounds i8, ptr @.str.4, i64 %135
  %137 = load i8, ptr %136, align 1, !tbaa !5
  %138 = getelementptr inbounds i8, ptr %6, i64 21
  store i8 %137, ptr %138, align 1, !tbaa !5
  %139 = getelementptr inbounds i8, ptr %5, i64 11
  %140 = load i8, ptr %139, align 1, !tbaa !5
  %141 = lshr i8 %140, 4
  %142 = zext nneg i8 %141 to i64
  %143 = getelementptr inbounds i8, ptr @.str.4, i64 %142
  %144 = load i8, ptr %143, align 1, !tbaa !5
  %145 = getelementptr inbounds i8, ptr %6, i64 22
  store i8 %144, ptr %145, align 2, !tbaa !5
  %146 = and i8 %140, 15
  %147 = zext nneg i8 %146 to i64
  %148 = getelementptr inbounds i8, ptr @.str.4, i64 %147
  %149 = load i8, ptr %148, align 1, !tbaa !5
  %150 = getelementptr inbounds i8, ptr %6, i64 23
  store i8 %149, ptr %150, align 1, !tbaa !5
  %151 = getelementptr inbounds i8, ptr %5, i64 12
  %152 = load i8, ptr %151, align 4, !tbaa !5
  %153 = lshr i8 %152, 4
  %154 = zext nneg i8 %153 to i64
  %155 = getelementptr inbounds i8, ptr @.str.4, i64 %154
  %156 = load i8, ptr %155, align 1, !tbaa !5
  %157 = getelementptr inbounds i8, ptr %6, i64 24
  store i8 %156, ptr %157, align 8, !tbaa !5
  %158 = and i8 %152, 15
  %159 = zext nneg i8 %158 to i64
  %160 = getelementptr inbounds i8, ptr @.str.4, i64 %159
  %161 = load i8, ptr %160, align 1, !tbaa !5
  %162 = getelementptr inbounds i8, ptr %6, i64 25
  store i8 %161, ptr %162, align 1, !tbaa !5
  %163 = getelementptr inbounds i8, ptr %5, i64 13
  %164 = load i8, ptr %163, align 1, !tbaa !5
  %165 = lshr i8 %164, 4
  %166 = zext nneg i8 %165 to i64
  %167 = getelementptr inbounds i8, ptr @.str.4, i64 %166
  %168 = load i8, ptr %167, align 1, !tbaa !5
  %169 = getelementptr inbounds i8, ptr %6, i64 26
  store i8 %168, ptr %169, align 2, !tbaa !5
  %170 = and i8 %164, 15
  %171 = zext nneg i8 %170 to i64
  %172 = getelementptr inbounds i8, ptr @.str.4, i64 %171
  %173 = load i8, ptr %172, align 1, !tbaa !5
  %174 = getelementptr inbounds i8, ptr %6, i64 27
  store i8 %173, ptr %174, align 1, !tbaa !5
  %175 = getelementptr inbounds i8, ptr %5, i64 14
  %176 = load i8, ptr %175, align 2, !tbaa !5
  %177 = lshr i8 %176, 4
  %178 = zext nneg i8 %177 to i64
  %179 = getelementptr inbounds i8, ptr @.str.4, i64 %178
  %180 = load i8, ptr %179, align 1, !tbaa !5
  %181 = getelementptr inbounds i8, ptr %6, i64 28
  store i8 %180, ptr %181, align 4, !tbaa !5
  %182 = and i8 %176, 15
  %183 = zext nneg i8 %182 to i64
  %184 = getelementptr inbounds i8, ptr @.str.4, i64 %183
  %185 = load i8, ptr %184, align 1, !tbaa !5
  %186 = getelementptr inbounds i8, ptr %6, i64 29
  store i8 %185, ptr %186, align 1, !tbaa !5
  %187 = getelementptr inbounds i8, ptr %5, i64 15
  %188 = load i8, ptr %187, align 1, !tbaa !5
  %189 = lshr i8 %188, 4
  %190 = zext nneg i8 %189 to i64
  %191 = getelementptr inbounds i8, ptr @.str.4, i64 %190
  %192 = load i8, ptr %191, align 1, !tbaa !5
  %193 = getelementptr inbounds i8, ptr %6, i64 30
  store i8 %192, ptr %193, align 2, !tbaa !5
  %194 = and i8 %188, 15
  %195 = zext nneg i8 %194 to i64
  %196 = getelementptr inbounds i8, ptr @.str.4, i64 %195
  %197 = load i8, ptr %196, align 1, !tbaa !5
  %198 = getelementptr inbounds i8, ptr %6, i64 31
  store i8 %197, ptr %198, align 1, !tbaa !5
  %199 = getelementptr inbounds i8, ptr %5, i64 16
  %200 = load i8, ptr %199, align 16, !tbaa !5
  %201 = lshr i8 %200, 4
  %202 = zext nneg i8 %201 to i64
  %203 = getelementptr inbounds i8, ptr @.str.4, i64 %202
  %204 = load i8, ptr %203, align 1, !tbaa !5
  %205 = getelementptr inbounds i8, ptr %6, i64 32
  store i8 %204, ptr %205, align 16, !tbaa !5
  %206 = and i8 %200, 15
  %207 = zext nneg i8 %206 to i64
  %208 = getelementptr inbounds i8, ptr @.str.4, i64 %207
  %209 = load i8, ptr %208, align 1, !tbaa !5
  %210 = getelementptr inbounds i8, ptr %6, i64 33
  store i8 %209, ptr %210, align 1, !tbaa !5
  %211 = getelementptr inbounds i8, ptr %5, i64 17
  %212 = load i8, ptr %211, align 1, !tbaa !5
  %213 = lshr i8 %212, 4
  %214 = zext nneg i8 %213 to i64
  %215 = getelementptr inbounds i8, ptr @.str.4, i64 %214
  %216 = load i8, ptr %215, align 1, !tbaa !5
  %217 = getelementptr inbounds i8, ptr %6, i64 34
  store i8 %216, ptr %217, align 2, !tbaa !5
  %218 = and i8 %212, 15
  %219 = zext nneg i8 %218 to i64
  %220 = getelementptr inbounds i8, ptr @.str.4, i64 %219
  %221 = load i8, ptr %220, align 1, !tbaa !5
  %222 = getelementptr inbounds i8, ptr %6, i64 35
  store i8 %221, ptr %222, align 1, !tbaa !5
  %223 = getelementptr inbounds i8, ptr %5, i64 18
  %224 = load i8, ptr %223, align 2, !tbaa !5
  %225 = lshr i8 %224, 4
  %226 = zext nneg i8 %225 to i64
  %227 = getelementptr inbounds i8, ptr @.str.4, i64 %226
  %228 = load i8, ptr %227, align 1, !tbaa !5
  %229 = getelementptr inbounds i8, ptr %6, i64 36
  store i8 %228, ptr %229, align 4, !tbaa !5
  %230 = and i8 %224, 15
  %231 = zext nneg i8 %230 to i64
  %232 = getelementptr inbounds i8, ptr @.str.4, i64 %231
  %233 = load i8, ptr %232, align 1, !tbaa !5
  %234 = getelementptr inbounds i8, ptr %6, i64 37
  store i8 %233, ptr %234, align 1, !tbaa !5
  %235 = getelementptr inbounds i8, ptr %5, i64 19
  %236 = load i8, ptr %235, align 1, !tbaa !5
  %237 = lshr i8 %236, 4
  %238 = zext nneg i8 %237 to i64
  %239 = getelementptr inbounds i8, ptr @.str.4, i64 %238
  %240 = load i8, ptr %239, align 1, !tbaa !5
  %241 = getelementptr inbounds i8, ptr %6, i64 38
  store i8 %240, ptr %241, align 2, !tbaa !5
  %242 = and i8 %236, 15
  %243 = zext nneg i8 %242 to i64
  %244 = getelementptr inbounds i8, ptr @.str.4, i64 %243
  %245 = load i8, ptr %244, align 1, !tbaa !5
  %246 = getelementptr inbounds i8, ptr %6, i64 39
  store i8 %245, ptr %246, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #4
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EPKcmRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull %6, i64 noundef 40, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %247 unwind label %248

247:                                              ; preds = %3
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %4) #4
  ret void

248:                                              ; preds = %3
  %249 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %4) #4
  resume { ptr, i32 } %249
}

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,SROAPass,SimplifyCFGPass