; LLVM IR from guanzhi/GmSSL :: tests (aestest)

; 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.AES_KEY = type { [60 x i32], i64 }

@__const.test_aes.key128 = external hidden unnamed_addr constant [16 x i8], align 16
@__const.test_aes.rk128 = external hidden unnamed_addr constant [44 x i32], align 16
@__const.test_aes.key192 = external hidden unnamed_addr constant [24 x i8], align 16
@__const.test_aes.rk192 = external hidden unnamed_addr constant [52 x i32], align 16
@__const.test_aes.key256 = external hidden unnamed_addr constant [32 x i8], align 16
@__const.test_aes.rk256 = external hidden unnamed_addr constant [60 x i32], align 16
@__const.test_aes.in1 = external hidden unnamed_addr constant [16 x i8], align 16
@__const.test_aes.out1 = external hidden unnamed_addr constant [16 x i8], align 16
@.str = external hidden unnamed_addr constant [12 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [9 x i8], align 1
@__FUNCTION__.test_aes = external hidden unnamed_addr constant [9 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @test_aes() #0 {
  %1 = alloca i32, align 4
  %2 = alloca %struct.AES_KEY, align 8
  %3 = alloca [16 x i8], align 16
  %4 = alloca [44 x i32], align 16
  %5 = alloca [24 x i8], align 16
  %6 = alloca [52 x i32], align 16
  %7 = alloca [32 x i8], align 16
  %8 = alloca [60 x i32], align 16
  %9 = alloca [16 x i8], align 16
  %10 = alloca [16 x i8], align 16
  %11 = alloca [16 x i8], align 16
  %12 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 248, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.test_aes.key128, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 176, ptr %4) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.test_aes.rk128, i64 176, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.test_aes.key192, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 208, ptr %6) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.test_aes.rk192, i64 208, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.test_aes.key256, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 240, ptr %8) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.test_aes.rk256, i64 240, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.test_aes.in1, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.test_aes.out1, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #6
  call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 16, i1 false)
  %13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %14 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0
  %15 = call i32 @aes_set_encrypt_key(ptr noundef %2, ptr noundef %14, i64 noundef 16)
  %16 = getelementptr inbounds [44 x i32], ptr %4, i64 0, i64 0
  %17 = call i32 @memcmp(ptr noundef %2, ptr noundef %16, i64 noundef 176) #7
  %18 = icmp ne i32 %17, 0
  br i1 %18, label %19, label %21

19:                                               ; preds = %0
  %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  store i32 -1, ptr %1, align 4
  store i32 1, ptr %12, align 4
  br label %75

21:                                               ; preds = %0
  %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %23

23:                                               ; preds = %21
  %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  %25 = getelementptr inbounds [24 x i8], ptr %5, i64 0, i64 0
  %26 = call i32 @aes_set_encrypt_key(ptr noundef %2, ptr noundef %25, i64 noundef 24)
  %27 = getelementptr inbounds [52 x i32], ptr %6, i64 0, i64 0
  %28 = call i32 @memcmp(ptr noundef %2, ptr noundef %27, i64 noundef 208) #7
  %29 = icmp ne i32 %28, 0
  br i1 %29, label %30, label %32

30:                                               ; preds = %23
  %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  store i32 -1, ptr %1, align 4
  store i32 1, ptr %12, align 4
  br label %75

32:                                               ; preds = %23
  %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %34

34:                                               ; preds = %32
  %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  %36 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
  %37 = call i32 @aes_set_encrypt_key(ptr noundef %2, ptr noundef %36, i64 noundef 32)
  %38 = getelementptr inbounds [60 x i32], ptr %8, i64 0, i64 0
  %39 = call i32 @memcmp(ptr noundef %2, ptr noundef %38, i64 noundef 240) #7
  %40 = icmp ne i32 %39, 0
  br i1 %40, label %41, label %43

41:                                               ; preds = %34
  %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  store i32 -1, ptr %1, align 4
  store i32 1, ptr %12, align 4
  br label %75

43:                                               ; preds = %34
  %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %45

45:                                               ; preds = %43
  %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  %47 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0
  %48 = call i32 @aes_set_encrypt_key(ptr noundef %2, ptr noundef %47, i64 noundef 16)
  %49 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
  %50 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
  call void @aes_encrypt(ptr noundef %2, ptr noundef %49, ptr noundef %50)
  %51 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
  %52 = getelementptr inbounds [16 x i8], ptr %10, i64 0, i64 0
  %53 = call i32 @memcmp(ptr noundef %51, ptr noundef %52, i64 noundef 16) #7
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %55, label %57

55:                                               ; preds = %45
  %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  store i32 -1, ptr %1, align 4
  store i32 1, ptr %12, align 4
  br label %75

57:                                               ; preds = %45
  %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %59

59:                                               ; preds = %57
  %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  %61 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0
  %62 = call i32 @aes_set_decrypt_key(ptr noundef %2, ptr noundef %61, i64 noundef 16)
  %63 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
  %64 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
  call void @aes_decrypt(ptr noundef %2, ptr noundef %63, ptr noundef %64)
  %65 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
  %66 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
  %67 = call i32 @memcmp(ptr noundef %65, ptr noundef %66, i64 noundef 16) #7
  %68 = icmp ne i32 %67, 0
  br i1 %68, label %69, label %71

69:                                               ; preds = %59
  %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  store i32 -1, ptr %1, align 4
  store i32 1, ptr %12, align 4
  br label %75

71:                                               ; preds = %59
  %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %73

73:                                               ; preds = %71
  %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @__FUNCTION__.test_aes)
  store i32 1, ptr %1, align 4
  store i32 1, ptr %12, align 4
  br label %75

75:                                               ; preds = %73, %69, %55, %41, %30, %19
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 240, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 208, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 176, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 248, ptr %2) #6
  %76 = load i32, ptr %1, align 4
  ret i32 %76
}

; 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

declare i32 @printf(ptr noundef, ...) #4

declare i32 @aes_set_encrypt_key(ptr noundef, ptr noundef, i64 noundef) #4

; Function Attrs: nounwind willreturn memory(read)
declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #5

declare void @aes_encrypt(ptr noundef, ptr noundef, ptr noundef) #4

declare i32 @aes_set_decrypt_key(ptr noundef, ptr noundef, i64 noundef) #4

declare void @aes_decrypt(ptr noundef, ptr noundef, ptr noundef) #4

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

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

!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)"}


; 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.AES_KEY = type { [60 x i32], i64 }

@__const.test_aes.key128 = external hidden unnamed_addr constant [16 x i8], align 16
@__const.test_aes.rk128 = external hidden unnamed_addr constant [44 x i32], align 16
@__const.test_aes.key192 = external hidden unnamed_addr constant [24 x i8], align 16
@__const.test_aes.rk192 = external hidden unnamed_addr constant [52 x i32], align 16
@__const.test_aes.key256 = external hidden unnamed_addr constant [32 x i8], align 16
@__const.test_aes.rk256 = external hidden unnamed_addr constant [60 x i32], align 16
@__const.test_aes.in1 = external hidden unnamed_addr constant [16 x i8], align 16
@__const.test_aes.out1 = external hidden unnamed_addr constant [16 x i8], align 16
@.str = external hidden unnamed_addr constant [12 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [9 x i8], align 1
@__FUNCTION__.test_aes = external hidden unnamed_addr constant [9 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 2) i32 @test_aes() local_unnamed_addr #0 {
  %1 = alloca %struct.AES_KEY, align 8
  %2 = alloca [16 x i8], align 16
  %3 = alloca [24 x i8], align 16
  %4 = alloca [32 x i8], align 16
  %5 = alloca [16 x i8], align 16
  %6 = alloca [16 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 248, ptr nonnull %1) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %2, ptr noundef nonnull align 16 dereferenceable(16) @__const.test_aes.key128, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %3, ptr noundef nonnull align 16 dereferenceable(24) @__const.test_aes.key192, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %4, ptr noundef nonnull align 16 dereferenceable(32) @__const.test_aes.key256, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %5, ptr noundef nonnull align 16 dereferenceable(16) @__const.test_aes.in1, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %6, i8 0, i64 16, i1 false)
  %7 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %8 = call i32 @aes_set_encrypt_key(ptr noundef nonnull %1, ptr noundef nonnull %2, i64 noundef 16) #7
  %bcmp = call i32 @bcmp(ptr noundef nonnull dereferenceable(176) %1, ptr noundef nonnull dereferenceable(176) @__const.test_aes.rk128, i64 176)
  %.not = icmp eq i32 %bcmp, 0
  br i1 %.not, label %11, label %9

9:                                                ; preds = %0
  %10 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %38

11:                                               ; preds = %0
  %12 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %13 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %14 = call i32 @aes_set_encrypt_key(ptr noundef nonnull %1, ptr noundef nonnull %3, i64 noundef 24) #7
  %bcmp1 = call i32 @bcmp(ptr noundef nonnull dereferenceable(208) %1, ptr noundef nonnull dereferenceable(208) @__const.test_aes.rk192, i64 208)
  %.not2 = icmp eq i32 %bcmp1, 0
  br i1 %.not2, label %17, label %15

15:                                               ; preds = %11
  %16 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %38

17:                                               ; preds = %11
  %18 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %19 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %20 = call i32 @aes_set_encrypt_key(ptr noundef nonnull %1, ptr noundef nonnull %4, i64 noundef 32) #7
  %bcmp3 = call i32 @bcmp(ptr noundef nonnull dereferenceable(240) %1, ptr noundef nonnull dereferenceable(240) @__const.test_aes.rk256, i64 240)
  %.not4 = icmp eq i32 %bcmp3, 0
  br i1 %.not4, label %23, label %21

21:                                               ; preds = %17
  %22 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %38

23:                                               ; preds = %17
  %24 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %25 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  %26 = call i32 @aes_set_encrypt_key(ptr noundef nonnull %1, ptr noundef nonnull %2, i64 noundef 16) #7
  call void @aes_encrypt(ptr noundef nonnull %1, ptr noundef nonnull %5, ptr noundef nonnull %6) #7
  %bcmp5 = call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %6, ptr noundef nonnull dereferenceable(16) @__const.test_aes.out1, i64 16)
  %.not6 = icmp eq i32 %bcmp5, 0
  br i1 %.not6, label %29, label %27

27:                                               ; preds = %23
  %28 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %38

29:                                               ; preds = %23
  %30 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %31 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %32 = call i32 @aes_set_decrypt_key(ptr noundef nonnull %1, ptr noundef nonnull %2, i64 noundef 16) #7
  call void @aes_decrypt(ptr noundef nonnull %1, ptr noundef nonnull %6, ptr noundef nonnull %6) #7
  %bcmp7 = call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %6, ptr noundef nonnull dereferenceable(16) %5, i64 16)
  %.not8 = icmp eq i32 %bcmp7, 0
  br i1 %.not8, label %35, label %33

33:                                               ; preds = %29
  %34 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %38

35:                                               ; preds = %29
  %36 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %37 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, ptr noundef nonnull @__FUNCTION__.test_aes)
  br label %38

38:                                               ; preds = %35, %33, %27, %21, %15, %9
  %.0 = phi i32 [ -1, %9 ], [ -1, %15 ], [ -1, %21 ], [ -1, %27 ], [ -1, %33 ], [ 1, %35 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 248, ptr nonnull %1) #7
  ret i32 %.0
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

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

declare i32 @aes_set_encrypt_key(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #5

declare void @aes_encrypt(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

declare i32 @aes_set_decrypt_key(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #5

declare void @aes_decrypt(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

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

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #6

attributes #0 = { 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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 #5 = { "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 = { nofree nounwind willreturn memory(argmem: read) }
attributes #7 = { 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)"}


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