; LLVM IR from wkoszek/kmnsim :: src (all)

; 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.host = type { i64, [1 x ptr], ptr, %struct.anon.3 }
%struct.anon.3 = type { ptr, ptr }
%struct.iface = type { i64, ptr, ptr, %struct.pktq, %struct.pktq, i32, ptr, [4 x i32], [4 x i32], [6 x i32], %struct.anon }
%struct.pktq = type { ptr, ptr }
%struct.anon = type { ptr, ptr }
%struct.pkt = type { i64, ptr, i32, i32, ptr, ptr, %struct.anon.2 }
%struct.anon.2 = type { ptr, ptr }
%struct.pkt_icmp = type { %struct.eth_hdr, %struct.ip_hdr, %struct.icmp_hdr }
%struct.eth_hdr = type { [6 x i32], [6 x i32] }
%struct.ip_hdr = type { [4 x i32], [4 x i32] }
%struct.icmp_hdr = type { i32 }

@.str.2 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [31 x i8], align 1
@__PRETTY_FUNCTION__.host_rx_process = external hidden unnamed_addr constant [35 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [37 x i8], align 1
@stderr = external global ptr, align 8
@.str.41 = external hidden unnamed_addr constant [74 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @msg_log(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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #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
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #3

; Function Attrs: nounwind uwtable
declare dso_local void @pktq_enqueue(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local ptr @pktq_dequeue(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @pktq_empty(ptr noundef) #0

; Function Attrs: nounwind uwtable
define dso_local i32 @host_rx_process(ptr noundef %0) #0 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %11 = load ptr, ptr %3, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct.host, ptr %11, i32 0, i32 1
  %13 = getelementptr inbounds [1 x ptr], ptr %12, i64 0, i64 0
  %14 = load ptr, ptr %13, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.iface, ptr %14, i32 0, i32 3
  store ptr %15, ptr %8, align 8, !tbaa !5
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.host, ptr %16, i32 0, i32 1
  %18 = getelementptr inbounds [1 x ptr], ptr %17, i64 0, i64 0
  %19 = load ptr, ptr %18, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.iface, ptr %19, i32 0, i32 4
  store ptr %20, ptr %9, align 8, !tbaa !5
  %21 = load ptr, ptr %8, align 8, !tbaa !5
  %22 = call i32 @pktq_empty(ptr noundef %21)
  %23 = icmp ne i32 %22, 0
  br i1 %23, label %24, label %25

24:                                               ; preds = %1
  store i32 0, ptr %2, align 4
  store i32 1, ptr %10, align 4
  br label %108

25:                                               ; preds = %1
  %26 = load ptr, ptr %8, align 8, !tbaa !5
  %27 = call ptr @pktq_dequeue(ptr noundef %26)
  store ptr %27, ptr %4, align 8, !tbaa !5
  br label %28

28:                                               ; preds = %25
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = icmp ne ptr %29, null
  br i1 %30, label %31, label %32

31:                                               ; preds = %28
  br label %33

32:                                               ; preds = %28
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.2, i32 noundef 574, ptr noundef @__PRETTY_FUNCTION__.host_rx_process) #5
  unreachable

33:                                               ; preds = %31
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.pkt, ptr %34, i32 0, i32 0
  %36 = load i64, ptr %35, align 8, !tbaa !9
  %37 = icmp eq i64 %36, 2864434397
  br i1 %37, label %38, label %39

38:                                               ; preds = %33
  br label %40

39:                                               ; preds = %33
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.2, i32 noundef 574, ptr noundef @__PRETTY_FUNCTION__.host_rx_process) #5
  unreachable

40:                                               ; preds = %38
  br label %41

41:                                               ; preds = %40
  br label %42

42:                                               ; preds = %41
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.pkt, ptr %43, i32 0, i32 1
  %45 = load ptr, ptr %44, align 8, !tbaa !14
  store ptr %45, ptr %5, align 8, !tbaa !5
  call void (ptr, ...) @msg_log(ptr noundef @.str.36)
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.pkt_icmp, ptr %46, i32 0, i32 2
  %48 = getelementptr inbounds %struct.icmp_hdr, ptr %47, i32 0, i32 0
  %49 = load i32, ptr %48, align 4, !tbaa !15
  %50 = icmp eq i32 %49, 0
  br i1 %50, label %51, label %95

51:                                               ; preds = %42
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.pkt, ptr %52, i32 0, i32 4
  %54 = load ptr, ptr %53, align 8, !tbaa !20
  store ptr %54, ptr %6, align 8, !tbaa !5
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.pkt, ptr %55, i32 0, i32 5
  %57 = load ptr, ptr %56, align 8, !tbaa !21
  store ptr %57, ptr %7, align 8, !tbaa !5
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  call void @pkt_destroy(ptr noundef %58)
  %59 = call ptr @pkt_create(i32 noundef 1000)
  store ptr %59, ptr %4, align 8, !tbaa !5
  br label %60

60:                                               ; preds = %51
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = icmp ne ptr %61, null
  br i1 %62, label %63, label %64

63:                                               ; preds = %60
  br label %65

64:                                               ; preds = %60
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.2, i32 noundef 599, ptr noundef @__PRETTY_FUNCTION__.host_rx_process) #5
  unreachable

65:                                               ; preds = %63
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.pkt, ptr %66, i32 0, i32 0
  %68 = load i64, ptr %67, align 8, !tbaa !9
  %69 = icmp eq i64 %68, 2864434397
  br i1 %69, label %70, label %71

70:                                               ; preds = %65
  br label %72

71:                                               ; preds = %65
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.2, i32 noundef 599, ptr noundef @__PRETTY_FUNCTION__.host_rx_process) #5
  unreachable

72:                                               ; preds = %70
  br label %73

73:                                               ; preds = %72
  br label %74

74:                                               ; preds = %73
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  %77 = load ptr, ptr %6, align 8, !tbaa !5
  call void @pkt_init(ptr noundef %75, i32 noundef 1, ptr noundef %76, ptr noundef %77)
  br label %78

78:                                               ; preds = %74
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = icmp ne ptr %79, null
  br i1 %80, label %81, label %82

81:                                               ; preds = %78
  br label %83

82:                                               ; preds = %78
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.2, i32 noundef 601, ptr noundef @__PRETTY_FUNCTION__.host_rx_process) #5
  unreachable

83:                                               ; preds = %81
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.pkt, ptr %84, i32 0, i32 0
  %86 = load i64, ptr %85, align 8, !tbaa !9
  %87 = icmp eq i64 %86, 2864434397
  br i1 %87, label %88, label %89

88:                                               ; preds = %83
  br label %90

89:                                               ; preds = %83
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.2, i32 noundef 601, ptr noundef @__PRETTY_FUNCTION__.host_rx_process) #5
  unreachable

90:                                               ; preds = %88
  br label %91

91:                                               ; preds = %90
  br label %92

92:                                               ; preds = %91
  %93 = load ptr, ptr %9, align 8, !tbaa !5
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  call void @pktq_enqueue(ptr noundef %93, ptr noundef %94)
  call void (ptr, ...) @msg_log(ptr noundef @.str.37)
  call void (ptr, ...) @msg_log(ptr noundef @.str.38)
  br label %107

95:                                               ; preds = %42
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.pkt_icmp, ptr %96, i32 0, i32 2
  %98 = getelementptr inbounds %struct.icmp_hdr, ptr %97, i32 0, i32 0
  %99 = load i32, ptr %98, align 4, !tbaa !15
  %100 = icmp eq i32 %99, 1
  br i1 %100, label %101, label %103

101:                                              ; preds = %95
  %102 = load ptr, ptr %4, align 8, !tbaa !5
  call void @pkt_destroy(ptr noundef %102)
  call void (ptr, ...) @msg_log(ptr noundef @.str.39)
  call void (ptr, ...) @msg_log(ptr noundef @.str.40)
  br label %106

103:                                              ; preds = %95
  %104 = load ptr, ptr @stderr, align 8, !tbaa !5
  %105 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %104, ptr noundef @.str.41) #4
  call void @exit(i32 noundef 1) #5
  unreachable

106:                                              ; preds = %101
  br label %107

107:                                              ; preds = %106, %92
  store i32 0, ptr %2, align 4
  store i32 1, ptr %10, align 4
  br label %108

108:                                              ; preds = %107, %24
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  %109 = load i32, ptr %2, align 4
  ret i32 %109
}

; Function Attrs: nounwind uwtable
declare dso_local void @pkt_destroy(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local ptr @pkt_create(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @pkt_init(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #0

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #2

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 = { noreturn 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 #3 = { 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 #4 = { nounwind }
attributes #5 = { noreturn 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, !11, i64 0}
!10 = !{!"pkt", !11, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !6, i64 24, !6, i64 32, !13, i64 40}
!11 = !{!"long", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"", !6, i64 0, !6, i64 8}
!14 = !{!10, !6, i64 8}
!15 = !{!16, !12, i64 80}
!16 = !{!"pkt_icmp", !17, i64 0, !18, i64 48, !19, i64 80}
!17 = !{!"eth_hdr", !7, i64 0, !7, i64 24}
!18 = !{!"ip_hdr", !7, i64 0, !7, i64 16}
!19 = !{!"icmp_hdr", !12, i64 0}
!20 = !{!10, !6, i64 24}
!21 = !{!10, !6, i64 32}


; 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.2 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [31 x i8], align 1
@__PRETTY_FUNCTION__.host_rx_process = external hidden unnamed_addr constant [35 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [37 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.41 = external hidden unnamed_addr constant [74 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @msg_log(ptr noundef, ...) local_unnamed_addr #0

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
declare dso_local void @pktq_enqueue(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local ptr @pktq_dequeue(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @pktq_empty(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @host_rx_process(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 8
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %3, i64 24
  %5 = getelementptr inbounds i8, ptr %3, i64 40
  %6 = tail call i32 @pktq_empty(ptr noundef nonnull %4)
  %.not = icmp eq i32 %6, 0
  br i1 %.not, label %7, label %39

7:                                                ; preds = %1
  %8 = tail call ptr @pktq_dequeue(ptr noundef nonnull %4)
  %.not24 = icmp eq ptr %8, null
  br i1 %.not24, label %9, label %10

9:                                                ; preds = %7
  tail call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.2, i32 noundef 574, ptr noundef nonnull @__PRETTY_FUNCTION__.host_rx_process) #3
  unreachable

10:                                               ; preds = %7
  %11 = load i64, ptr %8, align 8, !tbaa !9
  %12 = icmp eq i64 %11, 2864434397
  br i1 %12, label %14, label %13

13:                                               ; preds = %10
  tail call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.2, i32 noundef 574, ptr noundef nonnull @__PRETTY_FUNCTION__.host_rx_process) #3
  unreachable

14:                                               ; preds = %10
  %15 = getelementptr inbounds i8, ptr %8, i64 8
  %16 = load ptr, ptr %15, align 8, !tbaa !14
  tail call void (ptr, ...) @msg_log(ptr noundef nonnull @.str.36)
  %17 = getelementptr inbounds i8, ptr %16, i64 80
  %18 = load i32, ptr %17, align 4, !tbaa !15
  switch i32 %18, label %36 [
    i32 0, label %19
    i32 1, label %35
  ]

19:                                               ; preds = %14
  %20 = getelementptr inbounds i8, ptr %8, i64 24
  %21 = load ptr, ptr %20, align 8, !tbaa !20
  %22 = getelementptr inbounds i8, ptr %8, i64 32
  %23 = load ptr, ptr %22, align 8, !tbaa !21
  tail call void @pkt_destroy(ptr noundef nonnull %8)
  %24 = tail call ptr @pkt_create(i32 noundef 1000)
  %.not25 = icmp eq ptr %24, null
  br i1 %.not25, label %25, label %26

25:                                               ; preds = %19
  tail call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.2, i32 noundef 599, ptr noundef nonnull @__PRETTY_FUNCTION__.host_rx_process) #3
  unreachable

26:                                               ; preds = %19
  %27 = load i64, ptr %24, align 8, !tbaa !9
  %28 = icmp eq i64 %27, 2864434397
  br i1 %28, label %30, label %29

29:                                               ; preds = %26
  tail call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.2, i32 noundef 599, ptr noundef nonnull @__PRETTY_FUNCTION__.host_rx_process) #3
  unreachable

30:                                               ; preds = %26
  tail call void @pkt_init(ptr noundef nonnull %24, i32 noundef 1, ptr noundef %23, ptr noundef %21)
  %31 = load i64, ptr %24, align 8, !tbaa !9
  %32 = icmp eq i64 %31, 2864434397
  br i1 %32, label %34, label %33

33:                                               ; preds = %30
  tail call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.2, i32 noundef 601, ptr noundef nonnull @__PRETTY_FUNCTION__.host_rx_process) #3
  unreachable

34:                                               ; preds = %30
  tail call void @pktq_enqueue(ptr noundef nonnull %5, ptr noundef nonnull %24)
  br label %.sink.split

35:                                               ; preds = %14
  tail call void @pkt_destroy(ptr noundef nonnull %8)
  br label %.sink.split

36:                                               ; preds = %14
  %37 = load ptr, ptr @stderr, align 8, !tbaa !5
  %38 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef nonnull @.str.41) #4
  tail call void @exit(i32 noundef 1) #3
  unreachable

.sink.split:                                      ; preds = %35, %34
  %.str.37.sink = phi ptr [ @.str.37, %34 ], [ @.str.39, %35 ]
  %.str.38.sink = phi ptr [ @.str.38, %34 ], [ @.str.40, %35 ]
  tail call void (ptr, ...) @msg_log(ptr noundef nonnull %.str.37.sink)
  tail call void (ptr, ...) @msg_log(ptr noundef nonnull %.str.38.sink)
  br label %39

39:                                               ; preds = %.sink.split, %1
  ret i32 0
}

; Function Attrs: nounwind uwtable
declare dso_local void @pkt_destroy(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local ptr @pkt_create(i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @pkt_init(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #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 = { noreturn 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 #2 = { 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 #3 = { noreturn nounwind }
attributes #4 = { 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, !11, i64 0}
!10 = !{!"pkt", !11, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !6, i64 24, !6, i64 32, !13, i64 40}
!11 = !{!"long", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"", !6, i64 0, !6, i64 8}
!14 = !{!10, !6, i64 8}
!15 = !{!16, !12, i64 80}
!16 = !{!"pkt_icmp", !17, i64 0, !18, i64 48, !19, i64 80}
!17 = !{!"eth_hdr", !7, i64 0, !7, i64 24}
!18 = !{!"ip_hdr", !7, i64 0, !7, i64 16}
!19 = !{!"icmp_hdr", !12, i64 0}
!20 = !{!10, !6, i64 24}
!21 = !{!10, !6, i64 32}


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