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

; 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._SOCKET = type { i32, ptr, ptr, ptr, ptr, %struct._LIST_ENTRY, i8, i32, i8, i16, %struct.EFI_LOCK, %struct._SOCK_BUFFER, %struct._SOCK_BUFFER, i64, i8, i32, i32, ptr, %struct._LIST_ENTRY, %struct._LIST_ENTRY, %struct._LIST_ENTRY, %struct._LIST_ENTRY, %struct._LIST_ENTRY, ptr, ptr, ptr, [20 x i8], %union._NET_PROTOCOL, ptr, ptr, ptr }
%struct.EFI_LOCK = type { i64, i64, i32 }
%struct._SOCK_BUFFER = type { i32, i32, ptr }
%struct._LIST_ENTRY = type { ptr, ptr }
%union._NET_PROTOCOL = type { %struct._EFI_TCP4_PROTOCOL }
%struct._EFI_TCP4_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct._SOCK_TOKEN = type { %struct._LIST_ENTRY, ptr, i32, ptr }
%struct._SOCK_IO_TOKEN = type { %struct._SOCK_COMPLETION_TOKEN, %union.SOCK_IO_DATA }
%struct._SOCK_COMPLETION_TOKEN = type { ptr, i64 }
%union.SOCK_IO_DATA = type { ptr }
%struct.EFI_TCP4_TRANSMIT_DATA = type { i8, i8, i32, i32, [1 x %struct.EFI_TCP4_FRAGMENT_DATA] }
%struct.EFI_TCP4_FRAGMENT_DATA = type { i32, ptr }
%struct.EFI_BOOT_SERVICES = type { %struct.EFI_TABLE_HEADER, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.EFI_TABLE_HEADER = type { i64, i32, i32, i32, i32 }

@.str = external hidden unnamed_addr constant [151 x i8], align 1
@gBS = external global ptr, align 8
@.str.13 = external hidden unnamed_addr constant [53 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

declare zeroext i8 @DebugAssertEnabled() #1

declare void @DebugAssert(ptr noundef, i64 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 i64 @SockProcessTcpSndData(ptr noundef, ptr noundef) #2

declare zeroext i8 @IsListEmpty(ptr noundef) #1

declare ptr @RemoveEntryList(ptr noundef) #1

declare void @FreePool(ptr noundef) #1

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

10:                                               ; preds = %1
  %11 = call zeroext i8 @DebugAssertEnabled()
  %12 = icmp ne i8 %11, 0
  br i1 %12, label %13, label %23

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

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

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

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

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

24:                                               ; preds = %23
  br label %25

25:                                               ; preds = %24
  %26 = load ptr, ptr %2, align 8, !tbaa !5
  %27 = call i32 @SockGetFreeSpace(ptr noundef %26, i32 noundef 0)
  store i32 %27, ptr %3, align 4, !tbaa !17
  br label %28

28:                                               ; preds = %83, %25
  %29 = load i32, ptr %3, align 4, !tbaa !17
  %30 = load ptr, ptr %2, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct._SOCKET, ptr %30, i32 0, i32 11
  %32 = getelementptr inbounds %struct._SOCK_BUFFER, ptr %31, i32 0, i32 1
  %33 = load i32, ptr %32, align 4, !tbaa !18
  %34 = icmp uge i32 %29, %33
  br i1 %34, label %35, label %41

35:                                               ; preds = %28
  %36 = load ptr, ptr %2, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct._SOCKET, ptr %36, i32 0, i32 21
  %38 = call zeroext i8 @IsListEmpty(ptr noundef %37)
  %39 = icmp ne i8 %38, 0
  %40 = xor i1 %39, true
  br label %41

41:                                               ; preds = %35, %28
  %42 = phi i1 [ false, %28 ], [ %40, %35 ]
  br i1 %42, label %43, label %84

43:                                               ; preds = %41
  %44 = load ptr, ptr %2, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct._SOCKET, ptr %44, i32 0, i32 21
  %46 = getelementptr inbounds %struct._LIST_ENTRY, ptr %45, i32 0, i32 0
  %47 = load ptr, ptr %46, align 8, !tbaa !19
  %48 = ptrtoint ptr %47 to i64
  %49 = sub i64 %48, 0
  %50 = inttoptr i64 %49 to ptr
  store ptr %50, ptr %4, align 8, !tbaa !5
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct._SOCK_TOKEN, ptr %51, i32 0, i32 0
  %53 = call ptr @RemoveEntryList(ptr noundef %52)
  %54 = load ptr, ptr %2, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct._SOCKET, ptr %54, i32 0, i32 22
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct._SOCK_TOKEN, ptr %56, i32 0, i32 0
  %58 = call ptr @InsertTailList(ptr noundef %55, ptr noundef %57)
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct._SOCK_TOKEN, ptr %59, i32 0, i32 1
  %61 = load ptr, ptr %60, align 8, !tbaa !20
  store ptr %61, ptr %6, align 8, !tbaa !5
  %62 = load ptr, ptr %6, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct._SOCK_IO_TOKEN, ptr %62, i32 0, i32 1
  %64 = load ptr, ptr %63, align 8, !tbaa !22
  store ptr %64, ptr %7, align 8, !tbaa !5
  %65 = load ptr, ptr %7, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.EFI_TCP4_TRANSMIT_DATA, ptr %65, i32 0, i32 2
  %67 = load i32, ptr %66, align 4, !tbaa !23
  store i32 %67, ptr %5, align 4, !tbaa !17
  %68 = load ptr, ptr %2, align 8, !tbaa !5
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = call i64 @SockProcessTcpSndData(ptr noundef %68, ptr noundef %69)
  store i64 %70, ptr %8, align 8, !tbaa !25
  %71 = load i64, ptr %8, align 8, !tbaa !25
  %72 = icmp slt i64 %71, 0
  br i1 %72, label %73, label %74

73:                                               ; preds = %43
  br label %85

74:                                               ; preds = %43
  %75 = load i32, ptr %5, align 4, !tbaa !17
  %76 = load i32, ptr %3, align 4, !tbaa !17
  %77 = icmp uge i32 %75, %76
  br i1 %77, label %78, label %79

78:                                               ; preds = %74
  store i32 0, ptr %3, align 4, !tbaa !17
  br label %83

79:                                               ; preds = %74
  %80 = load i32, ptr %5, align 4, !tbaa !17
  %81 = load i32, ptr %3, align 4, !tbaa !17
  %82 = sub i32 %81, %80
  store i32 %82, ptr %3, align 4, !tbaa !17
  br label %83

83:                                               ; preds = %79, %78
  br label %28, !llvm.loop !26

84:                                               ; preds = %41
  store i32 1, ptr %9, align 4
  br label %107

85:                                               ; preds = %73
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct._SOCK_TOKEN, ptr %86, i32 0, i32 0
  %88 = call ptr @RemoveEntryList(ptr noundef %87)
  br label %89

89:                                               ; preds = %85
  %90 = load i64, ptr %8, align 8, !tbaa !25
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct._SOCK_TOKEN, ptr %91, i32 0, i32 1
  %93 = load ptr, ptr %92, align 8, !tbaa !20
  %94 = getelementptr inbounds %struct._SOCK_COMPLETION_TOKEN, ptr %93, i32 0, i32 1
  store i64 %90, ptr %94, align 8, !tbaa !28
  %95 = load ptr, ptr @gBS, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %95, i32 0, i32 11
  %97 = load ptr, ptr %96, align 8, !tbaa !30
  %98 = load ptr, ptr %4, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct._SOCK_TOKEN, ptr %98, i32 0, i32 1
  %100 = load ptr, ptr %99, align 8, !tbaa !20
  %101 = getelementptr inbounds %struct._SOCK_COMPLETION_TOKEN, ptr %100, i32 0, i32 0
  %102 = load ptr, ptr %101, align 8, !tbaa !33
  %103 = call i64 %97(ptr noundef %102)
  br label %104

104:                                              ; preds = %89
  br label %105

105:                                              ; preds = %104
  %106 = load ptr, ptr %4, align 8, !tbaa !5
  call void @FreePool(ptr noundef %106)
  store i32 0, ptr %9, align 4
  br label %107

107:                                              ; preds = %105, %84
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  %108 = load i32, ptr %9, align 4
  switch i32 %108, label %110 [
    i32 0, label %109
    i32 1, label %109
  ]

109:                                              ; preds = %107, %107
  ret void

110:                                              ; preds = %107
  unreachable
}

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

declare ptr @InsertTailList(ptr noundef, ptr noundef) #1

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

!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 60}
!10 = !{!"_SOCKET", !11, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !12, i64 40, !7, i64 56, !11, i64 60, !7, i64 64, !13, i64 66, !14, i64 72, !16, i64 96, !16, i64 112, !15, i64 128, !7, i64 136, !11, i64 140, !11, i64 144, !6, i64 152, !12, i64 160, !12, i64 176, !12, i64 192, !12, i64 208, !12, i64 224, !6, i64 240, !6, i64 248, !6, i64 256, !7, i64 264, !7, i64 288, !6, i64 368, !6, i64 376, !6, i64 384}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!13 = !{!"short", !7, i64 0}
!14 = !{!"", !15, i64 0, !15, i64 8, !11, i64 16}
!15 = !{!"long long", !7, i64 0}
!16 = !{!"_SOCK_BUFFER", !11, i64 0, !11, i64 4, !6, i64 8}
!17 = !{!11, !11, i64 0}
!18 = !{!10, !11, i64 100}
!19 = !{!10, !6, i64 208}
!20 = !{!21, !6, i64 16}
!21 = !{!"_SOCK_TOKEN", !12, i64 0, !6, i64 16, !11, i64 24, !6, i64 32}
!22 = !{!7, !7, i64 0}
!23 = !{!24, !11, i64 4}
!24 = !{!"", !7, i64 0, !7, i64 1, !11, i64 4, !11, i64 8, !7, i64 16}
!25 = !{!15, !15, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!29, !15, i64 8}
!29 = !{!"_SOCK_COMPLETION_TOKEN", !6, i64 0, !15, i64 8}
!30 = !{!31, !6, i64 104}
!31 = !{!"", !32, i64 0, !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, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !6, i64 368}
!32 = !{!"", !15, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!33 = !{!29, !6, 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"

@.str = external hidden unnamed_addr constant [151 x i8], align 1
@gBS = external local_unnamed_addr global ptr, align 8
@.str.13 = external hidden unnamed_addr constant [53 x i8], align 1

declare zeroext i8 @DebugAssertEnabled() local_unnamed_addr #0

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

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

declare zeroext i8 @IsListEmpty(ptr noundef) local_unnamed_addr #0

declare ptr @RemoveEntryList(ptr noundef) local_unnamed_addr #0

declare void @FreePool(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @SockProcessSndToken(ptr noundef %0) local_unnamed_addr #1 {
  %2 = tail call zeroext i8 @DebugAssertEnabled() #3
  %.not = icmp eq i8 %2, 0
  br i1 %.not, label %9, label %3

3:                                                ; preds = %1
  %.not27 = icmp eq ptr %0, null
  br i1 %.not27, label %8, label %4

4:                                                ; preds = %3
  %5 = getelementptr inbounds i8, ptr %0, i64 60
  %6 = load i32, ptr %5, align 4, !tbaa !5
  %7 = icmp eq i32 %6, 1
  br i1 %7, label %9, label %8

8:                                                ; preds = %4, %3
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 485, ptr noundef nonnull @.str.13) #3
  br label %9

9:                                                ; preds = %4, %8, %1
  %10 = tail call i32 @SockGetFreeSpace(ptr noundef %0, i32 noundef 0)
  %11 = getelementptr inbounds i8, ptr %0, i64 100
  %12 = load i32, ptr %11, align 4, !tbaa !16
  %.not2834 = icmp ult i32 %10, %12
  br i1 %.not2834, label %.critedge, label %.lr.ph

.lr.ph:                                           ; preds = %9
  %13 = getelementptr inbounds i8, ptr %0, i64 208
  %14 = getelementptr inbounds i8, ptr %0, i64 224
  br label %15

15:                                               ; preds = %.lr.ph, %29
  %.035 = phi i32 [ %10, %.lr.ph ], [ %.1, %29 ]
  %16 = tail call zeroext i8 @IsListEmpty(ptr noundef nonnull %13) #3
  %.not29 = icmp eq i8 %16, 0
  br i1 %.not29, label %17, label %.critedge

17:                                               ; preds = %15
  %18 = load ptr, ptr %13, align 8, !tbaa !17
  %19 = tail call ptr @RemoveEntryList(ptr noundef %18) #3
  %20 = tail call ptr @InsertTailList(ptr noundef nonnull %14, ptr noundef %18) #3
  %21 = getelementptr inbounds i8, ptr %18, i64 16
  %22 = load ptr, ptr %21, align 8, !tbaa !18
  %23 = getelementptr inbounds i8, ptr %22, i64 16
  %24 = load ptr, ptr %23, align 8, !tbaa !20
  %25 = getelementptr inbounds i8, ptr %24, i64 4
  %26 = load i32, ptr %25, align 4, !tbaa !21
  %27 = tail call i64 @SockProcessTcpSndData(ptr noundef nonnull %0, ptr noundef %24)
  %28 = icmp slt i64 %27, 0
  br i1 %28, label %31, label %29

29:                                               ; preds = %17
  %.1 = tail call i32 @llvm.usub.sat.i32(i32 %.035, i32 %26)
  %30 = load i32, ptr %11, align 4, !tbaa !16
  %.not28 = icmp ult i32 %.1, %30
  br i1 %.not28, label %.critedge, label %15, !llvm.loop !23

31:                                               ; preds = %17
  %32 = getelementptr inbounds i8, ptr %18, i64 16
  %33 = tail call ptr @RemoveEntryList(ptr noundef nonnull %18) #3
  %34 = load ptr, ptr %32, align 8, !tbaa !18
  %35 = getelementptr inbounds i8, ptr %34, i64 8
  store i64 %27, ptr %35, align 8, !tbaa !25
  %36 = load ptr, ptr @gBS, align 8, !tbaa !27
  %37 = getelementptr inbounds i8, ptr %36, i64 104
  %38 = load ptr, ptr %37, align 8, !tbaa !28
  %39 = load ptr, ptr %34, align 8, !tbaa !31
  %40 = tail call i64 %38(ptr noundef %39) #3
  tail call void @FreePool(ptr noundef nonnull %18) #3
  br label %.critedge

.critedge:                                        ; preds = %29, %15, %9, %31
  ret void
}

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

declare ptr @InsertTailList(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.usub.sat.i32(i32, i32) #2

attributes #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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !7, i64 60}
!6 = !{!"_SOCKET", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !11, i64 40, !8, i64 56, !7, i64 60, !8, i64 64, !12, i64 66, !13, i64 72, !15, i64 96, !15, i64 112, !14, i64 128, !8, i64 136, !7, i64 140, !7, i64 144, !10, i64 152, !11, i64 160, !11, i64 176, !11, i64 192, !11, i64 208, !11, i64 224, !10, i64 240, !10, i64 248, !10, i64 256, !8, i64 264, !8, i64 288, !10, i64 368, !10, i64 376, !10, i64 384}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_LIST_ENTRY", !10, i64 0, !10, i64 8}
!12 = !{!"short", !8, i64 0}
!13 = !{!"", !14, i64 0, !14, i64 8, !7, i64 16}
!14 = !{!"long long", !8, i64 0}
!15 = !{!"_SOCK_BUFFER", !7, i64 0, !7, i64 4, !10, i64 8}
!16 = !{!6, !7, i64 100}
!17 = !{!6, !10, i64 208}
!18 = !{!19, !10, i64 16}
!19 = !{!"_SOCK_TOKEN", !11, i64 0, !10, i64 16, !7, i64 24, !10, i64 32}
!20 = !{!8, !8, i64 0}
!21 = !{!22, !7, i64 4}
!22 = !{!"", !8, i64 0, !8, i64 1, !7, i64 4, !7, i64 8, !8, i64 16}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!26, !14, i64 8}
!26 = !{!"_SOCK_COMPLETION_TOKEN", !10, i64 0, !14, i64 8}
!27 = !{!10, !10, i64 0}
!28 = !{!29, !10, i64 104}
!29 = !{!"", !30, i64 0, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !10, i64 272, !10, i64 280, !10, i64 288, !10, i64 296, !10, i64 304, !10, i64 312, !10, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !10, i64 352, !10, i64 360, !10, i64 368}
!30 = !{!"", !14, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!31 = !{!26, !10, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass