; LLVM IR from seppo0010/rlite :: src (scripting)

; 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.SHA1_CTX = type { [5 x i32], [2 x i32], [64 x i8] }

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @sha1hex(ptr noundef %0, ptr noundef %1, i64 noundef %2) #1 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca %struct.SHA1_CTX, align 4
  %8 = alloca [20 x i8], align 16
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  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
  call void @llvm.lifetime.start.p0(i64 92, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 20, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  store ptr @.str.52, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  call void @SHA1Init(ptr noundef %7)
  %11 = load ptr, ptr %5, align 8, !tbaa !5
  %12 = load i64, ptr %6, align 8, !tbaa !9
  %13 = trunc i64 %12 to i32
  call void @SHA1Update(ptr noundef %7, ptr noundef %11, i32 noundef %13)
  %14 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0
  call void @SHA1Final(ptr noundef %14, ptr noundef %7)
  store i32 0, ptr %10, align 4, !tbaa !11
  br label %15

15:                                               ; preds = %51, %3
  %16 = load i32, ptr %10, align 4, !tbaa !11
  %17 = icmp slt i32 %16, 20
  br i1 %17, label %18, label %54

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

51:                                               ; preds = %18
  %52 = load i32, ptr %10, align 4, !tbaa !11
  %53 = add nsw i32 %52, 1
  store i32 %53, ptr %10, align 4, !tbaa !11
  br label %15, !llvm.loop !14

54:                                               ; preds = %15
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %55, i64 40
  store i8 0, ptr %56, align 1, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 20, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 92, ptr %7) #3
  ret void
}

declare void @SHA1Init(ptr noundef) #2

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { "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 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}


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

%struct.SHA1_CTX = type { [5 x i32], [2 x i32], [64 x i8] }

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

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

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

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

declare void @SHA1Init(ptr noundef) local_unnamed_addr #2

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { "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 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}


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