; LLVM IR from kala13x/libxutils :: src/crypt (hmac)

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

@.str.1 = external hidden unnamed_addr constant [81 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

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

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

declare i64 @xstrncpyf(ptr noundef, i64 noundef, ptr noundef, ...) #3

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #4

; Function Attrs: nounwind uwtable
define dso_local i32 @XHMAC_MD5(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i64 noundef %5) #5 {
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca i8, align 1
  %15 = alloca [16 x i8], align 16
  %16 = alloca [16 x i8], align 16
  %17 = alloca [64 x i8], align 16
  %18 = alloca [64 x i8], align 16
  %19 = alloca [16 x i8], align 16
  %20 = alloca i64, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store i64 %1, ptr %9, align 8, !tbaa !9
  store ptr %2, ptr %10, align 8, !tbaa !5
  store i64 %3, ptr %11, align 8, !tbaa !9
  store ptr %4, ptr %12, align 8, !tbaa !5
  store i64 %5, ptr %13, align 8, !tbaa !9
  %23 = load i64, ptr %9, align 8, !tbaa !9
  %24 = icmp uge i64 %23, 33
  br i1 %24, label %25, label %40

25:                                               ; preds = %6
  %26 = load i64, ptr %11, align 8, !tbaa !9
  %27 = icmp ne i64 %26, 0
  br i1 %27, label %28, label %40

28:                                               ; preds = %25
  %29 = load i64, ptr %13, align 8, !tbaa !9
  %30 = icmp ne i64 %29, 0
  br i1 %30, label %31, label %40

31:                                               ; preds = %28
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  %33 = icmp ne ptr %32, null
  br i1 %33, label %34, label %40

34:                                               ; preds = %31
  %35 = load ptr, ptr %10, align 8, !tbaa !5
  %36 = icmp ne ptr %35, null
  br i1 %36, label %37, label %40

37:                                               ; preds = %34
  %38 = load ptr, ptr %12, align 8, !tbaa !5
  %39 = icmp ne ptr %38, null
  br i1 %39, label %41, label %40

40:                                               ; preds = %37, %34, %31, %28, %25, %6
  store i32 -2, ptr %7, align 4
  br label %173

41:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #7
  call void @llvm.memset.p0.i64(ptr align 16 %16, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr %17) #7
  call void @llvm.memset.p0.i64(ptr align 16 %17, i8 0, i64 64, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr %18) #7
  call void @llvm.memset.p0.i64(ptr align 16 %18, i8 0, i64 64, i1 false)
  %42 = load i64, ptr %13, align 8, !tbaa !9
  %43 = icmp ugt i64 %42, 64
  br i1 %43, label %44, label %53

44:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #7
  call void @llvm.memset.p0.i64(ptr align 16 %19, i8 0, i64 16, i1 false)
  %45 = getelementptr inbounds [16 x i8], ptr %19, i64 0, i64 0
  %46 = load ptr, ptr %12, align 8, !tbaa !5
  %47 = load i64, ptr %13, align 8, !tbaa !9
  %48 = call i32 @XMD5_Compute(ptr noundef %45, i64 noundef 16, ptr noundef %46, i64 noundef %47)
  %49 = getelementptr inbounds [64 x i8], ptr %17, i64 0, i64 0
  %50 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %49, ptr align 1 %50, i64 16, i1 false)
  %51 = getelementptr inbounds [64 x i8], ptr %18, i64 0, i64 0
  %52 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %51, ptr align 1 %52, i64 16, i1 false)
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #7
  br label %60

53:                                               ; preds = %41
  %54 = getelementptr inbounds [64 x i8], ptr %17, i64 0, i64 0
  %55 = load ptr, ptr %12, align 8, !tbaa !5
  %56 = load i64, ptr %13, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %54, ptr align 1 %55, i64 %56, i1 false)
  %57 = getelementptr inbounds [64 x i8], ptr %18, i64 0, i64 0
  %58 = load ptr, ptr %12, align 8, !tbaa !5
  %59 = load i64, ptr %13, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %57, ptr align 1 %58, i64 %59, i1 false)
  br label %60

60:                                               ; preds = %53, %44
  store i8 0, ptr %14, align 1, !tbaa !11
  br label %61

61:                                               ; preds = %80, %60
  %62 = load i8, ptr %14, align 1, !tbaa !11
  %63 = zext i8 %62 to i32
  %64 = icmp slt i32 %63, 64
  br i1 %64, label %65, label %83

65:                                               ; preds = %61
  %66 = load i8, ptr %14, align 1, !tbaa !11
  %67 = zext i8 %66 to i64
  %68 = getelementptr inbounds [64 x i8], ptr %17, i64 0, i64 %67
  %69 = load i8, ptr %68, align 1, !tbaa !11
  %70 = zext i8 %69 to i32
  %71 = xor i32 %70, 54
  %72 = trunc i32 %71 to i8
  store i8 %72, ptr %68, align 1, !tbaa !11
  %73 = load i8, ptr %14, align 1, !tbaa !11
  %74 = zext i8 %73 to i64
  %75 = getelementptr inbounds [64 x i8], ptr %18, i64 0, i64 %74
  %76 = load i8, ptr %75, align 1, !tbaa !11
  %77 = zext i8 %76 to i32
  %78 = xor i32 %77, 92
  %79 = trunc i32 %78 to i8
  store i8 %79, ptr %75, align 1, !tbaa !11
  br label %80

80:                                               ; preds = %65
  %81 = load i8, ptr %14, align 1, !tbaa !11
  %82 = add i8 %81, 1
  store i8 %82, ptr %14, align 1, !tbaa !11
  br label %61, !llvm.loop !12

83:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %84 = load i64, ptr %11, align 8, !tbaa !9
  %85 = add i64 64, %84
  store i64 %85, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %86 = load i64, ptr %20, align 8, !tbaa !9
  %87 = call noalias ptr @malloc(i64 noundef %86) #8
  store ptr %87, ptr %21, align 8, !tbaa !5
  %88 = load ptr, ptr %21, align 8, !tbaa !5
  %89 = icmp ne ptr %88, null
  br i1 %89, label %91, label %90

90:                                               ; preds = %83
  store i32 -1, ptr %7, align 4
  store i32 1, ptr %22, align 4
  br label %172

91:                                               ; preds = %83
  %92 = load ptr, ptr %21, align 8, !tbaa !5
  %93 = getelementptr inbounds [64 x i8], ptr %17, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %92, ptr align 16 %93, i64 64, i1 false)
  %94 = load ptr, ptr %21, align 8, !tbaa !5
  %95 = getelementptr inbounds i8, ptr %94, i64 64
  %96 = load ptr, ptr %10, align 8, !tbaa !5
  %97 = load i64, ptr %11, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %95, ptr align 1 %96, i64 %97, i1 false)
  %98 = getelementptr inbounds [16 x i8], ptr %15, i64 0, i64 0
  %99 = load ptr, ptr %21, align 8, !tbaa !5
  %100 = load i64, ptr %20, align 8, !tbaa !9
  %101 = call i32 @XMD5_Compute(ptr noundef %98, i64 noundef 16, ptr noundef %99, i64 noundef %100)
  %102 = load ptr, ptr %21, align 8, !tbaa !5
  call void @free(ptr noundef %102) #7
  store i64 80, ptr %20, align 8, !tbaa !9
  %103 = load i64, ptr %20, align 8, !tbaa !9
  %104 = call noalias ptr @malloc(i64 noundef %103) #8
  store ptr %104, ptr %21, align 8, !tbaa !5
  %105 = load ptr, ptr %21, align 8, !tbaa !5
  %106 = icmp ne ptr %105, null
  br i1 %106, label %108, label %107

107:                                              ; preds = %91
  store i32 -1, ptr %7, align 4
  store i32 1, ptr %22, align 4
  br label %172

108:                                              ; preds = %91
  %109 = load ptr, ptr %21, align 8, !tbaa !5
  %110 = getelementptr inbounds [64 x i8], ptr %18, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %109, ptr align 16 %110, i64 64, i1 false)
  %111 = load ptr, ptr %21, align 8, !tbaa !5
  %112 = getelementptr inbounds i8, ptr %111, i64 64
  %113 = getelementptr inbounds [16 x i8], ptr %15, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %112, ptr align 16 %113, i64 16, i1 false)
  %114 = getelementptr inbounds [16 x i8], ptr %16, i64 0, i64 0
  %115 = load ptr, ptr %21, align 8, !tbaa !5
  %116 = load i64, ptr %20, align 8, !tbaa !9
  %117 = call i32 @XMD5_Compute(ptr noundef %114, i64 noundef 16, ptr noundef %115, i64 noundef %116)
  %118 = load ptr, ptr %21, align 8, !tbaa !5
  call void @free(ptr noundef %118) #7
  %119 = load ptr, ptr %8, align 8, !tbaa !5
  %120 = load i64, ptr %9, align 8, !tbaa !9
  %121 = getelementptr inbounds [16 x i8], ptr %16, i64 0, i64 0
  %122 = load i8, ptr %121, align 16, !tbaa !11
  %123 = zext i8 %122 to i32
  %124 = getelementptr inbounds [16 x i8], ptr %16, i64 0, i64 1
  %125 = load i8, ptr %124, align 1, !tbaa !11
  %126 = zext i8 %125 to i32
  %127 = getelementptr inbounds [16 x i8], ptr %16, i64 0, i64 2
  %128 = load i8, ptr %127, align 2, !tbaa !11
  %129 = zext i8 %128 to i32
  %130 = getelementptr inbounds [16 x i8], ptr %16, i64 0, i64 3
  %131 = load i8, ptr %130, align 1, !tbaa !11
  %132 = zext i8 %131 to i32
  %133 = getelementptr inbounds [16 x i8], ptr %16, i64 0, i64 4
  %134 = load i8, ptr %133, align 4, !tbaa !11
  %135 = zext i8 %134 to i32
  %136 = getelementptr inbounds [16 x i8], ptr %16, i64 0, i64 5
  %137 = load i8, ptr %136, align 1, !tbaa !11
  %138 = zext i8 %137 to i32
  %139 = getelementptr inbounds [16 x i8], ptr %16, i64 0, i64 6
  %140 = load i8, ptr %139, align 2, !tbaa !11
  %141 = zext i8 %140 to i32
  %142 = getelementptr inbounds [16 x i8], ptr %16, i64 0, i64 7
  %143 = load i8, ptr %142, align 1, !tbaa !11
  %144 = zext i8 %143 to i32
  %145 = getelementptr inbounds [16 x i8], ptr %16, i64 0, i64 8
  %146 = load i8, ptr %145, align 8, !tbaa !11
  %147 = zext i8 %146 to i32
  %148 = getelementptr inbounds [16 x i8], ptr %16, i64 0, i64 9
  %149 = load i8, ptr %148, align 1, !tbaa !11
  %150 = zext i8 %149 to i32
  %151 = getelementptr inbounds [16 x i8], ptr %16, i64 0, i64 10
  %152 = load i8, ptr %151, align 2, !tbaa !11
  %153 = zext i8 %152 to i32
  %154 = getelementptr inbounds [16 x i8], ptr %16, i64 0, i64 11
  %155 = load i8, ptr %154, align 1, !tbaa !11
  %156 = zext i8 %155 to i32
  %157 = getelementptr inbounds [16 x i8], ptr %16, i64 0, i64 12
  %158 = load i8, ptr %157, align 4, !tbaa !11
  %159 = zext i8 %158 to i32
  %160 = getelementptr inbounds [16 x i8], ptr %16, i64 0, i64 13
  %161 = load i8, ptr %160, align 1, !tbaa !11
  %162 = zext i8 %161 to i32
  %163 = getelementptr inbounds [16 x i8], ptr %16, i64 0, i64 14
  %164 = load i8, ptr %163, align 2, !tbaa !11
  %165 = zext i8 %164 to i32
  %166 = getelementptr inbounds [16 x i8], ptr %16, i64 0, i64 15
  %167 = load i8, ptr %166, align 1, !tbaa !11
  %168 = zext i8 %167 to i32
  %169 = call i64 (ptr, i64, ptr, ...) @xstrncpyf(ptr noundef %119, i64 noundef %120, ptr noundef @.str.1, i32 noundef %123, i32 noundef %126, i32 noundef %129, i32 noundef %132, i32 noundef %135, i32 noundef %138, i32 noundef %141, i32 noundef %144, i32 noundef %147, i32 noundef %150, i32 noundef %153, i32 noundef %156, i32 noundef %159, i32 noundef %162, i32 noundef %165, i32 noundef %168)
  %170 = load ptr, ptr %8, align 8, !tbaa !5
  %171 = getelementptr inbounds i8, ptr %170, i64 32
  store i8 0, ptr %171, align 1, !tbaa !11
  store i32 1, ptr %7, align 4
  store i32 1, ptr %22, align 4
  br label %172

172:                                              ; preds = %108, %107, %90
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #7
  br label %173

173:                                              ; preds = %172, %40
  %174 = load i32, ptr %7, align 4
  ret i32 %174
}

declare i32 @XMD5_Compute(ptr noundef, i64 noundef, ptr noundef, i64 noundef) #3

; Function Attrs: nounwind
declare void @free(ptr noundef) #6

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind allocsize(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 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 "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { nounwind allocsize(0) }

!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 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"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"

@.str.1 = external hidden unnamed_addr constant [81 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

declare i64 @xstrncpyf(ptr noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
define dso_local range(i32 -2, 2) i32 @XHMAC_MD5(ptr noundef %0, i64 noundef %1, ptr noundef readonly %2, i64 noundef %3, ptr noundef %4, i64 noundef %5) local_unnamed_addr #5 {
  %7 = alloca [16 x i8], align 16
  %8 = alloca [16 x i8], align 16
  %9 = alloca [64 x i8], align 16
  %10 = alloca [64 x i8], align 16
  %11 = alloca [16 x i8], align 16
  %12 = icmp ugt i64 %1, 32
  %13 = icmp ne i64 %3, 0
  %or.cond = and i1 %12, %13
  %14 = icmp ne i64 %5, 0
  %or.cond3 = and i1 %or.cond, %14
  %15 = icmp ne ptr %0, null
  %or.cond5 = and i1 %15, %or.cond3
  %16 = icmp ne ptr %2, null
  %or.cond7 = and i1 %16, %or.cond5
  %17 = icmp ne ptr %4, null
  %or.cond9 = and i1 %17, %or.cond7
  br i1 %or.cond9, label %18, label %90

18:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %8, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %9, i8 0, i64 64, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %10)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %10, i8 0, i64 64, i1 false)
  %19 = icmp ugt i64 %5, 64
  br i1 %19, label %20, label %22

20:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %11, i8 0, i64 16, i1 false)
  %21 = call i32 @XMD5_Compute(ptr noundef nonnull %11, i64 noundef 16, ptr noundef nonnull %4, i64 noundef %5) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %9, ptr noundef nonnull align 1 dereferenceable(16) %4, i64 16, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %10, ptr noundef nonnull align 1 dereferenceable(16) %4, i64 16, i1 false)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #7
  br label %vector.body

22:                                               ; preds = %18
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 16 %9, ptr nonnull align 1 %4, i64 %5, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 16 %10, ptr nonnull align 1 %4, i64 %5, i1 false)
  br label %vector.body

vector.body:                                      ; preds = %22, %20
  %.0.wide.load = load <16 x i8>, ptr %9, align 16, !tbaa !5
  %.16.sroa_idx63 = getelementptr inbounds i8, ptr %9, i64 16
  %.16.wide.load57 = load <16 x i8>, ptr %.16.sroa_idx63, align 16, !tbaa !5
  %23 = xor <16 x i8> %.0.wide.load, <i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54>
  %24 = xor <16 x i8> %.16.wide.load57, <i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54>
  store <16 x i8> %23, ptr %9, align 16, !tbaa !5
  %.16.sroa_idx64 = getelementptr inbounds i8, ptr %9, i64 16
  store <16 x i8> %24, ptr %.16.sroa_idx64, align 16, !tbaa !5
  %.0.wide.load58 = load <16 x i8>, ptr %10, align 16, !tbaa !5
  %.16.sroa_idx = getelementptr inbounds i8, ptr %10, i64 16
  %.16.wide.load59 = load <16 x i8>, ptr %.16.sroa_idx, align 16, !tbaa !5
  %25 = xor <16 x i8> %.0.wide.load58, <i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92>
  %26 = xor <16 x i8> %.16.wide.load59, <i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92>
  store <16 x i8> %25, ptr %10, align 16, !tbaa !5
  %.16.sroa_idx60 = getelementptr inbounds i8, ptr %10, i64 16
  store <16 x i8> %26, ptr %.16.sroa_idx60, align 16, !tbaa !5
  %.32.sroa_idx65 = getelementptr inbounds i8, ptr %9, i64 32
  %.32.wide.load.1 = load <16 x i8>, ptr %.32.sroa_idx65, align 16, !tbaa !5
  %.48.sroa_idx67 = getelementptr inbounds i8, ptr %9, i64 48
  %.48.wide.load57.1 = load <16 x i8>, ptr %.48.sroa_idx67, align 16, !tbaa !5
  %27 = xor <16 x i8> %.32.wide.load.1, <i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54>
  %28 = xor <16 x i8> %.48.wide.load57.1, <i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54, i8 54>
  %.32.sroa_idx66 = getelementptr inbounds i8, ptr %9, i64 32
  store <16 x i8> %27, ptr %.32.sroa_idx66, align 16, !tbaa !5
  %.48.sroa_idx68 = getelementptr inbounds i8, ptr %9, i64 48
  store <16 x i8> %28, ptr %.48.sroa_idx68, align 16, !tbaa !5
  %.32.sroa_idx = getelementptr inbounds i8, ptr %10, i64 32
  %.32.wide.load58.1 = load <16 x i8>, ptr %.32.sroa_idx, align 16, !tbaa !5
  %.48.sroa_idx = getelementptr inbounds i8, ptr %10, i64 48
  %.48.wide.load59.1 = load <16 x i8>, ptr %.48.sroa_idx, align 16, !tbaa !5
  %29 = xor <16 x i8> %.32.wide.load58.1, <i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92>
  %30 = xor <16 x i8> %.48.wide.load59.1, <i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92, i8 92>
  %.32.sroa_idx61 = getelementptr inbounds i8, ptr %10, i64 32
  store <16 x i8> %29, ptr %.32.sroa_idx61, align 16, !tbaa !5
  %.48.sroa_idx62 = getelementptr inbounds i8, ptr %10, i64 48
  store <16 x i8> %30, ptr %.48.sroa_idx62, align 16, !tbaa !5
  %31 = add i64 %3, 64
  %32 = call noalias ptr @malloc(i64 noundef %31) #8
  %.not = icmp eq ptr %32, null
  br i1 %.not, label %89, label %33

33:                                               ; preds = %vector.body
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(64) %32, ptr noundef nonnull align 16 dereferenceable(64) %9, i64 64, i1 false)
  %34 = getelementptr inbounds i8, ptr %32, i64 64
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %34, ptr nonnull align 1 %2, i64 %3, i1 false)
  %35 = call i32 @XMD5_Compute(ptr noundef nonnull %7, i64 noundef 16, ptr noundef nonnull %32, i64 noundef %31) #7
  call void @free(ptr noundef nonnull %32) #7
  %36 = call noalias dereferenceable_or_null(80) ptr @malloc(i64 noundef 80) #8
  %.not54 = icmp eq ptr %36, null
  br i1 %.not54, label %89, label %37

37:                                               ; preds = %33
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(64) %36, ptr noundef nonnull align 16 dereferenceable(64) %10, i64 64, i1 false)
  %38 = getelementptr inbounds i8, ptr %36, i64 64
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(16) %38, ptr noundef nonnull align 16 dereferenceable(16) %7, i64 16, i1 false)
  %39 = call i32 @XMD5_Compute(ptr noundef nonnull %8, i64 noundef 16, ptr noundef nonnull %36, i64 noundef 80) #7
  call void @free(ptr noundef nonnull %36) #7
  %40 = load i8, ptr %8, align 16, !tbaa !5
  %41 = zext i8 %40 to i32
  %42 = getelementptr inbounds i8, ptr %8, i64 1
  %43 = load i8, ptr %42, align 1, !tbaa !5
  %44 = zext i8 %43 to i32
  %45 = getelementptr inbounds i8, ptr %8, i64 2
  %46 = load i8, ptr %45, align 2, !tbaa !5
  %47 = zext i8 %46 to i32
  %48 = getelementptr inbounds i8, ptr %8, i64 3
  %49 = load i8, ptr %48, align 1, !tbaa !5
  %50 = zext i8 %49 to i32
  %51 = getelementptr inbounds i8, ptr %8, i64 4
  %52 = load i8, ptr %51, align 4, !tbaa !5
  %53 = zext i8 %52 to i32
  %54 = getelementptr inbounds i8, ptr %8, i64 5
  %55 = load i8, ptr %54, align 1, !tbaa !5
  %56 = zext i8 %55 to i32
  %57 = getelementptr inbounds i8, ptr %8, i64 6
  %58 = load i8, ptr %57, align 2, !tbaa !5
  %59 = zext i8 %58 to i32
  %60 = getelementptr inbounds i8, ptr %8, i64 7
  %61 = load i8, ptr %60, align 1, !tbaa !5
  %62 = zext i8 %61 to i32
  %63 = getelementptr inbounds i8, ptr %8, i64 8
  %64 = load i8, ptr %63, align 8, !tbaa !5
  %65 = zext i8 %64 to i32
  %66 = getelementptr inbounds i8, ptr %8, i64 9
  %67 = load i8, ptr %66, align 1, !tbaa !5
  %68 = zext i8 %67 to i32
  %69 = getelementptr inbounds i8, ptr %8, i64 10
  %70 = load i8, ptr %69, align 2, !tbaa !5
  %71 = zext i8 %70 to i32
  %72 = getelementptr inbounds i8, ptr %8, i64 11
  %73 = load i8, ptr %72, align 1, !tbaa !5
  %74 = zext i8 %73 to i32
  %75 = getelementptr inbounds i8, ptr %8, i64 12
  %76 = load i8, ptr %75, align 4, !tbaa !5
  %77 = zext i8 %76 to i32
  %78 = getelementptr inbounds i8, ptr %8, i64 13
  %79 = load i8, ptr %78, align 1, !tbaa !5
  %80 = zext i8 %79 to i32
  %81 = getelementptr inbounds i8, ptr %8, i64 14
  %82 = load i8, ptr %81, align 2, !tbaa !5
  %83 = zext i8 %82 to i32
  %84 = getelementptr inbounds i8, ptr %8, i64 15
  %85 = load i8, ptr %84, align 1, !tbaa !5
  %86 = zext i8 %85 to i32
  %87 = call i64 (ptr, i64, ptr, ...) @xstrncpyf(ptr noundef nonnull %0, i64 noundef %1, ptr noundef nonnull @.str.1, i32 noundef %41, i32 noundef %44, i32 noundef %47, i32 noundef %50, i32 noundef %53, i32 noundef %56, i32 noundef %59, i32 noundef %62, i32 noundef %65, i32 noundef %68, i32 noundef %71, i32 noundef %74, i32 noundef %77, i32 noundef %80, i32 noundef %83, i32 noundef %86) #7
  %88 = getelementptr inbounds i8, ptr %0, i64 32
  store i8 0, ptr %88, align 1, !tbaa !5
  br label %89

89:                                               ; preds = %33, %vector.body, %37
  %.048 = phi i32 [ 1, %37 ], [ -1, %vector.body ], [ -1, %33 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  br label %90

90:                                               ; preds = %6, %89
  %.1 = phi i32 [ %.048, %89 ], [ -2, %6 ]
  ret i32 %.1
}

declare i32 @XMD5_Compute(ptr noundef, i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #6

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 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 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { nounwind allocsize(0) }

!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: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopLoadEliminationPass,LoopRotatePass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass