; 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_struct_ctx_s = type { i16, i16, i32, ptr, i64 }
%struct.xdp_arg_s = type { ptr, ptr, ptr, i32, i32 }
%struct.asn_TYPE_descriptor_s = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, i32, ptr, ptr, i32, ptr }

@.str = external hidden unnamed_addr constant [30 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: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #1

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

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

; 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 { i32, i64 } @xer_decode_primitive(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5, i64 noundef %6, ptr noundef %7) #4 {
  %9 = alloca %struct.asn_dec_rval_s, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca %struct.asn_struct_ctx_s, align 8
  %20 = alloca %struct.xdp_arg_s, align 8
  %21 = alloca %struct.asn_dec_rval_s, align 8
  %22 = alloca i32, align 4
  %23 = alloca %struct.asn_dec_rval_s, align 8
  %24 = alloca i8, align 1
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store ptr %2, ptr %12, align 8, !tbaa !5
  store i64 %3, ptr %13, align 8, !tbaa !9
  store ptr %4, ptr %14, align 8, !tbaa !5
  store ptr %5, ptr %15, align 8, !tbaa !5
  store i64 %6, ptr %16, align 8, !tbaa !9
  store ptr %7, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %25 = load ptr, ptr %14, align 8, !tbaa !5
  %26 = icmp ne ptr %25, null
  br i1 %26, label %27, label %29

27:                                               ; preds = %8
  %28 = load ptr, ptr %14, align 8, !tbaa !5
  br label %33

29:                                               ; preds = %8
  %30 = load ptr, ptr %11, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.asn_TYPE_descriptor_s, ptr %30, i32 0, i32 1
  %32 = load ptr, ptr %31, align 8, !tbaa !11
  br label %33

33:                                               ; preds = %29, %27
  %34 = phi ptr [ %28, %27 ], [ %32, %29 ]
  store ptr %34, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #6
  %35 = load ptr, ptr %12, align 8, !tbaa !5
  %36 = load ptr, ptr %35, align 8, !tbaa !5
  %37 = icmp ne ptr %36, null
  br i1 %37, label %52, label %38

38:                                               ; preds = %33
  %39 = load i64, ptr %13, align 8, !tbaa !9
  %40 = call noalias ptr @calloc(i64 noundef 1, i64 noundef %39) #7
  %41 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %40, ptr %41, align 8, !tbaa !5
  %42 = load ptr, ptr %12, align 8, !tbaa !5
  %43 = load ptr, ptr %42, align 8, !tbaa !5
  %44 = icmp ne ptr %43, null
  br i1 %44, label %51, label %45

45:                                               ; preds = %38
  br label %46

46:                                               ; preds = %45
  %47 = getelementptr inbounds %struct.asn_dec_rval_s, ptr %9, i32 0, i32 0
  store i32 2, ptr %47, align 8, !tbaa !14
  %48 = getelementptr inbounds %struct.asn_dec_rval_s, ptr %9, i32 0, i32 1
  store i64 0, ptr %48, align 8, !tbaa !16
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 304, i32 noundef 102, ptr noundef null)
  store i32 1, ptr %22, align 4
  br label %113

49:                                               ; No predecessors!
  br label %50

50:                                               ; preds = %49
  br label %51

51:                                               ; preds = %50, %38
  br label %52

52:                                               ; preds = %51, %33
  call void @llvm.memset.p0.i64(ptr align 8 %19, i8 0, i64 24, i1 false)
  %53 = load ptr, ptr %11, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.xdp_arg_s, ptr %20, i32 0, i32 0
  store ptr %53, ptr %54, align 8, !tbaa !17
  %55 = load ptr, ptr %12, align 8, !tbaa !5
  %56 = load ptr, ptr %55, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.xdp_arg_s, ptr %20, i32 0, i32 1
  store ptr %56, ptr %57, align 8, !tbaa !19
  %58 = load ptr, ptr %17, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.xdp_arg_s, ptr %20, i32 0, i32 2
  store ptr %58, ptr %59, align 8, !tbaa !20
  %60 = getelementptr inbounds %struct.xdp_arg_s, ptr %20, i32 0, i32 3
  store i32 0, ptr %60, align 8, !tbaa !21
  %61 = getelementptr inbounds %struct.xdp_arg_s, ptr %20, i32 0, i32 4
  store i32 0, ptr %61, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #6
  %62 = load ptr, ptr %10, align 8, !tbaa !5
  %63 = load ptr, ptr %18, align 8, !tbaa !5
  %64 = load ptr, ptr %15, align 8, !tbaa !5
  %65 = load i64, ptr %16, align 8, !tbaa !9
  %66 = call { i32, i64 } @xer_decode_general(ptr noundef %62, ptr noundef %19, ptr noundef %20, ptr noundef %63, ptr noundef %64, i64 noundef %65, ptr noundef @xer_decode__unexpected_tag, ptr noundef @xer_decode__primitive_body)
  %67 = getelementptr inbounds { i32, i64 }, ptr %23, i32 0, i32 0
  %68 = extractvalue { i32, i64 } %66, 0
  store i32 %68, ptr %67, align 8
  %69 = getelementptr inbounds { i32, i64 }, ptr %23, i32 0, i32 1
  %70 = extractvalue { i32, i64 } %66, 1
  store i64 %70, ptr %69, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 8 %23, i64 16, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #6
  %71 = getelementptr inbounds %struct.asn_dec_rval_s, ptr %21, i32 0, i32 0
  %72 = load i32, ptr %71, align 8, !tbaa !14
  switch i32 %72, label %112 [
    i32 0, label %73
    i32 1, label %96
    i32 2, label %98
  ]

73:                                               ; preds = %52
  %74 = getelementptr inbounds %struct.xdp_arg_s, ptr %20, i32 0, i32 3
  %75 = load i32, ptr %74, align 8, !tbaa !21
  %76 = icmp ne i32 %75, 0
  br i1 %76, label %95, label %77

77:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #6
  %78 = load ptr, ptr %17, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.xdp_arg_s, ptr %20, i32 0, i32 0
  %80 = load ptr, ptr %79, align 8, !tbaa !17
  %81 = getelementptr inbounds %struct.xdp_arg_s, ptr %20, i32 0, i32 1
  %82 = load ptr, ptr %81, align 8, !tbaa !19
  %83 = call i32 %78(ptr noundef %80, ptr noundef %82, ptr noundef %24, i64 noundef 0)
  %84 = icmp ne i32 %83, 4
  br i1 %84, label %85, label %91

85:                                               ; preds = %77
  br label %86

86:                                               ; preds = %85
  %87 = getelementptr inbounds %struct.asn_dec_rval_s, ptr %9, i32 0, i32 0
  store i32 2, ptr %87, align 8, !tbaa !14
  %88 = getelementptr inbounds %struct.asn_dec_rval_s, ptr %9, i32 0, i32 1
  store i64 0, ptr %88, align 8, !tbaa !16
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 335, i32 noundef 102, ptr noundef null)
  store i32 1, ptr %22, align 4
  br label %92

89:                                               ; No predecessors!
  br label %90

90:                                               ; preds = %89
  br label %91

91:                                               ; preds = %90, %77
  store i32 0, ptr %22, align 4
  br label %92

92:                                               ; preds = %91, %86
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  %93 = load i32, ptr %22, align 4
  switch i32 %93, label %113 [
    i32 0, label %94
  ]

94:                                               ; preds = %92
  br label %95

95:                                               ; preds = %94, %73
  br label %112

96:                                               ; preds = %52
  %97 = getelementptr inbounds %struct.asn_dec_rval_s, ptr %21, i32 0, i32 1
  store i64 0, ptr %97, align 8, !tbaa !16
  br label %112

98:                                               ; preds = %52
  %99 = getelementptr inbounds %struct.asn_dec_rval_s, ptr %21, i32 0, i32 1
  store i64 0, ptr %99, align 8, !tbaa !16
  %100 = getelementptr inbounds %struct.xdp_arg_s, ptr %20, i32 0, i32 4
  %101 = load i32, ptr %100, align 4, !tbaa !22
  %102 = icmp ne i32 %101, 0
  br i1 %102, label %103, label %105

103:                                              ; preds = %98
  %104 = getelementptr inbounds %struct.asn_dec_rval_s, ptr %21, i32 0, i32 0
  store i32 1, ptr %104, align 8, !tbaa !14
  br label %111

105:                                              ; preds = %98
  br label %106

106:                                              ; preds = %105
  %107 = getelementptr inbounds %struct.asn_dec_rval_s, ptr %9, i32 0, i32 0
  store i32 2, ptr %107, align 8, !tbaa !14
  %108 = getelementptr inbounds %struct.asn_dec_rval_s, ptr %9, i32 0, i32 1
  store i64 0, ptr %108, align 8, !tbaa !16
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 351, i32 noundef 102, ptr noundef null)
  store i32 1, ptr %22, align 4
  br label %113

109:                                              ; No predecessors!
  br label %110

110:                                              ; preds = %109
  br label %111

111:                                              ; preds = %110, %103
  br label %112

112:                                              ; preds = %111, %96, %95, %52
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %21, i64 16, i1 false), !tbaa.struct !23
  store i32 1, ptr %22, align 4
  br label %113

113:                                              ; preds = %112, %106, %92, %46
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  %114 = load { i32, i64 }, ptr %9, align 8
  ret { i32, i64 } %114
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

declare { i32, i64 } @xer_decode_general(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #2

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { nounwind }
attributes #7 = { nounwind allocsize(0,1) }

!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, !6, i64 8}
!12 = !{!"asn_TYPE_descriptor_s", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !13, i64 104, !6, i64 112, !13, i64 120, !6, i64 128, !6, i64 136, !13, i64 144, !6, i64 152}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"asn_dec_rval_s", !13, i64 0, !10, i64 8}
!16 = !{!15, !10, i64 8}
!17 = !{!18, !6, i64 0}
!18 = !{!"xdp_arg_s", !6, i64 0, !6, i64 8, !6, i64 16, !13, i64 24, !13, i64 28}
!19 = !{!18, !6, i64 8}
!20 = !{!18, !6, i64 16}
!21 = !{!18, !13, i64 24}
!22 = !{!18, !13, i64 28}
!23 = !{i64 0, i64 4, !24, i64 8, i64 8, !9}
!24 = !{!13, !13, 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"

%struct.asn_struct_ctx_s = type { i16, i16, i32, ptr, i64 }
%struct.xdp_arg_s = type { ptr, ptr, ptr, i32, i32 }

@.str = external hidden unnamed_addr constant [30 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 nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #1

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

; 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 { i32, i64 } @xer_decode_primitive(ptr noundef %0, ptr noundef %1, ptr nocapture noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5, i64 noundef %6, ptr noundef %7) local_unnamed_addr #3 {
  %9 = alloca %struct.asn_struct_ctx_s, align 8
  %10 = alloca %struct.xdp_arg_s, align 8
  %11 = alloca i8, align 1
  %.not = icmp eq ptr %4, null
  br i1 %.not, label %12, label %15

12:                                               ; preds = %8
  %13 = getelementptr inbounds i8, ptr %1, i64 8
  %14 = load ptr, ptr %13, align 8, !tbaa !5
  br label %15

15:                                               ; preds = %8, %12
  %16 = phi ptr [ %14, %12 ], [ %4, %8 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #5
  %17 = load ptr, ptr %2, align 8, !tbaa !11
  %.not21 = icmp eq ptr %17, null
  br i1 %.not21, label %18, label %21

18:                                               ; preds = %15
  %19 = tail call noalias ptr @calloc(i64 noundef 1, i64 noundef %3) #6
  store ptr %19, ptr %2, align 8, !tbaa !11
  %.not22 = icmp eq ptr %19, null
  br i1 %.not22, label %20, label %21

20:                                               ; preds = %18
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 304, i32 noundef 102, ptr noundef null) #5
  br label %41

21:                                               ; preds = %18, %15
  %22 = phi ptr [ %19, %18 ], [ %17, %15 ]
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %9, i8 0, i64 24, i1 false)
  store ptr %1, ptr %10, align 8, !tbaa !12
  %23 = getelementptr inbounds i8, ptr %10, i64 8
  store ptr %22, ptr %23, align 8, !tbaa !14
  %24 = getelementptr inbounds i8, ptr %10, i64 16
  store ptr %7, ptr %24, align 8, !tbaa !15
  %25 = getelementptr inbounds i8, ptr %10, i64 24
  store i32 0, ptr %25, align 8, !tbaa !16
  %26 = getelementptr inbounds i8, ptr %10, i64 28
  store i32 0, ptr %26, align 4, !tbaa !17
  %27 = call { i32, i64 } @xer_decode_general(ptr noundef %0, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef %16, ptr noundef %5, i64 noundef %6, ptr noundef nonnull @xer_decode__unexpected_tag, ptr noundef nonnull @xer_decode__primitive_body) #5
  %28 = extractvalue { i32, i64 } %27, 0
  %29 = extractvalue { i32, i64 } %27, 1
  switch i32 %28, label %41 [
    i32 0, label %30
    i32 1, label %37
    i32 2, label %38
  ]

30:                                               ; preds = %21
  %31 = load i32, ptr %25, align 8, !tbaa !16
  %.not24 = icmp eq i32 %31, 0
  br i1 %.not24, label %32, label %41

32:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #5
  %33 = load ptr, ptr %10, align 8, !tbaa !12
  %34 = load ptr, ptr %23, align 8, !tbaa !14
  %35 = call i32 %7(ptr noundef %33, ptr noundef %34, ptr noundef nonnull %11, i64 noundef 0) #5
  %.not25 = icmp eq i32 %35, 4
  br i1 %.not25, label %.critedge, label %36

36:                                               ; preds = %32
  call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 335, i32 noundef 102, ptr noundef null) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #5
  br label %41

37:                                               ; preds = %21
  br label %41

38:                                               ; preds = %21
  %39 = load i32, ptr %26, align 4, !tbaa !17
  %.not23 = icmp eq i32 %39, 0
  br i1 %.not23, label %40, label %41

40:                                               ; preds = %38
  call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 351, i32 noundef 102, ptr noundef null) #5
  br label %41

.critedge:                                        ; preds = %32
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #5
  br label %41

41:                                               ; preds = %36, %21, %37, %30, %.critedge, %38, %40, %20
  %.sroa.017.1 = phi i32 [ 2, %40 ], [ 2, %36 ], [ 2, %20 ], [ %28, %21 ], [ %28, %37 ], [ 0, %30 ], [ 0, %.critedge ], [ 1, %38 ]
  %.sroa.618.1 = phi i64 [ 0, %40 ], [ 0, %36 ], [ 0, %20 ], [ %29, %21 ], [ 0, %37 ], [ %29, %30 ], [ %29, %.critedge ], [ 0, %38 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  %.fca.0.insert = insertvalue { i32, i64 } poison, i32 %.sroa.017.1, 0
  %.fca.1.insert = insertvalue { i32, i64 } %.fca.0.insert, i64 %.sroa.618.1, 1
  ret { i32, i64 } %.fca.1.insert
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

declare { i32, i64 } @xer_decode_general(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

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

!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, !7, i64 8}
!6 = !{!"asn_TYPE_descriptor_s", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !10, i64 104, !7, i64 112, !10, i64 120, !7, i64 128, !7, i64 136, !10, i64 144, !7, i64 152}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"xdp_arg_s", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28}
!14 = !{!13, !7, i64 8}
!15 = !{!13, !7, i64 16}
!16 = !{!13, !10, i64 24}
!17 = !{!13, !10, i64 28}


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