; 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.network = type { i64, %struct.nids, %struct.connlist, %struct.arptable, i32, i32, i32, i32, ptr, ptr, [1024 x i8] }
%struct.nids = type { ptr, ptr }
%struct.connlist = type { ptr, ptr }
%struct.arptable = type { ptr, ptr }
%struct.nid = type { i64, [64 x i8], i32, i32, ptr, %struct.anon.0 }
%struct.anon.0 = type { ptr, ptr }
%struct.hub = type { i64, ptr, [8 x ptr], i32, i32, %struct.anon.1 }
%struct.anon.1 = type { ptr, ptr }

@.str.2 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.132 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.133 = external hidden unnamed_addr constant [31 x i8], align 1
@__PRETTY_FUNCTION__.hub_create = external hidden unnamed_addr constant [59 x i8], align 1
@.str.146 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.147 = external hidden unnamed_addr constant [25 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

; 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
declare dso_local ptr @nid_type_desc(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @network_err(ptr noundef, ptr noundef, ...) #2

; Function Attrs: nounwind uwtable
declare dso_local ptr @nid_lookup(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2

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

17:                                               ; preds = %3
  br label %19

18:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.2, i32 noundef 1785, ptr noundef @__PRETTY_FUNCTION__.hub_create) #4
  unreachable

19:                                               ; preds = %17
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = icmp ne ptr %20, null
  br i1 %21, label %22, label %23

22:                                               ; preds = %19
  br label %24

23:                                               ; preds = %19
  call void @__assert_fail(ptr noundef @.str.146, ptr noundef @.str.2, i32 noundef 1786, ptr noundef @__PRETTY_FUNCTION__.hub_create) #4
  unreachable

24:                                               ; preds = %22
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.network, ptr %25, i32 0, i32 1
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = call ptr @nid_lookup(ptr noundef %26, ptr noundef %27, i32 noundef -1, i32 noundef -1)
  store ptr %28, ptr %8, align 8, !tbaa !5
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  %30 = icmp ne ptr %29, null
  br i1 %30, label %31, label %37

31:                                               ; preds = %24
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = load ptr, ptr %8, align 8, !tbaa !5
  %35 = call ptr @nid_type_desc(ptr noundef %34)
  %36 = call i32 (ptr, ptr, ...) @network_err(ptr noundef %32, ptr noundef @.str.147, ptr noundef %33, ptr noundef %35)
  store i32 %36, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %94

37:                                               ; preds = %24
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = call ptr @nid_create(ptr noundef %38, i32 noundef -1)
  store ptr %39, ptr %8, align 8, !tbaa !5
  br label %40

40:                                               ; preds = %37
  %41 = load ptr, ptr %8, align 8, !tbaa !5
  %42 = icmp ne ptr %41, null
  br i1 %42, label %43, label %44

43:                                               ; preds = %40
  br label %45

44:                                               ; preds = %40
  call void @__assert_fail(ptr noundef @.str.132, ptr noundef @.str.2, i32 noundef 1794, ptr noundef @__PRETTY_FUNCTION__.hub_create) #4
  unreachable

45:                                               ; preds = %43
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.nid, ptr %46, i32 0, i32 0
  %48 = load i64, ptr %47, align 8, !tbaa !17
  %49 = icmp eq i64 %48, 1805988336
  br i1 %49, label %50, label %51

50:                                               ; preds = %45
  br label %52

51:                                               ; preds = %45
  call void @__assert_fail(ptr noundef @.str.133, ptr noundef @.str.2, i32 noundef 1794, ptr noundef @__PRETTY_FUNCTION__.hub_create) #4
  unreachable

52:                                               ; preds = %50
  br label %53

53:                                               ; preds = %52
  br label %54

54:                                               ; preds = %53
  %55 = call ptr @hub_alloc()
  store ptr %55, ptr %9, align 8, !tbaa !5
  %56 = load ptr, ptr %8, align 8, !tbaa !5
  %57 = load ptr, ptr %9, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.hub, ptr %57, i32 0, i32 1
  store ptr %56, ptr %58, align 8, !tbaa !20
  %59 = load ptr, ptr %8, align 8, !tbaa !5
  call void @nid_type_set(ptr noundef %59, i32 noundef 3)
  %60 = load ptr, ptr %8, align 8, !tbaa !5
  %61 = load ptr, ptr %9, align 8, !tbaa !5
  call void @nid_obj_set(ptr noundef %60, ptr noundef %61)
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.network, ptr %62, i32 0, i32 1
  %64 = load ptr, ptr %8, align 8, !tbaa !5
  call void @nid_register(ptr noundef %63, ptr noundef %64)
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %65

65:                                               ; preds = %87, %54
  %66 = load i32, ptr %11, align 4, !tbaa !9
  %67 = icmp slt i32 %66, 8
  br i1 %67, label %68, label %90

68:                                               ; preds = %65
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = load i32, ptr %11, align 4, !tbaa !9
  %72 = call ptr @iface_create(ptr noundef %69, ptr noundef %70, i32 noundef %71)
  store ptr %72, ptr %10, align 8, !tbaa !5
  %73 = load ptr, ptr %10, align 8, !tbaa !5
  %74 = icmp eq ptr %73, null
  br i1 %74, label %75, label %78

75:                                               ; preds = %68
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  %77 = call i32 (ptr, ptr, ...) @network_err(ptr noundef %76, ptr noundef @.str.130)
  store i32 %77, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %94

78:                                               ; preds = %68
  %79 = load ptr, ptr %10, align 8, !tbaa !5
  %80 = load ptr, ptr %8, align 8, !tbaa !5
  call void @iface_owner_set(ptr noundef %79, ptr noundef %80)
  %81 = load ptr, ptr %10, align 8, !tbaa !5
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.hub, ptr %82, i32 0, i32 2
  %84 = load i32, ptr %11, align 4, !tbaa !9
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [8 x ptr], ptr %83, i64 0, i64 %85
  store ptr %81, ptr %86, align 8, !tbaa !5
  br label %87

87:                                               ; preds = %78
  %88 = load i32, ptr %11, align 4, !tbaa !9
  %89 = add nsw i32 %88, 1
  store i32 %89, ptr %11, align 4, !tbaa !9
  br label %65, !llvm.loop !22

90:                                               ; preds = %65
  %91 = load i32, ptr %7, align 4, !tbaa !9
  %92 = load ptr, ptr %9, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.hub, ptr %92, i32 0, i32 4
  store i32 %91, ptr %93, align 4, !tbaa !24
  store i32 0, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %94

94:                                               ; preds = %90, %75, %31
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  %95 = load i32, ptr %4, align 4
  ret i32 %95
}

; Function Attrs: nounwind uwtable
declare dso_local ptr @nid_create(ptr noundef, i32 noundef) #2

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

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @iface_create(ptr noundef, ptr noundef, i32 noundef) #2

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

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @hub_alloc() #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #3 = { nounwind }
attributes #4 = { 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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"network", !13, i64 0, !14, i64 8, !15, i64 24, !16, i64 40, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !6, i64 72, !6, i64 80, !7, i64 88}
!13 = !{!"long", !7, i64 0}
!14 = !{!"nids", !6, i64 0, !6, i64 8}
!15 = !{!"connlist", !6, i64 0, !6, i64 8}
!16 = !{!"arptable", !6, i64 0, !6, i64 8}
!17 = !{!18, !13, i64 0}
!18 = !{!"nid", !13, i64 0, !7, i64 8, !10, i64 72, !10, i64 76, !6, i64 80, !19, i64 88}
!19 = !{!"", !6, i64 0, !6, i64 8}
!20 = !{!21, !6, i64 8}
!21 = !{!"hub", !13, i64 0, !6, i64 8, !7, i64 16, !10, i64 80, !10, i64 84, !19, i64 88}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!21, !10, i64 84}


; 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.6 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.132 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.133 = external hidden unnamed_addr constant [31 x i8], align 1
@__PRETTY_FUNCTION__.hub_create = external hidden unnamed_addr constant [59 x i8], align 1
@.str.146 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.147 = external hidden unnamed_addr constant [25 x i8], align 1

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @nid_type_desc(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @network_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @nid_lookup(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local i32 @hub_create(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #1 {
  %4 = load i64, ptr %0, align 8, !tbaa !5
  %5 = icmp eq i64 %4, 473585002
  br i1 %5, label %7, label %6

6:                                                ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.2, i32 noundef 1785, ptr noundef nonnull @__PRETTY_FUNCTION__.hub_create) #2
  unreachable

7:                                                ; preds = %3
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %8, label %9

8:                                                ; preds = %7
  tail call void @__assert_fail(ptr noundef nonnull @.str.146, ptr noundef nonnull @.str.2, i32 noundef 1786, ptr noundef nonnull @__PRETTY_FUNCTION__.hub_create) #2
  unreachable

9:                                                ; preds = %7
  %10 = getelementptr inbounds i8, ptr %0, i64 8
  %11 = tail call ptr @nid_lookup(ptr noundef nonnull %10, ptr noundef nonnull %1, i32 noundef -1, i32 noundef -1)
  %.not37 = icmp eq ptr %11, null
  br i1 %.not37, label %15, label %12

12:                                               ; preds = %9
  %13 = tail call ptr @nid_type_desc(ptr noundef nonnull %11)
  %14 = tail call i32 (ptr, ptr, ...) @network_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.147, ptr noundef nonnull %1, ptr noundef %13)
  br label %60

15:                                               ; preds = %9
  %16 = tail call ptr @nid_create(ptr noundef nonnull %1, i32 noundef -1)
  %.not38 = icmp eq ptr %16, null
  br i1 %.not38, label %17, label %18

17:                                               ; preds = %15
  tail call void @__assert_fail(ptr noundef nonnull @.str.132, ptr noundef nonnull @.str.2, i32 noundef 1794, ptr noundef nonnull @__PRETTY_FUNCTION__.hub_create) #2
  unreachable

18:                                               ; preds = %15
  %19 = load i64, ptr %16, align 8, !tbaa !15
  %20 = icmp eq i64 %19, 1805988336
  br i1 %20, label %22, label %21

21:                                               ; preds = %18
  tail call void @__assert_fail(ptr noundef nonnull @.str.133, ptr noundef nonnull @.str.2, i32 noundef 1794, ptr noundef nonnull @__PRETTY_FUNCTION__.hub_create) #2
  unreachable

22:                                               ; preds = %18
  %23 = tail call ptr @hub_alloc()
  %24 = getelementptr inbounds i8, ptr %23, i64 8
  store ptr %16, ptr %24, align 8, !tbaa !18
  tail call void @nid_type_set(ptr noundef nonnull %16, i32 noundef 3)
  tail call void @nid_obj_set(ptr noundef nonnull %16, ptr noundef %23)
  tail call void @nid_register(ptr noundef nonnull %10, ptr noundef nonnull %16)
  %25 = tail call ptr @iface_create(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef 0)
  %26 = icmp eq ptr %25, null
  br i1 %26, label %27, label %29

27:                                               ; preds = %53, %49, %45, %41, %37, %33, %29, %22
  %28 = tail call i32 (ptr, ptr, ...) @network_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.130)
  br label %60

29:                                               ; preds = %22
  %30 = getelementptr inbounds i8, ptr %23, i64 16
  tail call void @iface_owner_set(ptr noundef nonnull %25, ptr noundef nonnull %16)
  store ptr %25, ptr %30, align 8, !tbaa !20
  %31 = tail call ptr @iface_create(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef 1)
  %32 = icmp eq ptr %31, null
  br i1 %32, label %27, label %33

33:                                               ; preds = %29
  tail call void @iface_owner_set(ptr noundef nonnull %31, ptr noundef nonnull %16)
  %34 = getelementptr inbounds i8, ptr %23, i64 24
  store ptr %31, ptr %34, align 8, !tbaa !20
  %35 = tail call ptr @iface_create(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef 2)
  %36 = icmp eq ptr %35, null
  br i1 %36, label %27, label %37

37:                                               ; preds = %33
  tail call void @iface_owner_set(ptr noundef nonnull %35, ptr noundef nonnull %16)
  %38 = getelementptr inbounds i8, ptr %23, i64 32
  store ptr %35, ptr %38, align 8, !tbaa !20
  %39 = tail call ptr @iface_create(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef 3)
  %40 = icmp eq ptr %39, null
  br i1 %40, label %27, label %41

41:                                               ; preds = %37
  tail call void @iface_owner_set(ptr noundef nonnull %39, ptr noundef nonnull %16)
  %42 = getelementptr inbounds i8, ptr %23, i64 40
  store ptr %39, ptr %42, align 8, !tbaa !20
  %43 = tail call ptr @iface_create(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef 4)
  %44 = icmp eq ptr %43, null
  br i1 %44, label %27, label %45

45:                                               ; preds = %41
  tail call void @iface_owner_set(ptr noundef nonnull %43, ptr noundef nonnull %16)
  %46 = getelementptr inbounds i8, ptr %23, i64 48
  store ptr %43, ptr %46, align 8, !tbaa !20
  %47 = tail call ptr @iface_create(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef 5)
  %48 = icmp eq ptr %47, null
  br i1 %48, label %27, label %49

49:                                               ; preds = %45
  tail call void @iface_owner_set(ptr noundef nonnull %47, ptr noundef nonnull %16)
  %50 = getelementptr inbounds i8, ptr %23, i64 56
  store ptr %47, ptr %50, align 8, !tbaa !20
  %51 = tail call ptr @iface_create(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef 6)
  %52 = icmp eq ptr %51, null
  br i1 %52, label %27, label %53

53:                                               ; preds = %49
  tail call void @iface_owner_set(ptr noundef nonnull %51, ptr noundef nonnull %16)
  %54 = getelementptr inbounds i8, ptr %23, i64 64
  store ptr %51, ptr %54, align 8, !tbaa !20
  %55 = tail call ptr @iface_create(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef 7)
  %56 = icmp eq ptr %55, null
  br i1 %56, label %27, label %57

57:                                               ; preds = %53
  tail call void @iface_owner_set(ptr noundef nonnull %55, ptr noundef nonnull %16)
  %58 = getelementptr inbounds i8, ptr %23, i64 72
  store ptr %55, ptr %58, align 8, !tbaa !20
  %59 = getelementptr inbounds i8, ptr %23, i64 84
  store i32 %2, ptr %59, align 4, !tbaa !21
  br label %60

60:                                               ; preds = %57, %27, %12
  %.032 = phi i32 [ %14, %12 ], [ %28, %27 ], [ 0, %57 ]
  ret i32 %.032
}

; Function Attrs: nounwind uwtable
declare dso_local ptr @nid_create(ptr noundef, i32 noundef) local_unnamed_addr #1

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

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @iface_create(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

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

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @hub_alloc() local_unnamed_addr #1

attributes #0 = { 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 #1 = { 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 #2 = { 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, !7, i64 0}
!6 = !{!"network", !7, i64 0, !10, i64 8, !12, i64 24, !13, i64 40, !14, i64 56, !14, i64 60, !14, i64 64, !14, i64 68, !11, i64 72, !11, i64 80, !8, i64 88}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"nids", !11, i64 0, !11, i64 8}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"connlist", !11, i64 0, !11, i64 8}
!13 = !{!"arptable", !11, i64 0, !11, i64 8}
!14 = !{!"int", !8, i64 0}
!15 = !{!16, !7, i64 0}
!16 = !{!"nid", !7, i64 0, !8, i64 8, !14, i64 72, !14, i64 76, !11, i64 80, !17, i64 88}
!17 = !{!"", !11, i64 0, !11, i64 8}
!18 = !{!19, !11, i64 8}
!19 = !{!"hub", !7, i64 0, !11, i64 8, !8, i64 16, !14, i64 80, !14, i64 84, !17, i64 88}
!20 = !{!11, !11, i64 0}
!21 = !{!19, !14, i64 84}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,SROAPass,SimplifyCFGPass,TailCallElimPass