; LLVM IR from Waqar144/simplecrypto-cxx :: simplecrypto-cxx/sha224.ll (Z12sha224_FinalP10SHA224_CTXPh)

; 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 nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32), i64 noundef) #0 align 2

; 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) #1

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

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

; Function Attrs: mustprogress nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIjLm16EE4dataEv(ptr noundef nonnull align 4 dereferenceable(64)) #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 nounwind uwtable
declare hidden noundef i32 @_ZL9Reverse32j(i32 noundef) #5

; 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) #0 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z12sha224_FinalP10SHA224_CTXPh(ptr noundef %0, ptr noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %11 = load ptr, ptr %4, align 8, !tbaa !5
  %12 = icmp ne ptr %11, null
  br i1 %12, label %13, label %149

13:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.SHA224_CTX, ptr %14, i32 0, i32 2
  %16 = load i64, ptr %15, align 8, !tbaa !9
  %17 = lshr i64 %16, 3
  %18 = urem i64 %17, 64
  %19 = trunc i64 %18 to i32
  store i32 %19, ptr %5, align 4, !tbaa !14
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.SHA224_CTX, ptr %20, i32 0, i32 0
  %22 = call noundef ptr @_ZNSt5arrayIjLm16EE4dataEv(ptr noundef nonnull align 4 dereferenceable(64) %21) #9
  %23 = load i32, ptr %5, align 4, !tbaa !14
  %24 = add i32 %23, 1
  store i32 %24, ptr %5, align 4, !tbaa !14
  %25 = zext i32 %23 to i64
  %26 = getelementptr inbounds i8, ptr %22, i64 %25
  store i8 -128, ptr %26, align 1, !tbaa !16
  %27 = load i32, ptr %5, align 4, !tbaa !14
  %28 = zext i32 %27 to i64
  %29 = icmp ugt i64 %28, 56
  br i1 %29, label %30, label %69

30:                                               ; preds = %13
  %31 = load ptr, ptr %3, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.SHA224_CTX, ptr %31, i32 0, i32 0
  %33 = call noundef ptr @_ZNSt5arrayIjLm16EE4dataEv(ptr noundef nonnull align 4 dereferenceable(64) %32) #9
  %34 = load i32, ptr %5, align 4, !tbaa !14
  %35 = zext i32 %34 to i64
  %36 = getelementptr inbounds i8, ptr %33, i64 %35
  %37 = load i32, ptr %5, align 4, !tbaa !14
  %38 = zext i32 %37 to i64
  %39 = sub i64 64, %38
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  store i32 0, ptr %6, align 4, !tbaa !14
  %40 = call noundef ptr @_ZSt6fill_nIPhmiET_S1_T0_RKT1_(ptr noundef %36, i64 noundef %39, ptr noundef nonnull align 4 dereferenceable(4) %6)
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  store i32 0, ptr %7, align 4, !tbaa !14
  br label %41

41:                                               ; preds = %58, %30
  %42 = load i32, ptr %7, align 4, !tbaa !14
  %43 = icmp slt i32 %42, 16
  br i1 %43, label %45, label %44

44:                                               ; preds = %41
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  br label %61

45:                                               ; preds = %41
  %46 = load ptr, ptr %3, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.SHA224_CTX, ptr %46, i32 0, i32 0
  %48 = load i32, ptr %7, align 4, !tbaa !14
  %49 = sext i32 %48 to i64
  %50 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %47, i64 noundef %49) #8
  %51 = load i32, ptr %50, align 4, !tbaa !14
  %52 = call noundef i32 @_ZL9Reverse32j(i32 noundef %51)
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.SHA224_CTX, ptr %53, i32 0, i32 0
  %55 = load i32, ptr %7, align 4, !tbaa !14
  %56 = sext i32 %55 to i64
  %57 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %54, i64 noundef %56) #8
  store i32 %52, ptr %57, align 4, !tbaa !14
  br label %58

58:                                               ; preds = %45
  %59 = load i32, ptr %7, align 4, !tbaa !14
  %60 = add nsw i32 %59, 1
  store i32 %60, ptr %7, align 4, !tbaa !14
  br label %41, !llvm.loop !17

61:                                               ; preds = %44
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.SHA224_CTX, ptr %62, i32 0, i32 1
  %64 = load ptr, ptr %3, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.SHA224_CTX, ptr %64, i32 0, i32 0
  %66 = load ptr, ptr %3, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.SHA224_CTX, ptr %66, i32 0, i32 1
  %68 = call noundef ptr @_ZNSt5arrayIjLm8EE4dataEv(ptr noundef nonnull align 4 dereferenceable(32) %67) #9
  call void @_Z16sha224_TransformRKSt5arrayIjLm8EERKS_IjLm16EEPj(ptr noundef nonnull align 4 dereferenceable(32) %63, ptr noundef nonnull align 4 dereferenceable(64) %65, ptr noundef %68)
  store i32 0, ptr %5, align 4, !tbaa !14
  br label %69

69:                                               ; preds = %61, %13
  %70 = load ptr, ptr %3, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.SHA224_CTX, ptr %70, i32 0, i32 0
  %72 = call noundef ptr @_ZNSt5arrayIjLm16EE4dataEv(ptr noundef nonnull align 4 dereferenceable(64) %71) #9
  %73 = load i32, ptr %5, align 4, !tbaa !14
  %74 = zext i32 %73 to i64
  %75 = getelementptr inbounds i8, ptr %72, i64 %74
  %76 = load i32, ptr %5, align 4, !tbaa !14
  %77 = zext i32 %76 to i64
  %78 = sub i64 56, %77
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  store i32 0, ptr %8, align 4, !tbaa !14
  %79 = call noundef ptr @_ZSt6fill_nIPhmiET_S1_T0_RKT1_(ptr noundef %75, i64 noundef %78, ptr noundef nonnull align 4 dereferenceable(4) %8)
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 0, ptr %9, align 4, !tbaa !14
  br label %80

80:                                               ; preds = %97, %69
  %81 = load i32, ptr %9, align 4, !tbaa !14
  %82 = icmp slt i32 %81, 14
  br i1 %82, label %84, label %83

83:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  br label %100

84:                                               ; preds = %80
  %85 = load ptr, ptr %3, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.SHA224_CTX, ptr %85, i32 0, i32 0
  %87 = load i32, ptr %9, align 4, !tbaa !14
  %88 = sext i32 %87 to i64
  %89 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %86, i64 noundef %88) #8
  %90 = load i32, ptr %89, align 4, !tbaa !14
  %91 = call noundef i32 @_ZL9Reverse32j(i32 noundef %90)
  %92 = load ptr, ptr %3, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.SHA224_CTX, ptr %92, i32 0, i32 0
  %94 = load i32, ptr %9, align 4, !tbaa !14
  %95 = sext i32 %94 to i64
  %96 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %93, i64 noundef %95) #8
  store i32 %91, ptr %96, align 4, !tbaa !14
  br label %97

97:                                               ; preds = %84
  %98 = load i32, ptr %9, align 4, !tbaa !14
  %99 = add nsw i32 %98, 1
  store i32 %99, ptr %9, align 4, !tbaa !14
  br label %80, !llvm.loop !19

100:                                              ; preds = %83
  %101 = load ptr, ptr %3, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.SHA224_CTX, ptr %101, i32 0, i32 2
  %103 = load i64, ptr %102, align 8, !tbaa !9
  %104 = lshr i64 %103, 32
  %105 = trunc i64 %104 to i32
  %106 = load ptr, ptr %3, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.SHA224_CTX, ptr %106, i32 0, i32 0
  %108 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %107, i64 noundef 14) #8
  store i32 %105, ptr %108, align 4, !tbaa !14
  %109 = load ptr, ptr %3, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.SHA224_CTX, ptr %109, i32 0, i32 2
  %111 = load i64, ptr %110, align 8, !tbaa !9
  %112 = and i64 %111, 4294967295
  %113 = trunc i64 %112 to i32
  %114 = load ptr, ptr %3, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.SHA224_CTX, ptr %114, i32 0, i32 0
  %116 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %115, i64 noundef 15) #8
  store i32 %113, ptr %116, align 4, !tbaa !14
  %117 = load ptr, ptr %3, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.SHA224_CTX, ptr %117, i32 0, i32 1
  %119 = load ptr, ptr %3, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.SHA224_CTX, ptr %119, i32 0, i32 0
  %121 = load ptr, ptr %3, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.SHA224_CTX, ptr %121, i32 0, i32 1
  %123 = call noundef ptr @_ZNSt5arrayIjLm8EE4dataEv(ptr noundef nonnull align 4 dereferenceable(32) %122) #9
  call void @_Z16sha224_TransformRKSt5arrayIjLm8EERKS_IjLm16EEPj(ptr noundef nonnull align 4 dereferenceable(32) %118, ptr noundef nonnull align 4 dereferenceable(64) %120, ptr noundef %123)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  store i32 0, ptr %10, align 4, !tbaa !14
  br label %124

124:                                              ; preds = %141, %100
  %125 = load i32, ptr %10, align 4, !tbaa !14
  %126 = icmp slt i32 %125, 8
  br i1 %126, label %128, label %127

127:                                              ; preds = %124
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  br label %144

128:                                              ; preds = %124
  %129 = load ptr, ptr %3, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.SHA224_CTX, ptr %129, i32 0, i32 1
  %131 = load i32, ptr %10, align 4, !tbaa !14
  %132 = sext i32 %131 to i64
  %133 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %130, i64 noundef %132) #8
  %134 = load i32, ptr %133, align 4, !tbaa !14
  %135 = call noundef i32 @_ZL9Reverse32j(i32 noundef %134)
  %136 = load ptr, ptr %3, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.SHA224_CTX, ptr %136, i32 0, i32 1
  %138 = load i32, ptr %10, align 4, !tbaa !14
  %139 = sext i32 %138 to i64
  %140 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %137, i64 noundef %139) #8
  store i32 %135, ptr %140, align 4, !tbaa !14
  br label %141

141:                                              ; preds = %128
  %142 = load i32, ptr %10, align 4, !tbaa !14
  %143 = add nsw i32 %142, 1
  store i32 %143, ptr %10, align 4, !tbaa !14
  br label %124, !llvm.loop !20

144:                                              ; preds = %127
  %145 = load ptr, ptr %4, align 8, !tbaa !5
  %146 = load ptr, ptr %3, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.SHA224_CTX, ptr %146, i32 0, i32 1
  %148 = call noundef ptr @_ZNSt5arrayIjLm8EE4dataEv(ptr noundef nonnull align 4 dereferenceable(32) %147) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %145, ptr align 4 %148, i64 28, i1 false)
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  br label %149

149:                                              ; preds = %144, %2
  %150 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 8 %150, i8 0, i64 104, i1 false)
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt6fill_nIPhmiET_S1_T0_RKT1_(ptr noundef, i64 noundef, ptr noundef nonnull align 4 dereferenceable(4)) #6

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #7

attributes #0 = { 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 #1 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 = { 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 #7 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { nounwind }
attributes #9 = { 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, !13, i64 96}
!10 = !{!"_ZTS10SHA224_CTX", !11, i64 0, !12, i64 64, !13, i64 96}
!11 = !{!"_ZTSSt5arrayIjLm16EE", !7, i64 0}
!12 = !{!"_ZTSSt5arrayIjLm8EE", !7, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!7, !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 nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32), i64 noundef) local_unnamed_addr #0 align 2

; 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 #1

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

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

; 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 #3 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) #4

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

; 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 #0 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 #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z12sha224_FinalP10SHA224_CTXPh(ptr noundef %0, ptr noundef writeonly %1) local_unnamed_addr #1 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %189, label %5

5:                                                ; preds = %2
  %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
  %11 = tail call noundef ptr @_ZNSt5arrayIjLm16EE4dataEv(ptr noundef nonnull align 4 dereferenceable(64) %0) #8
  %12 = add nuw nsw i32 %10, 1
  %13 = zext nneg i32 %10 to i64
  %14 = getelementptr inbounds i8, ptr %11, i64 %13
  store i8 -128, ptr %14, align 1, !tbaa !12
  %15 = icmp ugt i32 %10, 55
  br i1 %15, label %16, label %87

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

87:                                               ; preds = %16, %5
  %.043 = phi i32 [ 0, %16 ], [ %12, %5 ]
  %88 = zext nneg i32 %.043 to i64
  %89 = getelementptr inbounds i8, ptr %11, i64 %88
  %90 = sub nuw nsw i64 56, %88
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #9
  store i32 0, ptr %4, align 4, !tbaa !13
  %91 = call noundef ptr @_ZSt6fill_nIPhmiET_S1_T0_RKT1_(ptr noundef %89, i64 noundef %90, ptr noundef nonnull align 4 dereferenceable(4) %4)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #9
  %92 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 0) #9
  %93 = load i32, ptr %92, align 4, !tbaa !13
  %94 = call noundef i32 @_ZL9Reverse32j(i32 noundef %93)
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 0) #9
  store i32 %94, ptr %95, align 4, !tbaa !13
  %96 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 1) #9
  %97 = load i32, ptr %96, align 4, !tbaa !13
  %98 = call noundef i32 @_ZL9Reverse32j(i32 noundef %97)
  %99 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 1) #9
  store i32 %98, ptr %99, align 4, !tbaa !13
  %100 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 2) #9
  %101 = load i32, ptr %100, align 4, !tbaa !13
  %102 = call noundef i32 @_ZL9Reverse32j(i32 noundef %101)
  %103 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 2) #9
  store i32 %102, ptr %103, align 4, !tbaa !13
  %104 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 3) #9
  %105 = load i32, ptr %104, align 4, !tbaa !13
  %106 = call noundef i32 @_ZL9Reverse32j(i32 noundef %105)
  %107 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 3) #9
  store i32 %106, ptr %107, align 4, !tbaa !13
  %108 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 4) #9
  %109 = load i32, ptr %108, align 4, !tbaa !13
  %110 = call noundef i32 @_ZL9Reverse32j(i32 noundef %109)
  %111 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 4) #9
  store i32 %110, ptr %111, align 4, !tbaa !13
  %112 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 5) #9
  %113 = load i32, ptr %112, align 4, !tbaa !13
  %114 = call noundef i32 @_ZL9Reverse32j(i32 noundef %113)
  %115 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 5) #9
  store i32 %114, ptr %115, align 4, !tbaa !13
  %116 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 6) #9
  %117 = load i32, ptr %116, align 4, !tbaa !13
  %118 = call noundef i32 @_ZL9Reverse32j(i32 noundef %117)
  %119 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 6) #9
  store i32 %118, ptr %119, align 4, !tbaa !13
  %120 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 7) #9
  %121 = load i32, ptr %120, align 4, !tbaa !13
  %122 = call noundef i32 @_ZL9Reverse32j(i32 noundef %121)
  %123 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 7) #9
  store i32 %122, ptr %123, align 4, !tbaa !13
  %124 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 8) #9
  %125 = load i32, ptr %124, align 4, !tbaa !13
  %126 = call noundef i32 @_ZL9Reverse32j(i32 noundef %125)
  %127 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 8) #9
  store i32 %126, ptr %127, align 4, !tbaa !13
  %128 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 9) #9
  %129 = load i32, ptr %128, align 4, !tbaa !13
  %130 = call noundef i32 @_ZL9Reverse32j(i32 noundef %129)
  %131 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 9) #9
  store i32 %130, ptr %131, align 4, !tbaa !13
  %132 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 10) #9
  %133 = load i32, ptr %132, align 4, !tbaa !13
  %134 = call noundef i32 @_ZL9Reverse32j(i32 noundef %133)
  %135 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 10) #9
  store i32 %134, ptr %135, align 4, !tbaa !13
  %136 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 11) #9
  %137 = load i32, ptr %136, align 4, !tbaa !13
  %138 = call noundef i32 @_ZL9Reverse32j(i32 noundef %137)
  %139 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 11) #9
  store i32 %138, ptr %139, align 4, !tbaa !13
  %140 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 12) #9
  %141 = load i32, ptr %140, align 4, !tbaa !13
  %142 = call noundef i32 @_ZL9Reverse32j(i32 noundef %141)
  %143 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 12) #9
  store i32 %142, ptr %143, align 4, !tbaa !13
  %144 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 13) #9
  %145 = load i32, ptr %144, align 4, !tbaa !13
  %146 = call noundef i32 @_ZL9Reverse32j(i32 noundef %145)
  %147 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 13) #9
  store i32 %146, ptr %147, align 4, !tbaa !13
  %148 = load i64, ptr %6, align 8, !tbaa !5
  %149 = lshr i64 %148, 32
  %150 = trunc nuw i64 %149 to i32
  %151 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 14) #9
  store i32 %150, ptr %151, align 4, !tbaa !13
  %152 = load i64, ptr %6, align 8, !tbaa !5
  %153 = trunc i64 %152 to i32
  %154 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %0, i64 noundef 15) #9
  store i32 %153, ptr %154, align 4, !tbaa !13
  %155 = getelementptr inbounds i8, ptr %0, i64 64
  %156 = call noundef ptr @_ZNSt5arrayIjLm8EE4dataEv(ptr noundef nonnull align 4 dereferenceable(32) %155) #8
  call void @_Z16sha224_TransformRKSt5arrayIjLm8EERKS_IjLm16EEPj(ptr noundef nonnull align 4 dereferenceable(32) %155, ptr noundef nonnull align 4 dereferenceable(64) %0, ptr noundef %156)
  %157 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %155, i64 noundef 0) #9
  %158 = load i32, ptr %157, align 4, !tbaa !13
  %159 = call noundef i32 @_ZL9Reverse32j(i32 noundef %158)
  %160 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %155, i64 noundef 0) #9
  store i32 %159, ptr %160, align 4, !tbaa !13
  %161 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %155, i64 noundef 1) #9
  %162 = load i32, ptr %161, align 4, !tbaa !13
  %163 = call noundef i32 @_ZL9Reverse32j(i32 noundef %162)
  %164 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %155, i64 noundef 1) #9
  store i32 %163, ptr %164, align 4, !tbaa !13
  %165 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %155, i64 noundef 2) #9
  %166 = load i32, ptr %165, align 4, !tbaa !13
  %167 = call noundef i32 @_ZL9Reverse32j(i32 noundef %166)
  %168 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %155, i64 noundef 2) #9
  store i32 %167, ptr %168, align 4, !tbaa !13
  %169 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %155, i64 noundef 3) #9
  %170 = load i32, ptr %169, align 4, !tbaa !13
  %171 = call noundef i32 @_ZL9Reverse32j(i32 noundef %170)
  %172 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %155, i64 noundef 3) #9
  store i32 %171, ptr %172, align 4, !tbaa !13
  %173 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %155, i64 noundef 4) #9
  %174 = load i32, ptr %173, align 4, !tbaa !13
  %175 = call noundef i32 @_ZL9Reverse32j(i32 noundef %174)
  %176 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %155, i64 noundef 4) #9
  store i32 %175, ptr %176, align 4, !tbaa !13
  %177 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %155, i64 noundef 5) #9
  %178 = load i32, ptr %177, align 4, !tbaa !13
  %179 = call noundef i32 @_ZL9Reverse32j(i32 noundef %178)
  %180 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %155, i64 noundef 5) #9
  store i32 %179, ptr %180, align 4, !tbaa !13
  %181 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %155, i64 noundef 6) #9
  %182 = load i32, ptr %181, align 4, !tbaa !13
  %183 = call noundef i32 @_ZL9Reverse32j(i32 noundef %182)
  %184 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %155, i64 noundef 6) #9
  store i32 %183, ptr %184, align 4, !tbaa !13
  %185 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %155, i64 noundef 7) #9
  %186 = load i32, ptr %185, align 4, !tbaa !13
  %187 = call noundef i32 @_ZL9Reverse32j(i32 noundef %186)
  %188 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm8EEixEm(ptr noundef nonnull align 4 dereferenceable(32) %155, i64 noundef 7) #9
  store i32 %187, ptr %188, align 4, !tbaa !13
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(28) %1, ptr noundef nonnull align 4 dereferenceable(28) %156, i64 28, i1 false)
  br label %189

189:                                              ; preds = %87, %2
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(104) %0, i8 0, i64 104, i1 false)
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt6fill_nIPhmiET_S1_T0_RKT1_(ptr noundef, i64 noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #6

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #7

attributes #0 = { 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 #1 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { nounwind willreturn memory(none) }
attributes #9 = { 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 = !{!8, !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !8, i64 0}


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