; LLVM IR from specinfo-ua/UAPKI :: library/uapkif/src/asn1 (asn_codecs_prim)

; 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.asn_dec_rval_s = type { i32, i64 }
%struct.ASN__PRIMITIVE_TYPE_s = type { ptr, i32 }

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

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

23:                                               ; preds = %6
  %24 = call noalias ptr @calloc(i64 noundef 1, i64 noundef 16) #7
  store ptr %24, ptr %14, align 8, !tbaa !5
  %25 = load ptr, ptr %14, align 8, !tbaa !5
  %26 = icmp eq ptr %25, null
  br i1 %26, label %27, label %33

27:                                               ; preds = %23
  br label %28

28:                                               ; preds = %27
  %29 = getelementptr inbounds %struct.asn_dec_rval_s, ptr %7, i32 0, i32 0
  store i32 2, ptr %29, align 8, !tbaa !13
  %30 = getelementptr inbounds %struct.asn_dec_rval_s, ptr %7, i32 0, i32 1
  store i64 0, ptr %30, align 8, !tbaa !15
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 54, i32 noundef 102, ptr noundef null)
  store i32 1, ptr %17, align 4
  br label %119

31:                                               ; No predecessors!
  br label %32

32:                                               ; preds = %31
  br label %33

33:                                               ; preds = %32, %23
  %34 = load ptr, ptr %14, align 8, !tbaa !5
  %35 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %34, ptr %35, align 8, !tbaa !5
  br label %36

36:                                               ; preds = %33, %6
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #6
  %37 = load ptr, ptr %8, align 8, !tbaa !5
  %38 = load ptr, ptr %9, align 8, !tbaa !5
  %39 = load ptr, ptr %11, align 8, !tbaa !5
  %40 = load i64, ptr %12, align 8, !tbaa !9
  %41 = load i32, ptr %13, align 4, !tbaa !11
  %42 = call { i32, i64 } @ber_check_tags(ptr noundef %37, ptr noundef %38, ptr noundef null, ptr noundef %39, i64 noundef %40, i32 noundef %41, i32 noundef 0, ptr noundef %16, ptr noundef null)
  %43 = getelementptr inbounds { i32, i64 }, ptr %18, i32 0, i32 0
  %44 = extractvalue { i32, i64 } %42, 0
  store i32 %44, ptr %43, align 8
  %45 = getelementptr inbounds { i32, i64 }, ptr %18, i32 0, i32 1
  %46 = extractvalue { i32, i64 } %42, 1
  store i64 %46, ptr %45, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %18, i64 16, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #6
  %47 = getelementptr inbounds %struct.asn_dec_rval_s, ptr %15, i32 0, i32 0
  %48 = load i32, ptr %47, align 8, !tbaa !13
  %49 = icmp ne i32 %48, 0
  br i1 %49, label %50, label %51

50:                                               ; preds = %36
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %15, i64 16, i1 false), !tbaa.struct !16
  store i32 1, ptr %17, align 4
  br label %119

51:                                               ; preds = %36
  %52 = load ptr, ptr %11, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.asn_dec_rval_s, ptr %15, i32 0, i32 1
  %54 = load i64, ptr %53, align 8, !tbaa !15
  %55 = getelementptr inbounds i8, ptr %52, i64 %54
  store ptr %55, ptr %11, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.asn_dec_rval_s, ptr %15, i32 0, i32 1
  %57 = load i64, ptr %56, align 8, !tbaa !15
  %58 = load i64, ptr %12, align 8, !tbaa !9
  %59 = sub i64 %58, %57
  store i64 %59, ptr %12, align 8, !tbaa !9
  %60 = load i64, ptr %16, align 8, !tbaa !9
  %61 = load i64, ptr %12, align 8, !tbaa !9
  %62 = icmp sgt i64 %60, %61
  br i1 %62, label %63, label %66

63:                                               ; preds = %51
  %64 = getelementptr inbounds %struct.asn_dec_rval_s, ptr %15, i32 0, i32 0
  store i32 1, ptr %64, align 8, !tbaa !13
  %65 = getelementptr inbounds %struct.asn_dec_rval_s, ptr %15, i32 0, i32 1
  store i64 0, ptr %65, align 8, !tbaa !15
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %15, i64 16, i1 false), !tbaa.struct !16
  store i32 1, ptr %17, align 4
  br label %119

66:                                               ; preds = %51
  %67 = load i64, ptr %16, align 8, !tbaa !9
  %68 = trunc i64 %67 to i32
  %69 = load ptr, ptr %14, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.ASN__PRIMITIVE_TYPE_s, ptr %69, i32 0, i32 1
  store i32 %68, ptr %70, align 8, !tbaa !17
  %71 = load ptr, ptr %14, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.ASN__PRIMITIVE_TYPE_s, ptr %71, i32 0, i32 1
  %73 = load i32, ptr %72, align 8, !tbaa !17
  %74 = sext i32 %73 to i64
  %75 = load i64, ptr %16, align 8, !tbaa !9
  %76 = icmp ne i64 %74, %75
  br i1 %76, label %77, label %85

77:                                               ; preds = %66
  %78 = load ptr, ptr %14, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.ASN__PRIMITIVE_TYPE_s, ptr %78, i32 0, i32 1
  store i32 0, ptr %79, align 8, !tbaa !17
  br label %80

80:                                               ; preds = %77
  %81 = getelementptr inbounds %struct.asn_dec_rval_s, ptr %7, i32 0, i32 0
  store i32 2, ptr %81, align 8, !tbaa !13
  %82 = getelementptr inbounds %struct.asn_dec_rval_s, ptr %7, i32 0, i32 1
  store i64 0, ptr %82, align 8, !tbaa !15
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 89, i32 noundef 102, ptr noundef null)
  store i32 1, ptr %17, align 4
  br label %119

83:                                               ; No predecessors!
  br label %84

84:                                               ; preds = %83
  br label %85

85:                                               ; preds = %84, %66
  %86 = load i64, ptr %16, align 8, !tbaa !9
  %87 = add nsw i64 %86, 1
  %88 = call noalias ptr @malloc(i64 noundef %87) #8
  %89 = load ptr, ptr %14, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.ASN__PRIMITIVE_TYPE_s, ptr %89, i32 0, i32 0
  store ptr %88, ptr %90, align 8, !tbaa !19
  %91 = load ptr, ptr %14, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.ASN__PRIMITIVE_TYPE_s, ptr %91, i32 0, i32 0
  %93 = load ptr, ptr %92, align 8, !tbaa !19
  %94 = icmp ne ptr %93, null
  br i1 %94, label %103, label %95

95:                                               ; preds = %85
  %96 = load ptr, ptr %14, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.ASN__PRIMITIVE_TYPE_s, ptr %96, i32 0, i32 1
  store i32 0, ptr %97, align 8, !tbaa !17
  br label %98

98:                                               ; preds = %95
  %99 = getelementptr inbounds %struct.asn_dec_rval_s, ptr %7, i32 0, i32 0
  store i32 2, ptr %99, align 8, !tbaa !13
  %100 = getelementptr inbounds %struct.asn_dec_rval_s, ptr %7, i32 0, i32 1
  store i64 0, ptr %100, align 8, !tbaa !15
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 95, i32 noundef 102, ptr noundef null)
  store i32 1, ptr %17, align 4
  br label %119

101:                                              ; No predecessors!
  br label %102

102:                                              ; preds = %101
  br label %103

103:                                              ; preds = %102, %85
  %104 = load ptr, ptr %14, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.ASN__PRIMITIVE_TYPE_s, ptr %104, i32 0, i32 0
  %106 = load ptr, ptr %105, align 8, !tbaa !19
  %107 = load ptr, ptr %11, align 8, !tbaa !5
  %108 = load i64, ptr %16, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %106, ptr align 1 %107, i64 %108, i1 false)
  %109 = load ptr, ptr %14, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.ASN__PRIMITIVE_TYPE_s, ptr %109, i32 0, i32 0
  %111 = load ptr, ptr %110, align 8, !tbaa !19
  %112 = load i64, ptr %16, align 8, !tbaa !9
  %113 = getelementptr inbounds i8, ptr %111, i64 %112
  store i8 0, ptr %113, align 1, !tbaa !20
  %114 = getelementptr inbounds %struct.asn_dec_rval_s, ptr %15, i32 0, i32 0
  store i32 0, ptr %114, align 8, !tbaa !13
  %115 = load i64, ptr %16, align 8, !tbaa !9
  %116 = getelementptr inbounds %struct.asn_dec_rval_s, ptr %15, i32 0, i32 1
  %117 = load i64, ptr %116, align 8, !tbaa !15
  %118 = add i64 %117, %115
  store i64 %118, ptr %116, align 8, !tbaa !15
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %15, i64 16, i1 false), !tbaa.struct !16
  store i32 1, ptr %17, align 4
  br label %119

119:                                              ; preds = %103, %98, %80, %63, %50, %28
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  %120 = load { i32, i64 }, ptr %7, align 8
  ret { i32, i64 } %120
}

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

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #2

declare void @stacktrace_create(ptr noundef, i64 noundef, i32 noundef, ptr noundef) #3

declare { i32, i64 } @ber_check_tags(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #3

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

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

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 = { nounwind allocsize(0,1) "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 = { "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 = { 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 #6 = { nounwind }
attributes #7 = { nounwind allocsize(0,1) }
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 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"asn_dec_rval_s", !12, i64 0, !10, i64 8}
!15 = !{!14, !10, i64 8}
!16 = !{i64 0, i64 4, !11, i64 8, i64 8, !9}
!17 = !{!18, !12, i64 8}
!18 = !{!"ASN__PRIMITIVE_TYPE_s", !6, i64 0, !12, i64 8}
!19 = !{!18, !6, i64 0}
!20 = !{!7, !7, i64 0}


; 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 = external hidden unnamed_addr constant [30 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local { i32, i64 } @ber_decode_primitive(ptr noundef %0, ptr noundef %1, ptr nocapture noundef %2, ptr noundef %3, i64 noundef %4, i32 noundef %5) local_unnamed_addr #0 {
  %7 = alloca i64, align 8
  %8 = load ptr, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  store i64 0, ptr %7, align 8, !tbaa !9
  %9 = icmp eq ptr %8, null
  br i1 %9, label %10, label %15

10:                                               ; preds = %6
  %11 = tail call noalias dereferenceable_or_null(16) ptr @calloc(i64 noundef 1, i64 noundef 16) #7
  %12 = icmp eq ptr %11, null
  br i1 %12, label %13, label %14

13:                                               ; preds = %10
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 54, i32 noundef 102, ptr noundef null) #6
  br label %36

14:                                               ; preds = %10
  store ptr %11, ptr %2, align 8, !tbaa !5
  br label %15

15:                                               ; preds = %14, %6
  %.0 = phi ptr [ %11, %14 ], [ %8, %6 ]
  %16 = call { i32, i64 } @ber_check_tags(ptr noundef %0, ptr noundef %1, ptr noundef null, ptr noundef %3, i64 noundef %4, i32 noundef %5, i32 noundef 0, ptr noundef nonnull %7, ptr noundef null) #6
  %17 = extractvalue { i32, i64 } %16, 0
  %18 = extractvalue { i32, i64 } %16, 1
  %.not = icmp eq i32 %17, 0
  br i1 %.not, label %19, label %36

19:                                               ; preds = %15
  %20 = getelementptr inbounds i8, ptr %3, i64 %18
  %21 = sub i64 %4, %18
  %22 = load i64, ptr %7, align 8, !tbaa !9
  %23 = icmp sgt i64 %22, %21
  br i1 %23, label %36, label %24

24:                                               ; preds = %19
  %25 = trunc i64 %22 to i32
  %26 = getelementptr inbounds i8, ptr %.0, i64 8
  store i32 %25, ptr %26, align 8, !tbaa !11
  %27 = add i64 %22, 2147483648
  %.not43 = icmp ult i64 %27, 4294967296
  br i1 %.not43, label %29, label %28

28:                                               ; preds = %24
  store i32 0, ptr %26, align 8, !tbaa !11
  call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 89, i32 noundef 102, ptr noundef null) #6
  br label %36

29:                                               ; preds = %24
  %30 = add nsw i64 %22, 1
  %31 = call noalias ptr @malloc(i64 noundef %30) #8
  store ptr %31, ptr %.0, align 8, !tbaa !14
  %.not44 = icmp eq ptr %31, null
  br i1 %.not44, label %32, label %33

32:                                               ; preds = %29
  store i32 0, ptr %26, align 8, !tbaa !11
  call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 95, i32 noundef 102, ptr noundef null) #6
  br label %36

33:                                               ; preds = %29
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %31, ptr align 1 %20, i64 %22, i1 false)
  %34 = getelementptr inbounds i8, ptr %31, i64 %22
  store i8 0, ptr %34, align 1, !tbaa !15
  %35 = add i64 %22, %18
  br label %36

36:                                               ; preds = %19, %15, %33, %32, %28, %13
  %.sroa.035.0 = phi i32 [ 2, %13 ], [ 2, %28 ], [ 0, %33 ], [ 2, %32 ], [ %17, %15 ], [ 1, %19 ]
  %.sroa.1036.0 = phi i64 [ 0, %13 ], [ 0, %28 ], [ %35, %33 ], [ 0, %32 ], [ %18, %15 ], [ 0, %19 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  %.fca.0.insert = insertvalue { i32, i64 } poison, i32 %.sroa.035.0, 0
  %.fca.1.insert = insertvalue { i32, i64 } %.fca.0.insert, i64 %.sroa.1036.0, 1
  ret { i32, i64 } %.fca.1.insert
}

; 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 nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #2

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

declare { i32, i64 } @ber_check_tags(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

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 nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) 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 #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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { nounwind }
attributes #7 = { nounwind allocsize(0,1) }
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 = !{!12, !13, i64 8}
!12 = !{!"ASN__PRIMITIVE_TYPE_s", !6, i64 0, !13, i64 8}
!13 = !{!"int", !7, i64 0}
!14 = !{!12, !6, i64 0}
!15 = !{!7, !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass