; LLVM IR from Waqar144/simplecrypto-cxx :: simplecrypto-cxx/sha384.ll (Z13sha384_UpdateP10SHA384_CTXPKhm)

; 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.SHA384_CTX = type { %"struct.std::array", %"struct.std::array.0", %"struct.std::array.1" }
%"struct.std::array" = type { [8 x i64] }
%"struct.std::array.0" = type { [2 x i64] }
%"struct.std::array.1" = type { [16 x i64] }

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z16sha384_TransformRKSt5arrayImLm8EERKS_ImLm16EEPm(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef) #0

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128), i64 noundef) #2 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 uwtable
define dso_local void @_Z13sha384_UpdateP10SHA384_CTXPKhm(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i64 %2, ptr %6, align 8, !tbaa !9
  %12 = load i64, ptr %6, align 8, !tbaa !9
  %13 = icmp eq i64 %12, 0
  br i1 %13, label %14, label %15

14:                                               ; preds = %3
  br label %161

15:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.SHA384_CTX, ptr %16, i32 0, i32 1
  %18 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm2EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %17, i64 noundef 0) #7
  %19 = load i64, ptr %18, align 8, !tbaa !9
  %20 = lshr i64 %19, 3
  %21 = urem i64 %20, 128
  %22 = trunc i64 %21 to i32
  store i32 %22, ptr %7, align 4, !tbaa !11
  %23 = load i32, ptr %7, align 4, !tbaa !11
  %24 = icmp ugt i32 %23, 0
  br i1 %24, label %25, label %102

25:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  %26 = load i32, ptr %7, align 4, !tbaa !11
  %27 = zext i32 %26 to i64
  %28 = sub i64 128, %27
  %29 = trunc i64 %28 to i32
  store i32 %29, ptr %8, align 4, !tbaa !11
  %30 = load i64, ptr %6, align 8, !tbaa !9
  %31 = load i32, ptr %8, align 4, !tbaa !11
  %32 = zext i32 %31 to i64
  %33 = icmp uge i64 %30, %32
  br i1 %33, label %34, label %85

34:                                               ; preds = %25
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.SHA384_CTX, ptr %35, i32 0, i32 2
  %37 = call noundef ptr @_ZNSt5arrayImLm16EE4dataEv(ptr noundef nonnull align 8 dereferenceable(128) %36) #8
  %38 = load i32, ptr %7, align 4, !tbaa !11
  %39 = zext i32 %38 to i64
  %40 = getelementptr inbounds i8, ptr %37, i64 %39
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = load i32, ptr %8, align 4, !tbaa !11
  %43 = zext i32 %42 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %40, ptr align 1 %41, i64 %43, i1 false)
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.SHA384_CTX, ptr %44, i32 0, i32 1
  %46 = load i32, ptr %8, align 4, !tbaa !11
  %47 = shl i32 %46, 3
  %48 = zext i32 %47 to i64
  call void @_ZL9addInc128RSt5arrayImLm2EEm(ptr noundef nonnull align 8 dereferenceable(16) %45, i64 noundef %48)
  %49 = load i32, ptr %8, align 4, !tbaa !11
  %50 = zext i32 %49 to i64
  %51 = load i64, ptr %6, align 8, !tbaa !9
  %52 = sub i64 %51, %50
  store i64 %52, ptr %6, align 8, !tbaa !9
  %53 = load i32, ptr %8, align 4, !tbaa !11
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = zext i32 %53 to i64
  %56 = getelementptr inbounds i8, ptr %54, i64 %55
  store ptr %56, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 0, ptr %9, align 4, !tbaa !11
  br label %57

57:                                               ; preds = %74, %34
  %58 = load i32, ptr %9, align 4, !tbaa !11
  %59 = icmp slt i32 %58, 16
  br i1 %59, label %61, label %60

60:                                               ; preds = %57
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  br label %77

61:                                               ; preds = %57
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.SHA384_CTX, ptr %62, i32 0, i32 2
  %64 = load i32, ptr %9, align 4, !tbaa !11
  %65 = sext i32 %64 to i64
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %63, i64 noundef %65) #7
  %67 = load i64, ptr %66, align 8, !tbaa !9
  %68 = call noundef i64 @_ZL9reverse64m(i64 noundef %67)
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.SHA384_CTX, ptr %69, i32 0, i32 2
  %71 = load i32, ptr %9, align 4, !tbaa !11
  %72 = sext i32 %71 to i64
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %70, i64 noundef %72) #7
  store i64 %68, ptr %73, align 8, !tbaa !9
  br label %74

74:                                               ; preds = %61
  %75 = load i32, ptr %9, align 4, !tbaa !11
  %76 = add nsw i32 %75, 1
  store i32 %76, ptr %9, align 4, !tbaa !11
  br label %57, !llvm.loop !13

77:                                               ; preds = %60
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.SHA384_CTX, ptr %78, i32 0, i32 0
  %80 = load ptr, ptr %4, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.SHA384_CTX, ptr %80, i32 0, i32 2
  %82 = load ptr, ptr %4, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.SHA384_CTX, ptr %82, i32 0, i32 0
  %84 = call noundef ptr @_ZNSt5arrayImLm8EE4dataEv(ptr noundef nonnull align 8 dereferenceable(64) %83) #8
  call void @_Z16sha384_TransformRKSt5arrayImLm8EERKS_ImLm16EEPm(ptr noundef nonnull align 8 dereferenceable(64) %79, ptr noundef nonnull align 8 dereferenceable(128) %81, ptr noundef %84)
  br label %98

85:                                               ; preds = %25
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.SHA384_CTX, ptr %86, i32 0, i32 2
  %88 = call noundef ptr @_ZNSt5arrayImLm16EE4dataEv(ptr noundef nonnull align 8 dereferenceable(128) %87) #8
  %89 = load i32, ptr %7, align 4, !tbaa !11
  %90 = zext i32 %89 to i64
  %91 = getelementptr inbounds i8, ptr %88, i64 %90
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = load i64, ptr %6, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %91, ptr align 1 %92, i64 %93, i1 false)
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.SHA384_CTX, ptr %94, i32 0, i32 1
  %96 = load i64, ptr %6, align 8, !tbaa !9
  %97 = shl i64 %96, 3
  call void @_ZL9addInc128RSt5arrayImLm2EEm(ptr noundef nonnull align 8 dereferenceable(16) %95, i64 noundef %97)
  store i32 0, ptr %8, align 4, !tbaa !11
  store i32 0, ptr %7, align 4, !tbaa !11
  store i32 1, ptr %10, align 4
  br label %99

98:                                               ; preds = %77
  store i32 0, ptr %10, align 4
  br label %99

99:                                               ; preds = %98, %85
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  %100 = load i32, ptr %10, align 4
  switch i32 %100, label %159 [
    i32 0, label %101
  ]

101:                                              ; preds = %99
  br label %102

102:                                              ; preds = %101, %15
  br label %103

103:                                              ; preds = %131, %102
  %104 = load i64, ptr %6, align 8, !tbaa !9
  %105 = icmp uge i64 %104, 128
  br i1 %105, label %106, label %145

106:                                              ; preds = %103
  %107 = load ptr, ptr %4, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.SHA384_CTX, ptr %107, i32 0, i32 2
  %109 = call noundef ptr @_ZNSt5arrayImLm16EE4dataEv(ptr noundef nonnull align 8 dereferenceable(128) %108) #8
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %109, ptr align 1 %110, i64 128, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 0, ptr %11, align 4, !tbaa !11
  br label %111

111:                                              ; preds = %128, %106
  %112 = load i32, ptr %11, align 4, !tbaa !11
  %113 = icmp slt i32 %112, 16
  br i1 %113, label %115, label %114

114:                                              ; preds = %111
  store i32 7, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %131

115:                                              ; preds = %111
  %116 = load ptr, ptr %4, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.SHA384_CTX, ptr %116, i32 0, i32 2
  %118 = load i32, ptr %11, align 4, !tbaa !11
  %119 = sext i32 %118 to i64
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %117, i64 noundef %119) #7
  %121 = load i64, ptr %120, align 8, !tbaa !9
  %122 = call noundef i64 @_ZL9reverse64m(i64 noundef %121)
  %123 = load ptr, ptr %4, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.SHA384_CTX, ptr %123, i32 0, i32 2
  %125 = load i32, ptr %11, align 4, !tbaa !11
  %126 = sext i32 %125 to i64
  %127 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %124, i64 noundef %126) #7
  store i64 %122, ptr %127, align 8, !tbaa !9
  br label %128

128:                                              ; preds = %115
  %129 = load i32, ptr %11, align 4, !tbaa !11
  %130 = add nsw i32 %129, 1
  store i32 %130, ptr %11, align 4, !tbaa !11
  br label %111, !llvm.loop !15

131:                                              ; preds = %114
  %132 = load ptr, ptr %4, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.SHA384_CTX, ptr %132, i32 0, i32 0
  %134 = load ptr, ptr %4, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.SHA384_CTX, ptr %134, i32 0, i32 2
  %136 = load ptr, ptr %4, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.SHA384_CTX, ptr %136, i32 0, i32 0
  %138 = call noundef ptr @_ZNSt5arrayImLm8EE4dataEv(ptr noundef nonnull align 8 dereferenceable(64) %137) #8
  call void @_Z16sha384_TransformRKSt5arrayImLm8EERKS_ImLm16EEPm(ptr noundef nonnull align 8 dereferenceable(64) %133, ptr noundef nonnull align 8 dereferenceable(128) %135, ptr noundef %138)
  %139 = load ptr, ptr %4, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.SHA384_CTX, ptr %139, i32 0, i32 1
  call void @_ZL9addInc128RSt5arrayImLm2EEm(ptr noundef nonnull align 8 dereferenceable(16) %140, i64 noundef 1024)
  %141 = load i64, ptr %6, align 8, !tbaa !9
  %142 = sub i64 %141, 128
  store i64 %142, ptr %6, align 8, !tbaa !9
  %143 = load ptr, ptr %5, align 8, !tbaa !5
  %144 = getelementptr inbounds i8, ptr %143, i64 128
  store ptr %144, ptr %5, align 8, !tbaa !5
  br label %103, !llvm.loop !16

145:                                              ; preds = %103
  %146 = load i64, ptr %6, align 8, !tbaa !9
  %147 = icmp ugt i64 %146, 0
  br i1 %147, label %148, label %158

148:                                              ; preds = %145
  %149 = load ptr, ptr %4, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.SHA384_CTX, ptr %149, i32 0, i32 2
  %151 = call noundef ptr @_ZNSt5arrayImLm16EE4dataEv(ptr noundef nonnull align 8 dereferenceable(128) %150) #8
  %152 = load ptr, ptr %5, align 8, !tbaa !5
  %153 = load i64, ptr %6, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %151, ptr align 1 %152, i64 %153, i1 false)
  %154 = load ptr, ptr %4, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.SHA384_CTX, ptr %154, i32 0, i32 1
  %156 = load i64, ptr %6, align 8, !tbaa !9
  %157 = shl i64 %156, 3
  call void @_ZL9addInc128RSt5arrayImLm2EEm(ptr noundef nonnull align 8 dereferenceable(16) %155, i64 noundef %157)
  br label %158

158:                                              ; preds = %148, %145
  store i32 0, ptr %10, align 4
  br label %159

159:                                              ; preds = %158, %99
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  %160 = load i32, ptr %10, align 4
  switch i32 %160, label %162 [
    i32 0, label %161
    i32 1, label %161
  ]

161:                                              ; preds = %159, %159, %14
  ret void

162:                                              ; preds = %159
  unreachable
}

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

; Function Attrs: mustprogress nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayImLm16EE4dataEv(ptr noundef nonnull align 8 dereferenceable(128)) #3 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) #4

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL9addInc128RSt5arrayImLm2EEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i64 @_ZL9reverse64m(i64 noundef) #6

; Function Attrs: mustprogress nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayImLm8EE4dataEv(ptr noundef nonnull align 8 dereferenceable(64)) #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 = { 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 = { mustprogress nounwind willreturn memory(none) 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { inlinehint 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 #6 = { inlinehint 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 #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(none) }

!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 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}


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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z16sha384_TransformRKSt5arrayImLm8EERKS_ImLm16EEPm(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z13sha384_UpdateP10SHA384_CTXPKhm(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #0 {
  %4 = icmp eq i64 %2, 0
  br i1 %4, label %166, label %5

5:                                                ; preds = %3
  %6 = getelementptr inbounds i8, ptr %0, i64 64
  %7 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm2EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %6, i64 noundef 0) #6
  %8 = load i64, ptr %7, align 8, !tbaa !5
  %9 = trunc i64 %8 to i32
  %10 = lshr i32 %9, 3
  %11 = and i32 %10, 127
  %.not = icmp eq i32 %11, 0
  br i1 %.not, label %89, label %12

12:                                               ; preds = %5
  %13 = zext nneg i32 %11 to i64
  %14 = sub nuw nsw i32 128, %11
  %15 = zext nneg i32 %14 to i64
  %.not61.not = icmp ugt i64 %15, %2
  %16 = getelementptr inbounds i8, ptr %0, i64 80
  %17 = tail call noundef ptr @_ZNSt5arrayImLm16EE4dataEv(ptr noundef nonnull align 8 dereferenceable(128) %16) #7
  %18 = getelementptr inbounds i8, ptr %17, i64 %13
  br i1 %.not61.not, label %.thread, label %19

19:                                               ; preds = %12
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(1) %18, ptr noundef nonnull align 1 dereferenceable(1) %1, i64 %15, i1 false)
  %20 = shl nuw nsw i32 %14, 3
  %21 = zext nneg i32 %20 to i64
  tail call void @_ZL9addInc128RSt5arrayImLm2EEm(ptr noundef nonnull align 8 dereferenceable(16) %6, i64 noundef %21)
  %22 = sub i64 %2, %15
  %23 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 0) #6
  %24 = load i64, ptr %23, align 8, !tbaa !5
  %25 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %24)
  %26 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 0) #6
  store i64 %25, ptr %26, align 8, !tbaa !5
  %27 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 1) #6
  %28 = load i64, ptr %27, align 8, !tbaa !5
  %29 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %28)
  %30 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 1) #6
  store i64 %29, ptr %30, align 8, !tbaa !5
  %31 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 2) #6
  %32 = load i64, ptr %31, align 8, !tbaa !5
  %33 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %32)
  %34 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 2) #6
  store i64 %33, ptr %34, align 8, !tbaa !5
  %35 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 3) #6
  %36 = load i64, ptr %35, align 8, !tbaa !5
  %37 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %36)
  %38 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 3) #6
  store i64 %37, ptr %38, align 8, !tbaa !5
  %39 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 4) #6
  %40 = load i64, ptr %39, align 8, !tbaa !5
  %41 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %40)
  %42 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 4) #6
  store i64 %41, ptr %42, align 8, !tbaa !5
  %43 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 5) #6
  %44 = load i64, ptr %43, align 8, !tbaa !5
  %45 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %44)
  %46 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 5) #6
  store i64 %45, ptr %46, align 8, !tbaa !5
  %47 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 6) #6
  %48 = load i64, ptr %47, align 8, !tbaa !5
  %49 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %48)
  %50 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 6) #6
  store i64 %49, ptr %50, align 8, !tbaa !5
  %51 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 7) #6
  %52 = load i64, ptr %51, align 8, !tbaa !5
  %53 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %52)
  %54 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 7) #6
  store i64 %53, ptr %54, align 8, !tbaa !5
  %55 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 8) #6
  %56 = load i64, ptr %55, align 8, !tbaa !5
  %57 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %56)
  %58 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 8) #6
  store i64 %57, ptr %58, align 8, !tbaa !5
  %59 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 9) #6
  %60 = load i64, ptr %59, align 8, !tbaa !5
  %61 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %60)
  %62 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 9) #6
  store i64 %61, ptr %62, align 8, !tbaa !5
  %63 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 10) #6
  %64 = load i64, ptr %63, align 8, !tbaa !5
  %65 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %64)
  %66 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 10) #6
  store i64 %65, ptr %66, align 8, !tbaa !5
  %67 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 11) #6
  %68 = load i64, ptr %67, align 8, !tbaa !5
  %69 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %68)
  %70 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 11) #6
  store i64 %69, ptr %70, align 8, !tbaa !5
  %71 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 12) #6
  %72 = load i64, ptr %71, align 8, !tbaa !5
  %73 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %72)
  %74 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 12) #6
  store i64 %73, ptr %74, align 8, !tbaa !5
  %75 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 13) #6
  %76 = load i64, ptr %75, align 8, !tbaa !5
  %77 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %76)
  %78 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 13) #6
  store i64 %77, ptr %78, align 8, !tbaa !5
  %79 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 14) #6
  %80 = load i64, ptr %79, align 8, !tbaa !5
  %81 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %80)
  %82 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 14) #6
  store i64 %81, ptr %82, align 8, !tbaa !5
  %83 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 15) #6
  %84 = load i64, ptr %83, align 8, !tbaa !5
  %85 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %84)
  %86 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %16, i64 noundef 15) #6
  store i64 %85, ptr %86, align 8, !tbaa !5
  %87 = getelementptr inbounds i8, ptr %1, i64 %15
  %88 = tail call noundef ptr @_ZNSt5arrayImLm8EE4dataEv(ptr noundef nonnull align 8 dereferenceable(64) %0) #7
  tail call void @_Z16sha384_TransformRKSt5arrayImLm8EERKS_ImLm16EEPm(ptr noundef nonnull align 8 dereferenceable(64) %0, ptr noundef nonnull align 8 dereferenceable(128) %16, ptr noundef %88)
  br label %89

.thread:                                          ; preds = %12
  tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %18, ptr align 1 %1, i64 %2, i1 false)
  br label %.sink.split

89:                                               ; preds = %19, %5
  %.156 = phi ptr [ %87, %19 ], [ %1, %5 ]
  %.1 = phi i64 [ %22, %19 ], [ %2, %5 ]
  %90 = icmp ugt i64 %.1, 127
  br i1 %90, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %89
  %91 = getelementptr inbounds i8, ptr %0, i64 80
  %92 = tail call noundef ptr @_ZNSt5arrayImLm16EE4dataEv(ptr noundef nonnull align 8 dereferenceable(128) %91) #7
  br label %93

93:                                               ; preds = %.lr.ph, %93
  %.268 = phi i64 [ %.1, %.lr.ph ], [ %159, %93 ]
  %.25767 = phi ptr [ %.156, %.lr.ph ], [ %160, %93 ]
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(128) %92, ptr noundef nonnull align 1 dereferenceable(128) %.25767, i64 128, i1 false)
  %94 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 0) #6
  %95 = load i64, ptr %94, align 8, !tbaa !5
  %96 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %95)
  %97 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 0) #6
  store i64 %96, ptr %97, align 8, !tbaa !5
  %98 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 1) #6
  %99 = load i64, ptr %98, align 8, !tbaa !5
  %100 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %99)
  %101 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 1) #6
  store i64 %100, ptr %101, align 8, !tbaa !5
  %102 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 2) #6
  %103 = load i64, ptr %102, align 8, !tbaa !5
  %104 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %103)
  %105 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 2) #6
  store i64 %104, ptr %105, align 8, !tbaa !5
  %106 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 3) #6
  %107 = load i64, ptr %106, align 8, !tbaa !5
  %108 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %107)
  %109 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 3) #6
  store i64 %108, ptr %109, align 8, !tbaa !5
  %110 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 4) #6
  %111 = load i64, ptr %110, align 8, !tbaa !5
  %112 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %111)
  %113 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 4) #6
  store i64 %112, ptr %113, align 8, !tbaa !5
  %114 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 5) #6
  %115 = load i64, ptr %114, align 8, !tbaa !5
  %116 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %115)
  %117 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 5) #6
  store i64 %116, ptr %117, align 8, !tbaa !5
  %118 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 6) #6
  %119 = load i64, ptr %118, align 8, !tbaa !5
  %120 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %119)
  %121 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 6) #6
  store i64 %120, ptr %121, align 8, !tbaa !5
  %122 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 7) #6
  %123 = load i64, ptr %122, align 8, !tbaa !5
  %124 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %123)
  %125 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 7) #6
  store i64 %124, ptr %125, align 8, !tbaa !5
  %126 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 8) #6
  %127 = load i64, ptr %126, align 8, !tbaa !5
  %128 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %127)
  %129 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 8) #6
  store i64 %128, ptr %129, align 8, !tbaa !5
  %130 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 9) #6
  %131 = load i64, ptr %130, align 8, !tbaa !5
  %132 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %131)
  %133 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 9) #6
  store i64 %132, ptr %133, align 8, !tbaa !5
  %134 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 10) #6
  %135 = load i64, ptr %134, align 8, !tbaa !5
  %136 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %135)
  %137 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 10) #6
  store i64 %136, ptr %137, align 8, !tbaa !5
  %138 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 11) #6
  %139 = load i64, ptr %138, align 8, !tbaa !5
  %140 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %139)
  %141 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 11) #6
  store i64 %140, ptr %141, align 8, !tbaa !5
  %142 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 12) #6
  %143 = load i64, ptr %142, align 8, !tbaa !5
  %144 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %143)
  %145 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 12) #6
  store i64 %144, ptr %145, align 8, !tbaa !5
  %146 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 13) #6
  %147 = load i64, ptr %146, align 8, !tbaa !5
  %148 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %147)
  %149 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 13) #6
  store i64 %148, ptr %149, align 8, !tbaa !5
  %150 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 14) #6
  %151 = load i64, ptr %150, align 8, !tbaa !5
  %152 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %151)
  %153 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 14) #6
  store i64 %152, ptr %153, align 8, !tbaa !5
  %154 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 15) #6
  %155 = load i64, ptr %154, align 8, !tbaa !5
  %156 = tail call noundef i64 @_ZL9reverse64m(i64 noundef %155)
  %157 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayImLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(128) %91, i64 noundef 15) #6
  store i64 %156, ptr %157, align 8, !tbaa !5
  %158 = tail call noundef ptr @_ZNSt5arrayImLm8EE4dataEv(ptr noundef nonnull align 8 dereferenceable(64) %0) #7
  tail call void @_Z16sha384_TransformRKSt5arrayImLm8EERKS_ImLm16EEPm(ptr noundef nonnull align 8 dereferenceable(64) %0, ptr noundef nonnull align 8 dereferenceable(128) %91, ptr noundef %158)
  tail call void @_ZL9addInc128RSt5arrayImLm2EEm(ptr noundef nonnull align 8 dereferenceable(16) %6, i64 noundef 1024)
  %159 = add i64 %.268, -128
  %160 = getelementptr inbounds i8, ptr %.25767, i64 128
  %161 = icmp ugt i64 %159, 127
  br i1 %161, label %93, label %._crit_edge, !llvm.loop !9

._crit_edge:                                      ; preds = %93, %89
  %.257.lcssa = phi ptr [ %.156, %89 ], [ %160, %93 ]
  %.2.lcssa = phi i64 [ %.1, %89 ], [ %159, %93 ]
  %.not62 = icmp eq i64 %.2.lcssa, 0
  br i1 %.not62, label %166, label %162

162:                                              ; preds = %._crit_edge
  %163 = getelementptr inbounds i8, ptr %0, i64 80
  %164 = tail call noundef ptr @_ZNSt5arrayImLm16EE4dataEv(ptr noundef nonnull align 8 dereferenceable(128) %163) #7
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 8 %164, ptr align 1 %.257.lcssa, i64 %.2.lcssa, i1 false)
  br label %.sink.split

.sink.split:                                      ; preds = %162, %.thread
  %.sink74 = phi i64 [ %2, %.thread ], [ %.2.lcssa, %162 ]
  %165 = shl nuw nsw i64 %.sink74, 3
  tail call void @_ZL9addInc128RSt5arrayImLm2EEm(ptr noundef nonnull align 8 dereferenceable(16) %6, i64 noundef %165)
  br label %166

166:                                              ; preds = %.sink.split, %._crit_edge, %3
  ret void
}

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

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayImLm16EE4dataEv(ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL9addInc128RSt5arrayImLm2EEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i64 @_ZL9reverse64m(i64 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayImLm8EE4dataEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #2 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 nofree nosync nounwind willreturn memory(none) 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint 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 #5 = { inlinehint 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 #6 = { nounwind }
attributes #7 = { nounwind willreturn memory(none) }

!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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


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