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

; 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_COMPLETION_TOKEN = type { ptr, i64 }
%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
@.str.4 = external hidden unnamed_addr constant [21 x i8], align 1
@gBS = external global ptr, align 8

; 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 void @SockFlushPendingToken(ptr noundef, ptr noundef) #2

declare zeroext i8 @IsListEmpty(ptr noundef) #1

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

4:                                                ; preds = %1
  %5 = call zeroext i8 @DebugAssertEnabled()
  %6 = icmp ne i8 %5, 0
  br i1 %6, label %7, label %12

7:                                                ; preds = %4
  %8 = load ptr, ptr %2, align 8, !tbaa !5
  %9 = icmp ne ptr %8, null
  br i1 %9, label %11, label %10

10:                                               ; preds = %7
  call void @DebugAssert(ptr noundef @.str, i64 noundef 821, ptr noundef @.str.4)
  br label %11

11:                                               ; preds = %10, %7
  br label %12

12:                                               ; preds = %11, %4
  br label %13

13:                                               ; preds = %12
  br label %14

14:                                               ; preds = %13
  %15 = load ptr, ptr %2, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct._SOCKET, ptr %15, i32 0, i32 9
  store i16 0, ptr %16, align 2, !tbaa !9
  %17 = load ptr, ptr %2, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct._SOCKET, ptr %17, i32 0, i32 11
  %19 = getelementptr inbounds %struct._SOCK_BUFFER, ptr %18, i32 0, i32 2
  %20 = load ptr, ptr %19, align 8, !tbaa !17
  call void @NetbufQueFlush(ptr noundef %20)
  %21 = load ptr, ptr %2, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct._SOCKET, ptr %21, i32 0, i32 12
  %23 = getelementptr inbounds %struct._SOCK_BUFFER, ptr %22, i32 0, i32 2
  %24 = load ptr, ptr %23, align 8, !tbaa !18
  call void @NetbufQueFlush(ptr noundef %24)
  %25 = load ptr, ptr %2, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct._SOCKET, ptr %25, i32 0, i32 23
  %27 = load ptr, ptr %26, align 8, !tbaa !19
  %28 = icmp ne ptr %27, null
  br i1 %28, label %29, label %51

29:                                               ; preds = %14
  br label %30

30:                                               ; preds = %29
  %31 = load ptr, ptr %2, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct._SOCKET, ptr %31, i32 0, i32 13
  %33 = load i64, ptr %32, align 8, !tbaa !20
  %34 = load ptr, ptr %2, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct._SOCKET, ptr %34, i32 0, i32 23
  %36 = load ptr, ptr %35, align 8, !tbaa !19
  %37 = getelementptr inbounds %struct._SOCK_COMPLETION_TOKEN, ptr %36, i32 0, i32 1
  store i64 %33, ptr %37, align 8, !tbaa !21
  %38 = load ptr, ptr @gBS, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %38, i32 0, i32 11
  %40 = load ptr, ptr %39, align 8, !tbaa !23
  %41 = load ptr, ptr %2, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct._SOCKET, ptr %41, i32 0, i32 23
  %43 = load ptr, ptr %42, align 8, !tbaa !19
  %44 = getelementptr inbounds %struct._SOCK_COMPLETION_TOKEN, ptr %43, i32 0, i32 0
  %45 = load ptr, ptr %44, align 8, !tbaa !26
  %46 = call i64 %40(ptr noundef %45)
  br label %47

47:                                               ; preds = %30
  br label %48

48:                                               ; preds = %47
  %49 = load ptr, ptr %2, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct._SOCKET, ptr %49, i32 0, i32 23
  store ptr null, ptr %50, align 8, !tbaa !19
  br label %51

51:                                               ; preds = %48, %14
  %52 = load ptr, ptr %2, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct._SOCKET, ptr %52, i32 0, i32 24
  %54 = load ptr, ptr %53, align 8, !tbaa !27
  %55 = icmp ne ptr %54, null
  br i1 %55, label %56, label %78

56:                                               ; preds = %51
  br label %57

57:                                               ; preds = %56
  %58 = load ptr, ptr %2, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct._SOCKET, ptr %58, i32 0, i32 13
  %60 = load i64, ptr %59, align 8, !tbaa !20
  %61 = load ptr, ptr %2, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct._SOCKET, ptr %61, i32 0, i32 24
  %63 = load ptr, ptr %62, align 8, !tbaa !27
  %64 = getelementptr inbounds %struct._SOCK_COMPLETION_TOKEN, ptr %63, i32 0, i32 1
  store i64 %60, ptr %64, align 8, !tbaa !21
  %65 = load ptr, ptr @gBS, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %65, i32 0, i32 11
  %67 = load ptr, ptr %66, align 8, !tbaa !23
  %68 = load ptr, ptr %2, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct._SOCKET, ptr %68, i32 0, i32 24
  %70 = load ptr, ptr %69, align 8, !tbaa !27
  %71 = getelementptr inbounds %struct._SOCK_COMPLETION_TOKEN, ptr %70, i32 0, i32 0
  %72 = load ptr, ptr %71, align 8, !tbaa !26
  %73 = call i64 %67(ptr noundef %72)
  br label %74

74:                                               ; preds = %57
  br label %75

75:                                               ; preds = %74
  %76 = load ptr, ptr %2, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct._SOCKET, ptr %76, i32 0, i32 24
  store ptr null, ptr %77, align 8, !tbaa !27
  br label %78

78:                                               ; preds = %75, %51
  %79 = load ptr, ptr %2, align 8, !tbaa !5
  %80 = load ptr, ptr %2, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct._SOCKET, ptr %80, i32 0, i32 19
  call void @SockFlushPendingToken(ptr noundef %79, ptr noundef %81)
  %82 = load ptr, ptr %2, align 8, !tbaa !5
  %83 = load ptr, ptr %2, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct._SOCKET, ptr %83, i32 0, i32 20
  call void @SockFlushPendingToken(ptr noundef %82, ptr noundef %84)
  %85 = load ptr, ptr %2, align 8, !tbaa !5
  %86 = load ptr, ptr %2, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct._SOCKET, ptr %86, i32 0, i32 21
  call void @SockFlushPendingToken(ptr noundef %85, ptr noundef %87)
  %88 = load ptr, ptr %2, align 8, !tbaa !5
  %89 = load ptr, ptr %2, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct._SOCKET, ptr %89, i32 0, i32 22
  call void @SockFlushPendingToken(ptr noundef %88, ptr noundef %90)
  %91 = load ptr, ptr %2, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct._SOCKET, ptr %91, i32 0, i32 8
  %93 = load i8, ptr %92, align 8, !tbaa !28
  %94 = zext i8 %93 to i32
  %95 = icmp eq i32 %94, 1
  br i1 %95, label %96, label %116

96:                                               ; preds = %78
  br label %97

97:                                               ; preds = %103, %96
  %98 = load ptr, ptr %2, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct._SOCKET, ptr %98, i32 0, i32 18
  %100 = call zeroext i8 @IsListEmpty(ptr noundef %99)
  %101 = icmp ne i8 %100, 0
  %102 = xor i1 %101, true
  br i1 %102, label %103, label %113

103:                                              ; preds = %97
  %104 = load ptr, ptr %2, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct._SOCKET, ptr %104, i32 0, i32 18
  %106 = getelementptr inbounds %struct._LIST_ENTRY, ptr %105, i32 0, i32 0
  %107 = load ptr, ptr %106, align 8, !tbaa !29
  %108 = ptrtoint ptr %107 to i64
  %109 = sub i64 %108, ptrtoint (ptr getelementptr inbounds (%struct._SOCKET, ptr null, i32 0, i32 18) to i64)
  %110 = inttoptr i64 %109 to ptr
  store ptr %110, ptr %3, align 8, !tbaa !5
  %111 = load ptr, ptr %3, align 8, !tbaa !5
  %112 = call i64 @SockDestroyChild(ptr noundef %111)
  br label %97, !llvm.loop !30

113:                                              ; preds = %97
  %114 = load ptr, ptr %2, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct._SOCKET, ptr %114, i32 0, i32 16
  store i32 0, ptr %115, align 8, !tbaa !32
  br label %116

116:                                              ; preds = %113, %78
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  ret void
}

declare void @NetbufQueFlush(ptr noundef) #1

declare i64 @SockDestroyChild(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, !13, i64 66}
!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 = !{!10, !6, i64 104}
!18 = !{!10, !6, i64 120}
!19 = !{!10, !6, i64 240}
!20 = !{!10, !15, i64 128}
!21 = !{!22, !15, i64 8}
!22 = !{!"_SOCK_COMPLETION_TOKEN", !6, i64 0, !15, i64 8}
!23 = !{!24, !6, i64 104}
!24 = !{!"", !25, 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}
!25 = !{!"", !15, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!26 = !{!22, !6, i64 0}
!27 = !{!10, !6, i64 248}
!28 = !{!10, !7, i64 64}
!29 = !{!10, !6, i64 160}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!10, !11, i64 144}


; 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
@.str.4 = external hidden unnamed_addr constant [21 x i8], align 1
@gBS = external local_unnamed_addr global ptr, align 8

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 void @SockFlushPendingToken(ptr noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local void @SockConnFlush(ptr noundef %0) local_unnamed_addr #1 {
  %2 = tail call zeroext i8 @DebugAssertEnabled() #2
  %3 = icmp eq i8 %2, 0
  %4 = icmp ne ptr %0, null
  %or.cond = or i1 %4, %3
  br i1 %or.cond, label %6, label %5

5:                                                ; preds = %1
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 821, ptr noundef nonnull @.str.4) #2
  br label %6

6:                                                ; preds = %5, %1
  %7 = getelementptr inbounds i8, ptr %0, i64 66
  store i16 0, ptr %7, align 2, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 104
  %9 = load ptr, ptr %8, align 8, !tbaa !16
  tail call void @NetbufQueFlush(ptr noundef %9) #2
  %10 = getelementptr inbounds i8, ptr %0, i64 120
  %11 = load ptr, ptr %10, align 8, !tbaa !17
  tail call void @NetbufQueFlush(ptr noundef %11) #2
  %12 = getelementptr inbounds i8, ptr %0, i64 240
  %13 = load ptr, ptr %12, align 8, !tbaa !18
  %.not = icmp eq ptr %13, null
  br i1 %.not, label %23, label %14

14:                                               ; preds = %6
  %15 = getelementptr inbounds i8, ptr %0, i64 128
  %16 = load i64, ptr %15, align 8, !tbaa !19
  %17 = getelementptr inbounds i8, ptr %13, i64 8
  store i64 %16, ptr %17, align 8, !tbaa !20
  %18 = load ptr, ptr @gBS, align 8, !tbaa !22
  %19 = getelementptr inbounds i8, ptr %18, i64 104
  %20 = load ptr, ptr %19, align 8, !tbaa !23
  %21 = load ptr, ptr %13, align 8, !tbaa !26
  %22 = tail call i64 %20(ptr noundef %21) #2
  store ptr null, ptr %12, align 8, !tbaa !18
  br label %23

23:                                               ; preds = %14, %6
  %24 = getelementptr inbounds i8, ptr %0, i64 248
  %25 = load ptr, ptr %24, align 8, !tbaa !27
  %.not29 = icmp eq ptr %25, null
  br i1 %.not29, label %35, label %26

26:                                               ; preds = %23
  %27 = getelementptr inbounds i8, ptr %0, i64 128
  %28 = load i64, ptr %27, align 8, !tbaa !19
  %29 = getelementptr inbounds i8, ptr %25, i64 8
  store i64 %28, ptr %29, align 8, !tbaa !20
  %30 = load ptr, ptr @gBS, align 8, !tbaa !22
  %31 = getelementptr inbounds i8, ptr %30, i64 104
  %32 = load ptr, ptr %31, align 8, !tbaa !23
  %33 = load ptr, ptr %25, align 8, !tbaa !26
  %34 = tail call i64 %32(ptr noundef %33) #2
  store ptr null, ptr %24, align 8, !tbaa !27
  br label %35

35:                                               ; preds = %26, %23
  %36 = getelementptr inbounds i8, ptr %0, i64 176
  tail call void @SockFlushPendingToken(ptr noundef nonnull %0, ptr noundef nonnull %36)
  %37 = getelementptr inbounds i8, ptr %0, i64 192
  tail call void @SockFlushPendingToken(ptr noundef nonnull %0, ptr noundef nonnull %37)
  %38 = getelementptr inbounds i8, ptr %0, i64 208
  tail call void @SockFlushPendingToken(ptr noundef nonnull %0, ptr noundef nonnull %38)
  %39 = getelementptr inbounds i8, ptr %0, i64 224
  tail call void @SockFlushPendingToken(ptr noundef nonnull %0, ptr noundef nonnull %39)
  %40 = getelementptr inbounds i8, ptr %0, i64 64
  %41 = load i8, ptr %40, align 8, !tbaa !28
  %42 = icmp eq i8 %41, 1
  br i1 %42, label %.preheader, label %52

.preheader:                                       ; preds = %35
  %43 = getelementptr inbounds i8, ptr %0, i64 160
  %44 = tail call zeroext i8 @IsListEmpty(ptr noundef nonnull %43) #2
  %.not3031 = icmp eq i8 %44, 0
  br i1 %.not3031, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader, %.lr.ph
  %45 = load ptr, ptr %43, align 8, !tbaa !29
  %46 = ptrtoint ptr %45 to i64
  %47 = add i64 %46, -160
  %48 = inttoptr i64 %47 to ptr
  %49 = tail call i64 @SockDestroyChild(ptr noundef %48) #2
  %50 = tail call zeroext i8 @IsListEmpty(ptr noundef nonnull %43) #2
  %.not30 = icmp eq i8 %50, 0
  br i1 %.not30, label %.lr.ph, label %._crit_edge, !llvm.loop !30

._crit_edge:                                      ; preds = %.lr.ph, %.preheader
  %51 = getelementptr inbounds i8, ptr %0, i64 144
  store i32 0, ptr %51, align 8, !tbaa !32
  br label %52

52:                                               ; preds = %._crit_edge, %35
  ret void
}

declare void @NetbufQueFlush(ptr noundef) local_unnamed_addr #0

declare i64 @SockDestroyChild(ptr noundef) local_unnamed_addr #0

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 = { 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 66}
!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, !10, i64 104}
!17 = !{!6, !10, i64 120}
!18 = !{!6, !10, i64 240}
!19 = !{!6, !14, i64 128}
!20 = !{!21, !14, i64 8}
!21 = !{!"_SOCK_COMPLETION_TOKEN", !10, i64 0, !14, i64 8}
!22 = !{!10, !10, i64 0}
!23 = !{!24, !10, i64 104}
!24 = !{!"", !25, 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}
!25 = !{!"", !14, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!26 = !{!21, !10, i64 0}
!27 = !{!6, !10, i64 248}
!28 = !{!6, !8, i64 64}
!29 = !{!6, !10, i64 160}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!6, !7, i64 144}


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