; LLVM IR from Waqar144/simplecrypto-cxx :: simplecrypto-cxx/sha224.ll (Z13sha224_UpdateP10SHA224_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.SHA224_CTX = type { %"struct.std::array", %"struct.std::array.0", i64 }
%"struct.std::array" = type { [16 x i32] }
%"struct.std::array.0" = type { [8 x i32] }

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z16sha224_TransformRKSt5arrayIjLm8EERKS_IjLm16EEPj(ptr noundef nonnull align 4 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(64), 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: 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 @_Z13sha224_UpdateP10SHA224_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 %168

15:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.SHA224_CTX, ptr %16, i32 0, i32 2
  %18 = load i64, ptr %17, align 8, !tbaa !11
  %19 = lshr i64 %18, 3
  %20 = urem i64 %19, 64
  %21 = trunc i64 %20 to i32
  store i32 %21, ptr %7, align 4, !tbaa !15
  %22 = load i32, ptr %7, align 4, !tbaa !15
  %23 = icmp ugt i32 %22, 0
  br i1 %23, label %24, label %105

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

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

58:                                               ; preds = %75, %33
  %59 = load i32, ptr %9, align 4, !tbaa !15
  %60 = icmp slt i32 %59, 16
  br i1 %60, label %62, label %61

61:                                               ; preds = %58
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %78

62:                                               ; preds = %58
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.SHA224_CTX, ptr %63, i32 0, i32 0
  %65 = load i32, ptr %9, align 4, !tbaa !15
  %66 = sext i32 %65 to i64
  %67 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %64, i64 noundef %66) #6
  %68 = load i32, ptr %67, align 4, !tbaa !15
  %69 = call noundef i32 @_ZL9Reverse32j(i32 noundef %68)
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.SHA224_CTX, ptr %70, i32 0, i32 0
  %72 = load i32, ptr %9, align 4, !tbaa !15
  %73 = sext i32 %72 to i64
  %74 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %71, i64 noundef %73) #6
  store i32 %69, ptr %74, align 4, !tbaa !15
  br label %75

75:                                               ; preds = %62
  %76 = load i32, ptr %9, align 4, !tbaa !15
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %9, align 4, !tbaa !15
  br label %58, !llvm.loop !17

78:                                               ; preds = %61
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.SHA224_CTX, ptr %79, i32 0, i32 1
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.SHA224_CTX, ptr %81, i32 0, i32 0
  %83 = load ptr, ptr %4, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.SHA224_CTX, ptr %83, i32 0, i32 1
  %85 = call noundef ptr @_ZNSt5arrayIjLm8EE4dataEv(ptr noundef nonnull align 4 dereferenceable(32) %84) #7
  call void @_Z16sha224_TransformRKSt5arrayIjLm8EERKS_IjLm16EEPj(ptr noundef nonnull align 4 dereferenceable(32) %80, ptr noundef nonnull align 4 dereferenceable(64) %82, ptr noundef %85)
  br label %101

86:                                               ; preds = %24
  %87 = load ptr, ptr %4, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.SHA224_CTX, ptr %87, i32 0, i32 0
  %89 = call noundef ptr @_ZNSt5arrayIjLm16EE4dataEv(ptr noundef nonnull align 4 dereferenceable(64) %88) #7
  %90 = load i32, ptr %7, align 4, !tbaa !15
  %91 = zext i32 %90 to i64
  %92 = getelementptr inbounds i8, ptr %89, i64 %91
  %93 = load ptr, ptr %5, align 8, !tbaa !5
  %94 = load i64, ptr %6, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %92, ptr align 1 %93, i64 %94, i1 false)
  %95 = load i64, ptr %6, align 8, !tbaa !9
  %96 = shl i64 %95, 3
  %97 = load ptr, ptr %4, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.SHA224_CTX, ptr %97, i32 0, i32 2
  %99 = load i64, ptr %98, align 8, !tbaa !11
  %100 = add i64 %99, %96
  store i64 %100, ptr %98, align 8, !tbaa !11
  store i32 0, ptr %8, align 4, !tbaa !15
  store i32 0, ptr %7, align 4, !tbaa !15
  store i32 1, ptr %10, align 4
  br label %102

101:                                              ; preds = %78
  store i32 0, ptr %10, align 4
  br label %102

102:                                              ; preds = %101, %86
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  %103 = load i32, ptr %10, align 4
  switch i32 %103, label %166 [
    i32 0, label %104
  ]

104:                                              ; preds = %102
  br label %105

105:                                              ; preds = %104, %15
  br label %106

106:                                              ; preds = %134, %105
  %107 = load i64, ptr %6, align 8, !tbaa !9
  %108 = icmp uge i64 %107, 64
  br i1 %108, label %109, label %150

109:                                              ; preds = %106
  %110 = load ptr, ptr %4, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.SHA224_CTX, ptr %110, i32 0, i32 0
  %112 = call noundef ptr @_ZNSt5arrayIjLm16EE4dataEv(ptr noundef nonnull align 4 dereferenceable(64) %111) #7
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %112, ptr align 1 %113, i64 64, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !15
  br label %114

114:                                              ; preds = %131, %109
  %115 = load i32, ptr %11, align 4, !tbaa !15
  %116 = icmp slt i32 %115, 16
  br i1 %116, label %118, label %117

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

118:                                              ; preds = %114
  %119 = load ptr, ptr %4, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.SHA224_CTX, ptr %119, i32 0, i32 0
  %121 = load i32, ptr %11, align 4, !tbaa !15
  %122 = sext i32 %121 to i64
  %123 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %120, i64 noundef %122) #6
  %124 = load i32, ptr %123, align 4, !tbaa !15
  %125 = call noundef i32 @_ZL9Reverse32j(i32 noundef %124)
  %126 = load ptr, ptr %4, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.SHA224_CTX, ptr %126, i32 0, i32 0
  %128 = load i32, ptr %11, align 4, !tbaa !15
  %129 = sext i32 %128 to i64
  %130 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %127, i64 noundef %129) #6
  store i32 %125, ptr %130, align 4, !tbaa !15
  br label %131

131:                                              ; preds = %118
  %132 = load i32, ptr %11, align 4, !tbaa !15
  %133 = add nsw i32 %132, 1
  store i32 %133, ptr %11, align 4, !tbaa !15
  br label %114, !llvm.loop !19

134:                                              ; preds = %117
  %135 = load ptr, ptr %4, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.SHA224_CTX, ptr %135, i32 0, i32 1
  %137 = load ptr, ptr %4, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.SHA224_CTX, ptr %137, i32 0, i32 0
  %139 = load ptr, ptr %4, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.SHA224_CTX, ptr %139, i32 0, i32 1
  %141 = call noundef ptr @_ZNSt5arrayIjLm8EE4dataEv(ptr noundef nonnull align 4 dereferenceable(32) %140) #7
  call void @_Z16sha224_TransformRKSt5arrayIjLm8EERKS_IjLm16EEPj(ptr noundef nonnull align 4 dereferenceable(32) %136, ptr noundef nonnull align 4 dereferenceable(64) %138, ptr noundef %141)
  %142 = load ptr, ptr %4, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.SHA224_CTX, ptr %142, i32 0, i32 2
  %144 = load i64, ptr %143, align 8, !tbaa !11
  %145 = add i64 %144, 512
  store i64 %145, ptr %143, align 8, !tbaa !11
  %146 = load i64, ptr %6, align 8, !tbaa !9
  %147 = sub i64 %146, 64
  store i64 %147, ptr %6, align 8, !tbaa !9
  %148 = load ptr, ptr %5, align 8, !tbaa !5
  %149 = getelementptr inbounds i8, ptr %148, i64 64
  store ptr %149, ptr %5, align 8, !tbaa !5
  br label %106, !llvm.loop !20

150:                                              ; preds = %106
  %151 = load i64, ptr %6, align 8, !tbaa !9
  %152 = icmp ugt i64 %151, 0
  br i1 %152, label %153, label %165

153:                                              ; preds = %150
  %154 = load ptr, ptr %4, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.SHA224_CTX, ptr %154, i32 0, i32 0
  %156 = call noundef ptr @_ZNSt5arrayIjLm16EE4dataEv(ptr noundef nonnull align 4 dereferenceable(64) %155) #7
  %157 = load ptr, ptr %5, align 8, !tbaa !5
  %158 = load i64, ptr %6, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %156, ptr align 1 %157, i64 %158, i1 false)
  %159 = load i64, ptr %6, align 8, !tbaa !9
  %160 = shl i64 %159, 3
  %161 = load ptr, ptr %4, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.SHA224_CTX, ptr %161, i32 0, i32 2
  %163 = load i64, ptr %162, align 8, !tbaa !11
  %164 = add i64 %163, %160
  store i64 %164, ptr %162, align 8, !tbaa !11
  br label %165

165:                                              ; preds = %153, %150
  store i32 0, ptr %10, align 4
  br label %166

166:                                              ; preds = %165, %102
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  %167 = load i32, ptr %10, align 4
  switch i32 %167, label %169 [
    i32 0, label %168
    i32 1, label %168
  ]

168:                                              ; preds = %166, %166, %14
  ret void

169:                                              ; preds = %166
  unreachable
}

; Function Attrs: mustprogress nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIjLm16EE4dataEv(ptr noundef nonnull align 4 dereferenceable(64)) #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL9Reverse32j(i32 noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64), i64 noundef) #5 align 2

; Function Attrs: mustprogress nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIjLm8EE4dataEv(ptr noundef nonnull align 4 dereferenceable(32)) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { 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 = !{!"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, !10, i64 96}
!12 = !{!"_ZTS10SHA224_CTX", !13, i64 0, !14, i64 64, !10, i64 96}
!13 = !{!"_ZTSSt5arrayIjLm16EE", !7, i64 0}
!14 = !{!"_ZTSSt5arrayIjLm8EE", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}


; 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 @_Z16sha224_TransformRKSt5arrayIjLm8EERKS_IjLm16EEPj(ptr noundef nonnull align 4 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(64), ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_Z13sha224_UpdateP10SHA224_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 %170, label %5

5:                                                ; preds = %3
  %6 = getelementptr inbounds i8, ptr %0, i64 96
  %7 = load i64, ptr %6, align 8, !tbaa !5
  %8 = trunc i64 %7 to i32
  %9 = lshr i32 %8, 3
  %10 = and i32 %9, 63
  %.not = icmp eq i32 %10, 0
  br i1 %.not, label %90, label %11

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

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

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

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

.lr.ph:                                           ; preds = %90
  %92 = tail call noundef ptr @_ZNSt5arrayIjLm16EE4dataEv(ptr noundef nonnull align 4 dereferenceable(64) %0) #5
  %93 = getelementptr inbounds i8, ptr %0, i64 64
  br label %94

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

._crit_edge:                                      ; preds = %94, %90
  %.257.lcssa = phi ptr [ %.156, %90 ], [ %163, %94 ]
  %.2.lcssa = phi i64 [ %.1, %90 ], [ %162, %94 ]
  %.not62 = icmp eq i64 %.2.lcssa, 0
  br i1 %.not62, label %170, label %165

165:                                              ; preds = %._crit_edge
  %166 = tail call noundef ptr @_ZNSt5arrayIjLm16EE4dataEv(ptr noundef nonnull align 4 dereferenceable(64) %0) #5
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 4 %166, ptr align 1 %.257.lcssa, i64 %.2.lcssa, i1 false)
  br label %.sink.split

.sink.split:                                      ; preds = %165, %.thread
  %.sink = phi i64 [ %2, %.thread ], [ %.2.lcssa, %165 ]
  %167 = shl nuw nsw i64 %.sink, 3
  %168 = load i64, ptr %6, align 8, !tbaa !5
  %169 = add i64 %168, %167
  store i64 %169, ptr %6, align 8, !tbaa !5
  br label %170

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

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIjLm16EE4dataEv(ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #1 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) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL9Reverse32j(i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64), i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIjLm8EE4dataEv(ptr noundef nonnull align 4 dereferenceable(32)) local_unnamed_addr #1 align 2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress 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 #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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 #5 = { nounwind willreturn memory(none) }
attributes #6 = { 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, !11, i64 96}
!6 = !{!"_ZTS10SHA224_CTX", !7, i64 0, !10, i64 64, !11, i64 96}
!7 = !{!"_ZTSSt5arrayIjLm16EE", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt5arrayIjLm8EE", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}


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