; LLVM IR from guanzhi/GmSSL :: src/sdf (sdf)

; 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.SDF_CBC_CTX = type { %struct.SDF_KEY, [16 x i8], [16 x i8], i64 }
%struct.SDF_KEY = type { ptr, ptr }

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [13 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [61 x i8], align 1
@__FUNCTION__.sdf_cbc_decrypt_update = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, 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 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) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @sdf_cbc_decrypt_update(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) #3 {
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store i64 %2, ptr %9, align 8, !tbaa !9
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %16 = load ptr, ptr %7, align 8, !tbaa !5
  %17 = icmp ne ptr %16, null
  br i1 %17, label %18, label %27

18:                                               ; preds = %5
  %19 = load ptr, ptr %8, align 8, !tbaa !5
  %20 = icmp ne ptr %19, null
  br i1 %20, label %21, label %27

21:                                               ; preds = %18
  %22 = load ptr, ptr %10, align 8, !tbaa !5
  %23 = icmp ne ptr %22, null
  br i1 %23, label %24, label %27

24:                                               ; preds = %21
  %25 = load ptr, ptr %11, align 8, !tbaa !5
  %26 = icmp ne ptr %25, null
  br i1 %26, label %33, label %27

27:                                               ; preds = %24, %21, %18, %5
  br label %28

28:                                               ; preds = %27
  %29 = load ptr, ptr @stderr, align 8, !tbaa !5
  %30 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 630, ptr noundef @__FUNCTION__.sdf_cbc_decrypt_update) #4
  br label %31

31:                                               ; preds = %28
  br label %32

32:                                               ; preds = %31
  store i32 -1, ptr %6, align 4
  store i32 1, ptr %15, align 4
  br label %160

33:                                               ; preds = %24
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.SDF_CBC_CTX, ptr %34, i32 0, i32 3
  %36 = load i64, ptr %35, align 8, !tbaa !11
  %37 = icmp ugt i64 %36, 16
  br i1 %37, label %38, label %44

38:                                               ; preds = %33
  br label %39

39:                                               ; preds = %38
  %40 = load ptr, ptr @stderr, align 8, !tbaa !5
  %41 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %40, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 634, ptr noundef @__FUNCTION__.sdf_cbc_decrypt_update) #4
  br label %42

42:                                               ; preds = %39
  br label %43

43:                                               ; preds = %42
  store i32 -1, ptr %6, align 4
  store i32 1, ptr %15, align 4
  br label %160

44:                                               ; preds = %33
  %45 = load ptr, ptr %11, align 8, !tbaa !5
  store i64 0, ptr %45, align 8, !tbaa !9
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.SDF_CBC_CTX, ptr %46, i32 0, i32 3
  %48 = load i64, ptr %47, align 8, !tbaa !11
  %49 = icmp ne i64 %48, 0
  br i1 %49, label %50, label %112

50:                                               ; preds = %44
  %51 = load ptr, ptr %7, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.SDF_CBC_CTX, ptr %51, i32 0, i32 3
  %53 = load i64, ptr %52, align 8, !tbaa !11
  %54 = sub i64 16, %53
  store i64 %54, ptr %12, align 8, !tbaa !9
  %55 = load i64, ptr %9, align 8, !tbaa !9
  %56 = load i64, ptr %12, align 8, !tbaa !9
  %57 = icmp ule i64 %55, %56
  br i1 %57, label %58, label %73

58:                                               ; preds = %50
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.SDF_CBC_CTX, ptr %59, i32 0, i32 2
  %61 = getelementptr inbounds [16 x i8], ptr %60, i64 0, i64 0
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.SDF_CBC_CTX, ptr %62, i32 0, i32 3
  %64 = load i64, ptr %63, align 8, !tbaa !11
  %65 = getelementptr inbounds i8, ptr %61, i64 %64
  %66 = load ptr, ptr %8, align 8, !tbaa !5
  %67 = load i64, ptr %9, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %65, ptr align 1 %66, i64 %67, i1 false)
  %68 = load i64, ptr %9, align 8, !tbaa !9
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.SDF_CBC_CTX, ptr %69, i32 0, i32 3
  %71 = load i64, ptr %70, align 8, !tbaa !11
  %72 = add i64 %71, %68
  store i64 %72, ptr %70, align 8, !tbaa !11
  store i32 1, ptr %6, align 4
  store i32 1, ptr %15, align 4
  br label %160

73:                                               ; preds = %50
  %74 = load ptr, ptr %7, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.SDF_CBC_CTX, ptr %74, i32 0, i32 2
  %76 = getelementptr inbounds [16 x i8], ptr %75, i64 0, i64 0
  %77 = load ptr, ptr %7, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.SDF_CBC_CTX, ptr %77, i32 0, i32 3
  %79 = load i64, ptr %78, align 8, !tbaa !11
  %80 = getelementptr inbounds i8, ptr %76, i64 %79
  %81 = load ptr, ptr %8, align 8, !tbaa !5
  %82 = load i64, ptr %12, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %80, ptr align 1 %81, i64 %82, i1 false)
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.SDF_CBC_CTX, ptr %83, i32 0, i32 0
  %85 = load ptr, ptr %7, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.SDF_CBC_CTX, ptr %85, i32 0, i32 1
  %87 = getelementptr inbounds [16 x i8], ptr %86, i64 0, i64 0
  %88 = load ptr, ptr %7, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.SDF_CBC_CTX, ptr %88, i32 0, i32 2
  %90 = getelementptr inbounds [16 x i8], ptr %89, i64 0, i64 0
  %91 = load ptr, ptr %10, align 8, !tbaa !5
  %92 = call i32 @sdf_cbc_decrypt_blocks(ptr noundef %84, ptr noundef %87, ptr noundef %90, i64 noundef 1, ptr noundef %91)
  %93 = icmp ne i32 %92, 1
  br i1 %93, label %94, label %100

94:                                               ; preds = %73
  br label %95

95:                                               ; preds = %94
  %96 = load ptr, ptr @stderr, align 8, !tbaa !5
  %97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %96, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 648, ptr noundef @__FUNCTION__.sdf_cbc_decrypt_update) #4
  br label %98

98:                                               ; preds = %95
  br label %99

99:                                               ; preds = %98
  store i32 -1, ptr %6, align 4
  store i32 1, ptr %15, align 4
  br label %160

100:                                              ; preds = %73
  %101 = load i64, ptr %12, align 8, !tbaa !9
  %102 = load ptr, ptr %8, align 8, !tbaa !5
  %103 = getelementptr inbounds i8, ptr %102, i64 %101
  store ptr %103, ptr %8, align 8, !tbaa !5
  %104 = load i64, ptr %12, align 8, !tbaa !9
  %105 = load i64, ptr %9, align 8, !tbaa !9
  %106 = sub i64 %105, %104
  store i64 %106, ptr %9, align 8, !tbaa !9
  %107 = load ptr, ptr %10, align 8, !tbaa !5
  %108 = getelementptr inbounds i8, ptr %107, i64 16
  store ptr %108, ptr %10, align 8, !tbaa !5
  %109 = load ptr, ptr %11, align 8, !tbaa !5
  %110 = load i64, ptr %109, align 8, !tbaa !9
  %111 = add i64 %110, 16
  store i64 %111, ptr %109, align 8, !tbaa !9
  br label %112

112:                                              ; preds = %100, %44
  %113 = load i64, ptr %9, align 8, !tbaa !9
  %114 = icmp ugt i64 %113, 16
  br i1 %114, label %115, label %151

115:                                              ; preds = %112
  %116 = load i64, ptr %9, align 8, !tbaa !9
  %117 = sub i64 %116, 1
  %118 = udiv i64 %117, 16
  store i64 %118, ptr %14, align 8, !tbaa !9
  %119 = load i64, ptr %14, align 8, !tbaa !9
  %120 = mul i64 %119, 16
  store i64 %120, ptr %13, align 8, !tbaa !9
  %121 = load ptr, ptr %7, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.SDF_CBC_CTX, ptr %121, i32 0, i32 0
  %123 = load ptr, ptr %7, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.SDF_CBC_CTX, ptr %123, i32 0, i32 1
  %125 = getelementptr inbounds [16 x i8], ptr %124, i64 0, i64 0
  %126 = load ptr, ptr %8, align 8, !tbaa !5
  %127 = load i64, ptr %14, align 8, !tbaa !9
  %128 = load ptr, ptr %10, align 8, !tbaa !5
  %129 = call i32 @sdf_cbc_decrypt_blocks(ptr noundef %122, ptr noundef %125, ptr noundef %126, i64 noundef %127, ptr noundef %128)
  %130 = icmp ne i32 %129, 1
  br i1 %130, label %131, label %137

131:                                              ; preds = %115
  br label %132

132:                                              ; preds = %131
  %133 = load ptr, ptr @stderr, align 8, !tbaa !5
  %134 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %133, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 660, ptr noundef @__FUNCTION__.sdf_cbc_decrypt_update) #4
  br label %135

135:                                              ; preds = %132
  br label %136

136:                                              ; preds = %135
  store i32 -1, ptr %6, align 4
  store i32 1, ptr %15, align 4
  br label %160

137:                                              ; preds = %115
  %138 = load i64, ptr %13, align 8, !tbaa !9
  %139 = load ptr, ptr %8, align 8, !tbaa !5
  %140 = getelementptr inbounds i8, ptr %139, i64 %138
  store ptr %140, ptr %8, align 8, !tbaa !5
  %141 = load i64, ptr %13, align 8, !tbaa !9
  %142 = load i64, ptr %9, align 8, !tbaa !9
  %143 = sub i64 %142, %141
  store i64 %143, ptr %9, align 8, !tbaa !9
  %144 = load i64, ptr %13, align 8, !tbaa !9
  %145 = load ptr, ptr %10, align 8, !tbaa !5
  %146 = getelementptr inbounds i8, ptr %145, i64 %144
  store ptr %146, ptr %10, align 8, !tbaa !5
  %147 = load i64, ptr %13, align 8, !tbaa !9
  %148 = load ptr, ptr %11, align 8, !tbaa !5
  %149 = load i64, ptr %148, align 8, !tbaa !9
  %150 = add i64 %149, %147
  store i64 %150, ptr %148, align 8, !tbaa !9
  br label %151

151:                                              ; preds = %137, %112
  %152 = load ptr, ptr %7, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.SDF_CBC_CTX, ptr %152, i32 0, i32 2
  %154 = getelementptr inbounds [16 x i8], ptr %153, i64 0, i64 0
  %155 = load ptr, ptr %8, align 8, !tbaa !5
  %156 = load i64, ptr %9, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %154, ptr align 1 %155, i64 %156, i1 false)
  %157 = load i64, ptr %9, align 8, !tbaa !9
  %158 = load ptr, ptr %7, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.SDF_CBC_CTX, ptr %158, i32 0, i32 3
  store i64 %157, ptr %159, align 8, !tbaa !11
  store i32 1, ptr %6, align 4
  store i32 1, ptr %15, align 4
  br label %160

160:                                              ; preds = %151, %136, %99, %58, %43, %32
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  %161 = load i32, ptr %6, align 4
  ret i32 %161
}

; Function Attrs: nounwind uwtable
declare hidden i32 @sdf_cbc_decrypt_blocks(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) #3

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = { 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, !10, i64 48}
!12 = !{!"", !13, i64 0, !7, i64 16, !7, i64 32, !10, i64 48}
!13 = !{!"", !6, i64 0, !6, i64 8}


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

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [13 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [61 x i8], align 1
@__FUNCTION__.sdf_cbc_decrypt_update = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 2) i32 @sdf_cbc_decrypt_update(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #2 {
  %6 = insertelement <4 x ptr> poison, ptr %0, i64 0
  %7 = insertelement <4 x ptr> %6, ptr %1, i64 1
  %8 = insertelement <4 x ptr> %7, ptr %3, i64 2
  %9 = insertelement <4 x ptr> %8, ptr %4, i64 3
  %10 = icmp eq <4 x ptr> %9, zeroinitializer
  %11 = bitcast <4 x i1> %10 to i4
  %12 = icmp eq i4 %11, 0
  br i1 %12, label %16, label %13

13:                                               ; preds = %5
  %14 = load ptr, ptr @stderr, align 8, !tbaa !5
  %15 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 630, ptr noundef nonnull @__FUNCTION__.sdf_cbc_decrypt_update) #3
  br label %62

16:                                               ; preds = %5
  %17 = getelementptr inbounds i8, ptr %0, i64 48
  %18 = load i64, ptr %17, align 8, !tbaa !9
  %19 = icmp ugt i64 %18, 16
  br i1 %19, label %20, label %23

20:                                               ; preds = %16
  %21 = load ptr, ptr @stderr, align 8, !tbaa !5
  %22 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %21, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 634, ptr noundef nonnull @__FUNCTION__.sdf_cbc_decrypt_update) #3
  br label %62

23:                                               ; preds = %16
  store i64 0, ptr %4, align 8, !tbaa !13
  %24 = load i64, ptr %17, align 8, !tbaa !9
  %.not = icmp eq i64 %24, 0
  br i1 %.not, label %44, label %25

25:                                               ; preds = %23
  %26 = sub i64 16, %24
  %.not68 = icmp ult i64 %26, %2
  %27 = getelementptr inbounds i8, ptr %0, i64 32
  %28 = getelementptr inbounds i8, ptr %27, i64 %24
  br i1 %.not68, label %32, label %29

29:                                               ; preds = %25
  tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %28, ptr nonnull align 1 %1, i64 %2, i1 false)
  %30 = load i64, ptr %17, align 8, !tbaa !9
  %31 = add i64 %30, %2
  store i64 %31, ptr %17, align 8, !tbaa !9
  br label %62

32:                                               ; preds = %25
  tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %28, ptr nonnull align 1 %1, i64 %26, i1 false)
  %33 = getelementptr inbounds i8, ptr %0, i64 16
  %34 = tail call i32 @sdf_cbc_decrypt_blocks(ptr noundef nonnull %0, ptr noundef nonnull %33, ptr noundef nonnull %27, i64 noundef 1, ptr noundef nonnull %3)
  %.not69 = icmp eq i32 %34, 1
  br i1 %.not69, label %38, label %35

35:                                               ; preds = %32
  %36 = load ptr, ptr @stderr, align 8, !tbaa !5
  %37 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 648, ptr noundef nonnull @__FUNCTION__.sdf_cbc_decrypt_update) #3
  br label %62

38:                                               ; preds = %32
  %39 = getelementptr inbounds i8, ptr %1, i64 %26
  %40 = sub i64 %2, %26
  %41 = getelementptr inbounds i8, ptr %3, i64 16
  %42 = load i64, ptr %4, align 8, !tbaa !13
  %43 = add i64 %42, 16
  store i64 %43, ptr %4, align 8, !tbaa !13
  br label %44

44:                                               ; preds = %38, %23
  %.059 = phi ptr [ %41, %38 ], [ %3, %23 ]
  %.057 = phi i64 [ %40, %38 ], [ %2, %23 ]
  %.056 = phi ptr [ %39, %38 ], [ %1, %23 ]
  %45 = icmp ugt i64 %.057, 16
  br i1 %45, label %46, label %60

46:                                               ; preds = %44
  %47 = add i64 %.057, -1
  %48 = lshr i64 %47, 4
  %49 = getelementptr inbounds i8, ptr %0, i64 16
  %50 = tail call i32 @sdf_cbc_decrypt_blocks(ptr noundef nonnull %0, ptr noundef nonnull %49, ptr noundef %.056, i64 noundef %48, ptr noundef nonnull %.059)
  %.not70 = icmp eq i32 %50, 1
  br i1 %.not70, label %54, label %51

51:                                               ; preds = %46
  %52 = load ptr, ptr @stderr, align 8, !tbaa !5
  %53 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 660, ptr noundef nonnull @__FUNCTION__.sdf_cbc_decrypt_update) #3
  br label %62

54:                                               ; preds = %46
  %55 = and i64 %47, -16
  %56 = getelementptr inbounds i8, ptr %.056, i64 %55
  %57 = sub i64 %.057, %55
  %58 = load i64, ptr %4, align 8, !tbaa !13
  %59 = add i64 %58, %55
  store i64 %59, ptr %4, align 8, !tbaa !13
  br label %60

60:                                               ; preds = %54, %44
  %.158 = phi i64 [ %57, %54 ], [ %.057, %44 ]
  %.1 = phi ptr [ %56, %54 ], [ %.056, %44 ]
  %61 = getelementptr inbounds i8, ptr %0, i64 32
  tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %61, ptr align 1 %.1, i64 %.158, i1 false)
  store i64 %.158, ptr %17, align 8, !tbaa !9
  br label %62

62:                                               ; preds = %60, %51, %35, %29, %20, %13
  %.0 = phi i32 [ -1, %20 ], [ 1, %29 ], [ -1, %35 ], [ -1, %51 ], [ 1, %60 ], [ -1, %13 ]
  ret i32 %.0
}

; Function Attrs: nounwind uwtable
declare hidden i32 @sdf_cbc_decrypt_blocks(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

attributes #0 = { nofree 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 #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { cold 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, !12, i64 48}
!10 = !{!"", !11, i64 0, !7, i64 16, !7, i64 32, !12, i64 48}
!11 = !{!"", !6, i64 0, !6, i64 8}
!12 = !{!"long", !7, i64 0}
!13 = !{!12, !12, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass