; LLVM IR from pandax381/microps :: udp (udp_output)

; 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.pseudo_hdr = type { i32, i32, i8, i8, i16 }
%struct.ip_endpoint = type { i32, i16 }
%struct.udp_hdr = type { i16, i16, i16, i16 }

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [57 x i8], align 1
@__func__.udp_output = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i64 @udp_output(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
  %5 = alloca i64, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca [65515 x i8], align 16
  %11 = alloca ptr, align 8
  %12 = alloca %struct.pseudo_hdr, align 4
  %13 = alloca i16, align 2
  %14 = alloca i16, align 2
  %15 = alloca [22 x i8], align 16
  %16 = alloca [22 x i8], align 16
  %17 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store i64 %3, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 65515, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 2, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 2, ptr %14) #4
  store i16 0, ptr %14, align 2, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 22, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 22, ptr %16) #4
  %18 = load i64, ptr %9, align 8, !tbaa !9
  %19 = icmp ugt i64 %18, 65507
  br i1 %19, label %20, label %23

20:                                               ; preds = %4
  %21 = load ptr, ptr @stderr, align 8, !tbaa !5
  %22 = call i32 (ptr, i32, ptr, i32, ptr, ptr, ...) @lprintf(ptr noundef %21, i32 noundef 69, ptr noundef @.str, i32 noundef 221, ptr noundef @__func__.udp_output, ptr noundef @.str.1)
  store i64 -1, ptr %5, align 8
  store i32 1, ptr %17, align 4
  br label %102

23:                                               ; preds = %4
  %24 = getelementptr inbounds [65515 x i8], ptr %10, i64 0, i64 0
  store ptr %24, ptr %11, align 8, !tbaa !5
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.ip_endpoint, ptr %25, i32 0, i32 1
  %27 = load i16, ptr %26, align 4, !tbaa !13
  %28 = load ptr, ptr %11, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.udp_hdr, ptr %28, i32 0, i32 0
  store i16 %27, ptr %29, align 2, !tbaa !16
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.ip_endpoint, ptr %30, i32 0, i32 1
  %32 = load i16, ptr %31, align 4, !tbaa !13
  %33 = load ptr, ptr %11, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.udp_hdr, ptr %33, i32 0, i32 1
  store i16 %32, ptr %34, align 2, !tbaa !18
  %35 = load i64, ptr %9, align 8, !tbaa !9
  %36 = add i64 8, %35
  %37 = trunc i64 %36 to i16
  store i16 %37, ptr %13, align 2, !tbaa !11
  %38 = load i16, ptr %13, align 2, !tbaa !11
  %39 = call zeroext i16 @hton16(i16 noundef zeroext %38)
  %40 = load ptr, ptr %11, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.udp_hdr, ptr %40, i32 0, i32 2
  store i16 %39, ptr %41, align 2, !tbaa !19
  %42 = load ptr, ptr %11, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.udp_hdr, ptr %42, i32 0, i32 3
  store i16 0, ptr %43, align 2, !tbaa !20
  %44 = load ptr, ptr %11, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.udp_hdr, ptr %44, i64 1
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = load i64, ptr %9, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %45, ptr align 1 %46, i64 %47, i1 false)
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.ip_endpoint, ptr %48, i32 0, i32 0
  %50 = load i32, ptr %49, align 4, !tbaa !21
  %51 = getelementptr inbounds %struct.pseudo_hdr, ptr %12, i32 0, i32 0
  store i32 %50, ptr %51, align 4, !tbaa !22
  %52 = load ptr, ptr %7, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.ip_endpoint, ptr %52, i32 0, i32 0
  %54 = load i32, ptr %53, align 4, !tbaa !21
  %55 = getelementptr inbounds %struct.pseudo_hdr, ptr %12, i32 0, i32 1
  store i32 %54, ptr %55, align 4, !tbaa !24
  %56 = getelementptr inbounds %struct.pseudo_hdr, ptr %12, i32 0, i32 2
  store i8 0, ptr %56, align 4, !tbaa !25
  %57 = getelementptr inbounds %struct.pseudo_hdr, ptr %12, i32 0, i32 3
  store i8 17, ptr %57, align 1, !tbaa !26
  %58 = load i16, ptr %13, align 2, !tbaa !11
  %59 = call zeroext i16 @hton16(i16 noundef zeroext %58)
  %60 = getelementptr inbounds %struct.pseudo_hdr, ptr %12, i32 0, i32 4
  store i16 %59, ptr %60, align 2, !tbaa !27
  %61 = call zeroext i16 @cksum16(ptr noundef %12, i16 noundef zeroext 12, i32 noundef 0)
  %62 = zext i16 %61 to i32
  %63 = xor i32 %62, -1
  %64 = trunc i32 %63 to i16
  store i16 %64, ptr %14, align 2, !tbaa !11
  %65 = load ptr, ptr %11, align 8, !tbaa !5
  %66 = load i16, ptr %13, align 2, !tbaa !11
  %67 = load i16, ptr %14, align 2, !tbaa !11
  %68 = zext i16 %67 to i32
  %69 = call zeroext i16 @cksum16(ptr noundef %65, i16 noundef zeroext %66, i32 noundef %68)
  %70 = load ptr, ptr %11, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.udp_hdr, ptr %70, i32 0, i32 3
  store i16 %69, ptr %71, align 2, !tbaa !20
  %72 = load ptr, ptr @stderr, align 8, !tbaa !5
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = getelementptr inbounds [22 x i8], ptr %15, i64 0, i64 0
  %75 = call ptr @ip_endpoint_ntop(ptr noundef %73, ptr noundef %74, i64 noundef 22)
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  %77 = getelementptr inbounds [22 x i8], ptr %16, i64 0, i64 0
  %78 = call ptr @ip_endpoint_ntop(ptr noundef %76, ptr noundef %77, i64 noundef 22)
  %79 = load i16, ptr %13, align 2, !tbaa !11
  %80 = zext i16 %79 to i32
  %81 = load i64, ptr %9, align 8, !tbaa !9
  %82 = call i32 (ptr, i32, ptr, i32, ptr, ptr, ...) @lprintf(ptr noundef %72, i32 noundef 68, ptr noundef @.str, i32 noundef 239, ptr noundef @__func__.udp_output, ptr noundef @.str.2, ptr noundef %75, ptr noundef %78, i32 noundef %80, i64 noundef %81)
  %83 = load ptr, ptr %11, align 8, !tbaa !5
  %84 = load i16, ptr %13, align 2, !tbaa !11
  %85 = zext i16 %84 to i64
  call void @udp_dump(ptr noundef %83, i64 noundef %85)
  %86 = load ptr, ptr %11, align 8, !tbaa !5
  %87 = load i16, ptr %13, align 2, !tbaa !11
  %88 = zext i16 %87 to i64
  %89 = load ptr, ptr %6, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.ip_endpoint, ptr %89, i32 0, i32 0
  %91 = load i32, ptr %90, align 4, !tbaa !21
  %92 = load ptr, ptr %7, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.ip_endpoint, ptr %92, i32 0, i32 0
  %94 = load i32, ptr %93, align 4, !tbaa !21
  %95 = call i64 @ip_output(i8 noundef zeroext 17, ptr noundef %86, i64 noundef %88, i32 noundef %91, i32 noundef %94)
  %96 = icmp eq i64 %95, -1
  br i1 %96, label %97, label %100

97:                                               ; preds = %23
  %98 = load ptr, ptr @stderr, align 8, !tbaa !5
  %99 = call i32 (ptr, i32, ptr, i32, ptr, ptr, ...) @lprintf(ptr noundef %98, i32 noundef 69, ptr noundef @.str, i32 noundef 242, ptr noundef @__func__.udp_output, ptr noundef @.str.3)
  store i64 -1, ptr %5, align 8
  store i32 1, ptr %17, align 4
  br label %102

100:                                              ; preds = %23
  %101 = load i64, ptr %9, align 8, !tbaa !9
  store i64 %101, ptr %5, align 8
  store i32 1, ptr %17, align 4
  br label %102

102:                                              ; preds = %100, %97, %20
  call void @llvm.lifetime.end.p0(i64 22, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 22, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 2, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 2, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 65515, ptr %10) #4
  %103 = load i64, ptr %5, align 8
  ret i64 %103
}

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

declare i32 @lprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #2

declare zeroext i16 @hton16(i16 noundef zeroext) #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

declare zeroext i16 @cksum16(ptr noundef, i16 noundef zeroext, i32 noundef) #2

declare ptr @ip_endpoint_ntop(ptr noundef, ptr noundef, i64 noundef) #2

; Function Attrs: nounwind uwtable
declare hidden void @udp_dump(ptr noundef, i64 noundef) #0

declare i64 @ip_output(i8 noundef zeroext, ptr noundef, i64 noundef, i32 noundef, i32 noundef) #2

; 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 = { "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 }

!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 = !{!"short", !7, i64 0}
!13 = !{!14, !12, i64 4}
!14 = !{!"ip_endpoint", !15, i64 0, !12, i64 4}
!15 = !{!"int", !7, i64 0}
!16 = !{!17, !12, i64 0}
!17 = !{!"udp_hdr", !12, i64 0, !12, i64 2, !12, i64 4, !12, i64 6}
!18 = !{!17, !12, i64 2}
!19 = !{!17, !12, i64 4}
!20 = !{!17, !12, i64 6}
!21 = !{!14, !15, i64 0}
!22 = !{!23, !15, i64 0}
!23 = !{!"pseudo_hdr", !15, i64 0, !15, i64 4, !7, i64 8, !7, i64 9, !12, i64 10}
!24 = !{!23, !15, i64 4}
!25 = !{!23, !7, i64 8}
!26 = !{!23, !7, i64 9}
!27 = !{!23, !12, i64 10}


; 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.pseudo_hdr = type { i32, i32, i8, i8, i16 }

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [57 x i8], align 1
@__func__.udp_output = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local range(i64 -1, 65508) i64 @udp_output(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, i64 noundef %3) local_unnamed_addr #0 {
  %5 = alloca [65515 x i8], align 16
  %6 = alloca %struct.pseudo_hdr, align 4
  %7 = alloca [22 x i8], align 16
  %8 = alloca [22 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 65515, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 22, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 22, ptr nonnull %8) #4
  %9 = icmp ugt i64 %3, 65507
  br i1 %9, label %10, label %13

10:                                               ; preds = %4
  %11 = load ptr, ptr @stderr, align 8, !tbaa !5
  %12 = tail call i32 (ptr, i32, ptr, i32, ptr, ptr, ...) @lprintf(ptr noundef %11, i32 noundef 69, ptr noundef nonnull @.str, i32 noundef 221, ptr noundef nonnull @__func__.udp_output, ptr noundef nonnull @.str.1) #4
  br label %49

13:                                               ; preds = %4
  %14 = getelementptr inbounds i8, ptr %0, i64 4
  %15 = load i16, ptr %14, align 4, !tbaa !9
  store i16 %15, ptr %5, align 16, !tbaa !13
  %16 = getelementptr inbounds i8, ptr %1, i64 4
  %17 = load i16, ptr %16, align 4, !tbaa !9
  %18 = getelementptr inbounds i8, ptr %5, i64 2
  store i16 %17, ptr %18, align 2, !tbaa !15
  %19 = trunc nuw i64 %3 to i16
  %20 = add nuw i16 %19, 8
  %21 = tail call zeroext i16 @hton16(i16 noundef zeroext %20) #4
  %22 = getelementptr inbounds i8, ptr %5, i64 4
  store i16 %21, ptr %22, align 4, !tbaa !16
  %23 = getelementptr inbounds i8, ptr %5, i64 6
  store i16 0, ptr %23, align 2, !tbaa !17
  %24 = getelementptr inbounds i8, ptr %5, i64 8
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %24, ptr align 1 %2, i64 %3, i1 false)
  %25 = load i32, ptr %0, align 4, !tbaa !18
  store i32 %25, ptr %6, align 4, !tbaa !19
  %26 = load i32, ptr %1, align 4, !tbaa !18
  %27 = getelementptr inbounds i8, ptr %6, i64 4
  store i32 %26, ptr %27, align 4, !tbaa !21
  %28 = getelementptr inbounds i8, ptr %6, i64 8
  store i8 0, ptr %28, align 4, !tbaa !22
  %29 = getelementptr inbounds i8, ptr %6, i64 9
  store i8 17, ptr %29, align 1, !tbaa !23
  %30 = tail call zeroext i16 @hton16(i16 noundef zeroext %20) #4
  %31 = getelementptr inbounds i8, ptr %6, i64 10
  store i16 %30, ptr %31, align 2, !tbaa !24
  %32 = call zeroext i16 @cksum16(ptr noundef nonnull %6, i16 noundef zeroext 12, i32 noundef 0) #4
  %33 = xor i16 %32, -1
  %34 = zext i16 %33 to i32
  %35 = call zeroext i16 @cksum16(ptr noundef nonnull %5, i16 noundef zeroext %20, i32 noundef %34) #4
  store i16 %35, ptr %23, align 2, !tbaa !17
  %36 = load ptr, ptr @stderr, align 8, !tbaa !5
  %37 = call ptr @ip_endpoint_ntop(ptr noundef nonnull %0, ptr noundef nonnull %7, i64 noundef 22) #4
  %38 = call ptr @ip_endpoint_ntop(ptr noundef nonnull %1, ptr noundef nonnull %8, i64 noundef 22) #4
  %39 = zext i16 %20 to i32
  %40 = call i32 (ptr, i32, ptr, i32, ptr, ptr, ...) @lprintf(ptr noundef %36, i32 noundef 68, ptr noundef nonnull @.str, i32 noundef 239, ptr noundef nonnull @__func__.udp_output, ptr noundef nonnull @.str.2, ptr noundef %37, ptr noundef %38, i32 noundef %39, i64 noundef %3) #4
  %41 = zext i16 %20 to i64
  call void @udp_dump(ptr noundef nonnull %5, i64 noundef %41)
  %42 = load i32, ptr %0, align 4, !tbaa !18
  %43 = load i32, ptr %1, align 4, !tbaa !18
  %44 = call i64 @ip_output(i8 noundef zeroext 17, ptr noundef nonnull %5, i64 noundef %41, i32 noundef %42, i32 noundef %43) #4
  %45 = icmp eq i64 %44, -1
  br i1 %45, label %46, label %49

46:                                               ; preds = %13
  %47 = load ptr, ptr @stderr, align 8, !tbaa !5
  %48 = call i32 (ptr, i32, ptr, i32, ptr, ptr, ...) @lprintf(ptr noundef %47, i32 noundef 69, ptr noundef nonnull @.str, i32 noundef 242, ptr noundef nonnull @__func__.udp_output, ptr noundef nonnull @.str.3) #4
  br label %49

49:                                               ; preds = %13, %46, %10
  %.0 = phi i64 [ -1, %10 ], [ -1, %46 ], [ %3, %13 ]
  call void @llvm.lifetime.end.p0(i64 22, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 22, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 65515, ptr nonnull %5) #4
  ret i64 %.0
}

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

declare i32 @lprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #2

declare zeroext i16 @hton16(i16 noundef zeroext) local_unnamed_addr #2

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

declare zeroext i16 @cksum16(ptr noundef, i16 noundef zeroext, i32 noundef) local_unnamed_addr #2

declare ptr @ip_endpoint_ntop(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden void @udp_dump(ptr noundef, i64 noundef) local_unnamed_addr #0

declare i64 @ip_output(i8 noundef zeroext, ptr noundef, i64 noundef, i32 noundef, i32 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) #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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, !12, i64 4}
!10 = !{!"ip_endpoint", !11, i64 0, !12, i64 4}
!11 = !{!"int", !7, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"udp_hdr", !12, i64 0, !12, i64 2, !12, i64 4, !12, i64 6}
!15 = !{!14, !12, i64 2}
!16 = !{!14, !12, i64 4}
!17 = !{!14, !12, i64 6}
!18 = !{!10, !11, i64 0}
!19 = !{!20, !11, i64 0}
!20 = !{!"pseudo_hdr", !11, i64 0, !11, i64 4, !7, i64 8, !7, i64 9, !12, i64 10}
!21 = !{!20, !11, i64 4}
!22 = !{!20, !7, i64 8}
!23 = !{!20, !7, i64 9}
!24 = !{!20, !12, i64 10}


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