; LLVM IR from thalium/icebox :: third_party/virtualbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal (TcpSynBuildOption)

; 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.NET_BUF = type { i32, i64, %struct._LIST_ENTRY, %union.NET_IP_HEAD, ptr, ptr, [64 x i8], ptr, i32, i32, [1 x %struct.NET_BLOCK_OP] }
%struct._LIST_ENTRY = type { ptr, ptr }
%union.NET_IP_HEAD = type { ptr }
%struct.NET_BLOCK_OP = type { ptr, ptr, ptr, ptr, i32 }
%struct._TCP_CB = type { %struct._LIST_ENTRY, ptr, ptr, %struct._TCP_PEER, %struct._TCP_PEER, %struct._LIST_ENTRY, %struct._LIST_ENTRY, i32, i32, i8, i8, i16, i32, i32, i32, i32, i32, i32, i32, i32, i32, i16, i32, i32, i32, i32, i32, i16, i16, [6 x i32], i32, i32, i32, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i16, i8, i8, i32, i32, i32, i8, i8, i16, i32, i32, i32, i8, i8, i8, %struct.EFI_IPv4_ADDRESS, ptr }
%struct._TCP_PEER = type { i32, i16 }
%struct.EFI_IPv4_ADDRESS = type { [4 x i8] }
%struct._TCP_SEG = type { i32, i32, i32, i8, i16, i32 }

@.str = external hidden unnamed_addr constant [153 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [21 x i8], align 1
@mTcpTick = external global i32, align 4

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

; 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 void @TcpPutUint32(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local zeroext i8 @TcpComputeScale(ptr noundef) #1

declare zeroext i8 @DebugAssertEnabled() #2

declare void @DebugAssert(ptr noundef, i64 noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local zeroext i16 @TcpSynBuildOption(ptr noundef %0, ptr noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i16, align 2
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr %6) #3
  br label %7

7:                                                ; preds = %2
  %8 = call zeroext i8 @DebugAssertEnabled()
  %9 = icmp ne i8 %8, 0
  br i1 %9, label %10, label %23

10:                                               ; preds = %7
  %11 = load ptr, ptr %3, align 8, !tbaa !5
  %12 = icmp ne ptr %11, null
  br i1 %12, label %13, label %21

13:                                               ; preds = %10
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = icmp ne ptr %14, null
  br i1 %15, label %16, label %21

16:                                               ; preds = %13
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.NET_BUF, ptr %17, i32 0, i32 4
  %19 = load ptr, ptr %18, align 8, !tbaa !9
  %20 = icmp eq ptr %19, null
  br i1 %20, label %22, label %21

21:                                               ; preds = %16, %13, %10
  call void @DebugAssert(ptr noundef @.str, i64 noundef 120, ptr noundef @.str.2)
  br label %22

22:                                               ; preds = %21, %16
  br label %23

23:                                               ; preds = %22, %7
  br label %24

24:                                               ; preds = %23
  br label %25

25:                                               ; preds = %24
  store i16 0, ptr %6, align 2, !tbaa !14
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct._TCP_CB, ptr %26, i32 0, i32 7
  %28 = load i32, ptr %27, align 8, !tbaa !16
  %29 = and i32 %28, 16
  %30 = icmp ne i32 %29, 0
  %31 = zext i1 %30 to i32
  %32 = trunc i32 %31 to i8
  %33 = icmp ne i8 %32, 0
  br i1 %33, label %80, label %34

34:                                               ; preds = %25
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.NET_BUF, ptr %35, i32 0, i32 6
  %37 = getelementptr inbounds [64 x i8], ptr %36, i64 0, i64 0
  %38 = getelementptr inbounds %struct._TCP_SEG, ptr %37, i32 0, i32 3
  %39 = load i8, ptr %38, align 4, !tbaa !20
  %40 = zext i8 %39 to i32
  %41 = and i32 %40, 16
  %42 = icmp ne i32 %41, 0
  %43 = zext i1 %42 to i32
  %44 = trunc i32 %43 to i8
  %45 = icmp ne i8 %44, 0
  br i1 %45, label %46, label %56

46:                                               ; preds = %34
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct._TCP_CB, ptr %47, i32 0, i32 7
  %49 = load i32, ptr %48, align 8, !tbaa !16
  %50 = and i32 %49, 32
  %51 = icmp ne i32 %50, 0
  %52 = zext i1 %51 to i32
  %53 = trunc i32 %52 to i8
  %54 = zext i8 %53 to i32
  %55 = icmp ne i32 %54, 0
  br i1 %55, label %56, label %80

56:                                               ; preds = %46, %34
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = call ptr @NetbufAllocSpace(ptr noundef %57, i32 noundef 12, i8 noundef zeroext 1)
  store ptr %58, ptr %5, align 8, !tbaa !5
  br label %59

59:                                               ; preds = %56
  %60 = call zeroext i8 @DebugAssertEnabled()
  %61 = icmp ne i8 %60, 0
  br i1 %61, label %62, label %67

62:                                               ; preds = %59
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = icmp ne ptr %63, null
  br i1 %64, label %66, label %65

65:                                               ; preds = %62
  call void @DebugAssert(ptr noundef @.str, i64 noundef 139, ptr noundef @.str.3)
  br label %66

66:                                               ; preds = %65, %62
  br label %67

67:                                               ; preds = %66, %59
  br label %68

68:                                               ; preds = %67
  br label %69

69:                                               ; preds = %68
  %70 = load i16, ptr %6, align 2, !tbaa !14
  %71 = zext i16 %70 to i32
  %72 = add nsw i32 %71, 12
  %73 = trunc i32 %72 to i16
  store i16 %73, ptr %6, align 2, !tbaa !14
  %74 = load ptr, ptr %5, align 8, !tbaa !5
  call void @TcpPutUint32(ptr noundef %74, i32 noundef 16844810)
  %75 = load ptr, ptr %5, align 8, !tbaa !5
  %76 = getelementptr inbounds i8, ptr %75, i64 4
  %77 = load i32, ptr @mTcpTick, align 4, !tbaa !22
  call void @TcpPutUint32(ptr noundef %76, i32 noundef %77)
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = getelementptr inbounds i8, ptr %78, i64 8
  call void @TcpPutUint32(ptr noundef %79, i32 noundef 0)
  br label %80

80:                                               ; preds = %69, %46, %25
  %81 = load ptr, ptr %3, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct._TCP_CB, ptr %81, i32 0, i32 7
  %83 = load i32, ptr %82, align 8, !tbaa !16
  %84 = and i32 %83, 4
  %85 = icmp ne i32 %84, 0
  %86 = zext i1 %85 to i32
  %87 = trunc i32 %86 to i8
  %88 = icmp ne i8 %87, 0
  br i1 %88, label %134, label %89

89:                                               ; preds = %80
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.NET_BUF, ptr %90, i32 0, i32 6
  %92 = getelementptr inbounds [64 x i8], ptr %91, i64 0, i64 0
  %93 = getelementptr inbounds %struct._TCP_SEG, ptr %92, i32 0, i32 3
  %94 = load i8, ptr %93, align 4, !tbaa !20
  %95 = zext i8 %94 to i32
  %96 = and i32 %95, 16
  %97 = icmp ne i32 %96, 0
  %98 = zext i1 %97 to i32
  %99 = trunc i32 %98 to i8
  %100 = icmp ne i8 %99, 0
  br i1 %100, label %101, label %111

101:                                              ; preds = %89
  %102 = load ptr, ptr %3, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct._TCP_CB, ptr %102, i32 0, i32 7
  %104 = load i32, ptr %103, align 8, !tbaa !16
  %105 = and i32 %104, 8
  %106 = icmp ne i32 %105, 0
  %107 = zext i1 %106 to i32
  %108 = trunc i32 %107 to i8
  %109 = zext i8 %108 to i32
  %110 = icmp ne i32 %109, 0
  br i1 %110, label %111, label %134

111:                                              ; preds = %101, %89
  %112 = load ptr, ptr %4, align 8, !tbaa !5
  %113 = call ptr @NetbufAllocSpace(ptr noundef %112, i32 noundef 4, i8 noundef zeroext 1)
  store ptr %113, ptr %5, align 8, !tbaa !5
  br label %114

114:                                              ; preds = %111
  %115 = call zeroext i8 @DebugAssertEnabled()
  %116 = icmp ne i8 %115, 0
  br i1 %116, label %117, label %122

117:                                              ; preds = %114
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  %119 = icmp ne ptr %118, null
  br i1 %119, label %121, label %120

120:                                              ; preds = %117
  call void @DebugAssert(ptr noundef @.str, i64 noundef 162, ptr noundef @.str.3)
  br label %121

121:                                              ; preds = %120, %117
  br label %122

122:                                              ; preds = %121, %114
  br label %123

123:                                              ; preds = %122
  br label %124

124:                                              ; preds = %123
  %125 = load i16, ptr %6, align 2, !tbaa !14
  %126 = zext i16 %125 to i32
  %127 = add nsw i32 %126, 4
  %128 = trunc i32 %127 to i16
  store i16 %128, ptr %6, align 2, !tbaa !14
  %129 = load ptr, ptr %5, align 8, !tbaa !5
  %130 = load ptr, ptr %3, align 8, !tbaa !5
  %131 = call zeroext i8 @TcpComputeScale(ptr noundef %130)
  %132 = zext i8 %131 to i32
  %133 = or i32 16974592, %132
  call void @TcpPutUint32(ptr noundef %129, i32 noundef %133)
  br label %134

134:                                              ; preds = %124, %101, %80
  %135 = load ptr, ptr %4, align 8, !tbaa !5
  %136 = call ptr @NetbufAllocSpace(ptr noundef %135, i32 noundef 4, i8 noundef zeroext 1)
  store ptr %136, ptr %5, align 8, !tbaa !5
  br label %137

137:                                              ; preds = %134
  %138 = call zeroext i8 @DebugAssertEnabled()
  %139 = icmp ne i8 %138, 0
  br i1 %139, label %140, label %145

140:                                              ; preds = %137
  %141 = load ptr, ptr %5, align 8, !tbaa !5
  %142 = icmp ne ptr %141, null
  br i1 %142, label %144, label %143

143:                                              ; preds = %140
  call void @DebugAssert(ptr noundef @.str, i64 noundef 172, ptr noundef @.str.3)
  br label %144

144:                                              ; preds = %143, %140
  br label %145

145:                                              ; preds = %144, %137
  br label %146

146:                                              ; preds = %145
  br label %147

147:                                              ; preds = %146
  %148 = load i16, ptr %6, align 2, !tbaa !14
  %149 = zext i16 %148 to i32
  %150 = add nsw i32 %149, 4
  %151 = trunc i32 %150 to i16
  store i16 %151, ptr %6, align 2, !tbaa !14
  %152 = load ptr, ptr %5, align 8, !tbaa !5
  %153 = load ptr, ptr %3, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct._TCP_CB, ptr %153, i32 0, i32 27
  %155 = load i16, ptr %154, align 8, !tbaa !23
  %156 = zext i16 %155 to i32
  %157 = or i32 33816576, %156
  call void @TcpPutUint32(ptr noundef %152, i32 noundef %157)
  %158 = load i16, ptr %6, align 2, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 2, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  ret i16 %158
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "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 }

!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, !6, i64 40}
!10 = !{!"", !11, i64 0, !12, i64 8, !13, i64 16, !7, i64 32, !6, i64 40, !6, i64 48, !7, i64 56, !6, i64 120, !11, i64 128, !11, i64 132, !7, i64 136}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long long", !7, i64 0}
!13 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!14 = !{!15, !15, i64 0}
!15 = !{!"short", !7, i64 0}
!16 = !{!17, !11, i64 80}
!17 = !{!"_TCP_CB", !13, i64 0, !6, i64 16, !6, i64 24, !18, i64 32, !18, i64 40, !13, i64 48, !13, i64 64, !11, i64 80, !11, i64 84, !7, i64 88, !7, i64 89, !15, i64 90, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !15, i64 128, !11, i64 132, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !15, i64 152, !15, i64 154, !7, i64 156, !11, i64 180, !11, i64 184, !11, i64 188, !7, i64 192, !7, i64 193, !7, i64 194, !11, i64 196, !11, i64 200, !11, i64 204, !11, i64 208, !11, i64 212, !11, i64 216, !11, i64 220, !11, i64 224, !11, i64 228, !11, i64 232, !15, i64 236, !7, i64 238, !7, i64 239, !11, i64 240, !11, i64 244, !11, i64 248, !7, i64 252, !7, i64 253, !15, i64 254, !11, i64 256, !11, i64 260, !11, i64 264, !7, i64 268, !7, i64 269, !7, i64 270, !19, i64 271, !6, i64 280}
!18 = !{!"_TCP_PEER", !11, i64 0, !15, i64 4}
!19 = !{!"", !7, i64 0}
!20 = !{!21, !7, i64 12}
!21 = !{!"_TCP_SEG", !11, i64 0, !11, i64 4, !11, i64 8, !7, i64 12, !15, i64 14, !11, i64 16}
!22 = !{!11, !11, i64 0}
!23 = !{!17, !15, i64 152}


; 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 [153 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [21 x i8], align 1
@mTcpTick = external local_unnamed_addr global i32, align 4

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

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

declare zeroext i8 @DebugAssertEnabled() local_unnamed_addr #1

declare void @DebugAssert(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local zeroext range(i16 4, 21) i16 @TcpSynBuildOption(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = tail call zeroext i8 @DebugAssertEnabled() #2
  %.not = icmp eq i8 %3, 0
  br i1 %.not, label %12, label %4

4:                                                ; preds = %2
  %5 = icmp ne ptr %0, null
  %6 = icmp ne ptr %1, null
  %or.cond = and i1 %5, %6
  br i1 %or.cond, label %7, label %11

7:                                                ; preds = %4
  %8 = getelementptr inbounds i8, ptr %1, i64 40
  %9 = load ptr, ptr %8, align 8, !tbaa !5
  %10 = icmp eq ptr %9, null
  br i1 %10, label %12, label %11

11:                                               ; preds = %7, %4
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 120, ptr noundef nonnull @.str.2) #2
  br label %12

12:                                               ; preds = %7, %11, %2
  %13 = getelementptr inbounds i8, ptr %0, i64 80
  %14 = load i32, ptr %13, align 8, !tbaa !13
  %15 = and i32 %14, 16
  %.not33 = icmp eq i32 %15, 0
  br i1 %.not33, label %16, label %31

16:                                               ; preds = %12
  %17 = getelementptr inbounds i8, ptr %1, i64 68
  %18 = load i8, ptr %17, align 4, !tbaa !18
  %19 = and i8 %18, 16
  %.not34 = icmp ne i8 %19, 0
  %20 = and i32 %14, 32
  %.not35 = icmp eq i32 %20, 0
  %or.cond39 = and i1 %.not35, %.not34
  br i1 %or.cond39, label %31, label %21

21:                                               ; preds = %16
  %22 = tail call ptr @NetbufAllocSpace(ptr noundef nonnull %1, i32 noundef 12, i8 noundef zeroext 1) #2
  %23 = tail call zeroext i8 @DebugAssertEnabled() #2
  %24 = icmp eq i8 %23, 0
  %25 = icmp ne ptr %22, null
  %or.cond3 = select i1 %24, i1 true, i1 %25
  br i1 %or.cond3, label %27, label %26

26:                                               ; preds = %21
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 139, ptr noundef nonnull @.str.3) #2
  br label %27

27:                                               ; preds = %26, %21
  tail call void @TcpPutUint32(ptr noundef %22, i32 noundef 16844810)
  %28 = getelementptr inbounds i8, ptr %22, i64 4
  %29 = load i32, ptr @mTcpTick, align 4, !tbaa !20
  tail call void @TcpPutUint32(ptr noundef nonnull %28, i32 noundef %29)
  %30 = getelementptr inbounds i8, ptr %22, i64 8
  tail call void @TcpPutUint32(ptr noundef nonnull %30, i32 noundef 0)
  %.pre = load i32, ptr %13, align 8, !tbaa !13
  br label %31

31:                                               ; preds = %16, %27, %12
  %32 = phi i32 [ %14, %12 ], [ %.pre, %27 ], [ %14, %16 ]
  %.0 = phi i16 [ 0, %12 ], [ 12, %27 ], [ 0, %16 ]
  %33 = and i32 %32, 4
  %.not36 = icmp eq i32 %33, 0
  br i1 %.not36, label %34, label %49

34:                                               ; preds = %31
  %35 = getelementptr inbounds i8, ptr %1, i64 68
  %36 = load i8, ptr %35, align 4, !tbaa !18
  %37 = and i8 %36, 16
  %.not37 = icmp ne i8 %37, 0
  %38 = and i32 %32, 8
  %.not38 = icmp eq i32 %38, 0
  %or.cond40 = and i1 %.not38, %.not37
  br i1 %or.cond40, label %49, label %39

39:                                               ; preds = %34
  %40 = tail call ptr @NetbufAllocSpace(ptr noundef nonnull %1, i32 noundef 4, i8 noundef zeroext 1) #2
  %41 = tail call zeroext i8 @DebugAssertEnabled() #2
  %42 = icmp eq i8 %41, 0
  %43 = icmp ne ptr %40, null
  %or.cond5 = select i1 %42, i1 true, i1 %43
  br i1 %or.cond5, label %45, label %44

44:                                               ; preds = %39
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 162, ptr noundef nonnull @.str.3) #2
  br label %45

45:                                               ; preds = %44, %39
  %narrow = add nuw nsw i16 %.0, 4
  %46 = tail call zeroext i8 @TcpComputeScale(ptr noundef nonnull %0)
  %47 = zext i8 %46 to i32
  %48 = or disjoint i32 %47, 16974592
  tail call void @TcpPutUint32(ptr noundef %40, i32 noundef %48)
  br label %49

49:                                               ; preds = %34, %45, %31
  %.1 = phi i16 [ %.0, %31 ], [ %narrow, %45 ], [ %.0, %34 ]
  %50 = tail call ptr @NetbufAllocSpace(ptr noundef %1, i32 noundef 4, i8 noundef zeroext 1) #2
  %51 = tail call zeroext i8 @DebugAssertEnabled() #2
  %52 = icmp eq i8 %51, 0
  %53 = icmp ne ptr %50, null
  %or.cond7 = select i1 %52, i1 true, i1 %53
  br i1 %or.cond7, label %55, label %54

54:                                               ; preds = %49
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 172, ptr noundef nonnull @.str.3) #2
  br label %55

55:                                               ; preds = %54, %49
  %56 = add nuw nsw i16 %.1, 4
  %57 = getelementptr inbounds i8, ptr %0, i64 152
  %58 = load i16, ptr %57, align 8, !tbaa !21
  %59 = zext i16 %58 to i32
  %60 = or disjoint i32 %59, 33816576
  tail call void @TcpPutUint32(ptr noundef %50, i32 noundef %60)
  ret i16 %56
}

declare ptr @NetbufAllocSpace(ptr noundef, i32 noundef, i8 noundef zeroext) 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 = { "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 }

!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, !12, i64 40}
!6 = !{!"", !7, i64 0, !10, i64 8, !11, i64 16, !8, i64 32, !12, i64 40, !12, i64 48, !8, i64 56, !12, i64 120, !7, i64 128, !7, i64 132, !8, i64 136}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long long", !8, i64 0}
!11 = !{!"_LIST_ENTRY", !12, i64 0, !12, i64 8}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 80}
!14 = !{!"_TCP_CB", !11, i64 0, !12, i64 16, !12, i64 24, !15, i64 32, !15, i64 40, !11, i64 48, !11, i64 64, !7, i64 80, !7, i64 84, !8, i64 88, !8, i64 89, !16, i64 90, !7, i64 92, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !16, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144, !7, i64 148, !16, i64 152, !16, i64 154, !8, i64 156, !7, i64 180, !7, i64 184, !7, i64 188, !8, i64 192, !8, i64 193, !8, i64 194, !7, i64 196, !7, i64 200, !7, i64 204, !7, i64 208, !7, i64 212, !7, i64 216, !7, i64 220, !7, i64 224, !7, i64 228, !7, i64 232, !16, i64 236, !8, i64 238, !8, i64 239, !7, i64 240, !7, i64 244, !7, i64 248, !8, i64 252, !8, i64 253, !16, i64 254, !7, i64 256, !7, i64 260, !7, i64 264, !8, i64 268, !8, i64 269, !8, i64 270, !17, i64 271, !12, i64 280}
!15 = !{!"_TCP_PEER", !7, i64 0, !16, i64 4}
!16 = !{!"short", !8, i64 0}
!17 = !{!"", !8, i64 0}
!18 = !{!19, !8, i64 12}
!19 = !{!"_TCP_SEG", !7, i64 0, !7, i64 4, !7, i64 8, !8, i64 12, !16, i64 14, !7, i64 16}
!20 = !{!7, !7, i64 0}
!21 = !{!14, !16, i64 152}


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