; LLVM IR from thalium/icebox :: third_party/virtualbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/IScsiDxe (IScsiGenerateDataOutPduSequence)

; 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._ISCSI_TCB = type { %struct._LIST_ENTRY, i8, i32, i8, i8, i32, i32, ptr, i32, i32, i32, %struct._ISCSI_XFER_CONTEXT, ptr }
%struct._LIST_ENTRY = type { ptr, ptr }
%struct._ISCSI_XFER_CONTEXT = type { i32, i32, i32, i32 }
%struct._ISCSI_CONNECTION = type { i32, %struct._LIST_ENTRY, ptr, ptr, i8, i8, i8, i8, i8, i8, i8, i8, i16, i32, %struct.NET_BUF_QUEUE, i8, %struct.TCP_IO, i32, i32, i32 }
%struct.NET_BUF_QUEUE = type { i32, i64, %struct._LIST_ENTRY, %struct._LIST_ENTRY, i32, i32 }
%struct.TCP_IO = type { i8, ptr, ptr, ptr, %union.TCP_IO_PROTOCOL, %union.TCP_IO_PROTOCOL, %union.TCP_IO_CONNECTION_TOKEN, %union.TCP_IO_IO_TOKEN, %union.TCP_IO_IO_TOKEN, %union.TCP_IO_CLOSE_TOKEN, %union.TCP_IO_LISTEN_TOKEN, i8, i8, i8, i8, i8 }
%union.TCP_IO_PROTOCOL = type { ptr }
%union.TCP_IO_CONNECTION_TOKEN = type { %struct.EFI_TCP4_CONNECTION_TOKEN }
%struct.EFI_TCP4_CONNECTION_TOKEN = type { %struct.EFI_TCP4_COMPLETION_TOKEN }
%struct.EFI_TCP4_COMPLETION_TOKEN = type { ptr, i64 }
%union.TCP_IO_IO_TOKEN = type { %struct.EFI_TCP4_IO_TOKEN }
%struct.EFI_TCP4_IO_TOKEN = type { %struct.EFI_TCP4_COMPLETION_TOKEN, %union.anon.0 }
%union.anon.0 = type { ptr }
%union.TCP_IO_CLOSE_TOKEN = type { %struct.EFI_TCP4_CLOSE_TOKEN }
%struct.EFI_TCP4_CLOSE_TOKEN = type { %struct.EFI_TCP4_COMPLETION_TOKEN, i8 }
%union.TCP_IO_LISTEN_TOKEN = type { %struct.EFI_TCP4_LISTEN_TOKEN }
%struct.EFI_TCP4_LISTEN_TOKEN = type { %struct.EFI_TCP4_COMPLETION_TOKEN, ptr }
%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] }
%union.NET_IP_HEAD = type { ptr }
%struct.NET_BLOCK_OP = type { ptr, ptr, ptr, ptr, i32 }
%struct._ISCSI_BASIC_HEADER = type { i8, i8, i16, i8, [3 x i8], [8 x i8], i32, [7 x i32] }

declare ptr @InsertTailList(ptr noundef, 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

declare ptr @NetbufGetByte(ptr noundef, i32 noundef, ptr noundef) #0

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

declare ptr @AllocatePool(i64 noundef) #0

declare ptr @InitializeListHead(ptr noundef) #0

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

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

19:                                               ; preds = %3
  store ptr null, ptr %4, align 8
  store i32 1, ptr %15, align 4
  br label %98

20:                                               ; preds = %3
  %21 = load ptr, ptr %8, align 8, !tbaa !5
  %22 = call ptr @InitializeListHead(ptr noundef %21)
  store i32 0, ptr %9, align 4, !tbaa !11
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct._ISCSI_TCB, ptr %23, i32 0, i32 12
  %25 = load ptr, ptr %24, align 8, !tbaa !13
  store ptr %25, ptr %12, align 8, !tbaa !5
  store ptr null, ptr %11, align 8, !tbaa !5
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct._ISCSI_TCB, ptr %26, i32 0, i32 11
  store ptr %27, ptr %13, align 8, !tbaa !5
  br label %28

28:                                               ; preds = %61, %20
  %29 = load ptr, ptr %13, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct._ISCSI_XFER_CONTEXT, ptr %29, i32 0, i32 2
  %31 = load i32, ptr %30, align 4, !tbaa !17
  %32 = icmp ugt i32 %31, 0
  br i1 %32, label %33, label %82

33:                                               ; preds = %28
  %34 = load ptr, ptr %13, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct._ISCSI_XFER_CONTEXT, ptr %34, i32 0, i32 2
  %36 = load i32, ptr %35, align 4, !tbaa !17
  %37 = load ptr, ptr %12, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct._ISCSI_CONNECTION, ptr %37, i32 0, i32 17
  %39 = load i32, ptr %38, align 8, !tbaa !18
  %40 = icmp ult i32 %36, %39
  br i1 %40, label %41, label %45

41:                                               ; preds = %33
  %42 = load ptr, ptr %13, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct._ISCSI_XFER_CONTEXT, ptr %42, i32 0, i32 2
  %44 = load i32, ptr %43, align 4, !tbaa !17
  br label %49

45:                                               ; preds = %33
  %46 = load ptr, ptr %12, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct._ISCSI_CONNECTION, ptr %46, i32 0, i32 17
  %48 = load i32, ptr %47, align 8, !tbaa !18
  br label %49

49:                                               ; preds = %45, %41
  %50 = phi i32 [ %44, %41 ], [ %48, %45 ]
  store i32 %50, ptr %10, align 4, !tbaa !11
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = load i32, ptr %10, align 4, !tbaa !11
  %53 = load i32, ptr %9, align 4, !tbaa !11
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = load i64, ptr %7, align 8, !tbaa !9
  %56 = call ptr @IScsiNewDataOutPdu(ptr noundef %51, i32 noundef %52, i32 noundef %53, ptr noundef %54, i64 noundef %55)
  store ptr %56, ptr %11, align 8, !tbaa !5
  %57 = load ptr, ptr %11, align 8, !tbaa !5
  %58 = icmp eq ptr %57, null
  br i1 %58, label %59, label %61

59:                                               ; preds = %49
  %60 = load ptr, ptr %8, align 8, !tbaa !5
  call void @IScsiFreeNbufList(ptr noundef %60)
  store ptr null, ptr %8, align 8, !tbaa !5
  br label %96

61:                                               ; preds = %49
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  %63 = load ptr, ptr %11, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.NET_BUF, ptr %63, i32 0, i32 2
  %65 = call ptr @InsertTailList(ptr noundef %62, ptr noundef %64)
  %66 = load i32, ptr %10, align 4, !tbaa !11
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = zext i32 %66 to i64
  %69 = getelementptr inbounds i8, ptr %67, i64 %68
  store ptr %69, ptr %5, align 8, !tbaa !5
  %70 = load i32, ptr %10, align 4, !tbaa !11
  %71 = load ptr, ptr %13, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct._ISCSI_XFER_CONTEXT, ptr %71, i32 0, i32 1
  %73 = load i32, ptr %72, align 4, !tbaa !23
  %74 = add i32 %73, %70
  store i32 %74, ptr %72, align 4, !tbaa !23
  %75 = load i32, ptr %10, align 4, !tbaa !11
  %76 = load ptr, ptr %13, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct._ISCSI_XFER_CONTEXT, ptr %76, i32 0, i32 2
  %78 = load i32, ptr %77, align 4, !tbaa !17
  %79 = sub i32 %78, %75
  store i32 %79, ptr %77, align 4, !tbaa !17
  %80 = load i32, ptr %9, align 4, !tbaa !11
  %81 = add i32 %80, 1
  store i32 %81, ptr %9, align 4, !tbaa !11
  br label %28, !llvm.loop !24

82:                                               ; preds = %28
  %83 = load ptr, ptr %11, align 8, !tbaa !5
  %84 = call ptr @NetbufGetByte(ptr noundef %83, i32 noundef 0, ptr noundef null)
  store ptr %84, ptr %14, align 8, !tbaa !5
  %85 = load ptr, ptr %14, align 8, !tbaa !5
  %86 = icmp eq ptr %85, null
  br i1 %86, label %87, label %89

87:                                               ; preds = %82
  %88 = load ptr, ptr %8, align 8, !tbaa !5
  call void @IScsiFreeNbufList(ptr noundef %88)
  store ptr null, ptr %8, align 8, !tbaa !5
  br label %96

89:                                               ; preds = %82
  %90 = load ptr, ptr %14, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct._ISCSI_BASIC_HEADER, ptr %90, i32 0, i32 1
  %92 = load i8, ptr %91, align 1, !tbaa !26
  %93 = zext i8 %92 to i32
  %94 = or i32 %93, 128
  %95 = trunc i32 %94 to i8
  store i8 %95, ptr %91, align 1, !tbaa !26
  br label %96

96:                                               ; preds = %89, %87, %59
  %97 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %97, ptr %4, align 8
  store i32 1, ptr %15, align 4
  br label %98

98:                                               ; preds = %96, %19
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  %99 = load ptr, ptr %4, align 8
  ret ptr %99
}

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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, !10, i64 0}
!10 = !{!"long long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !6, i64 80}
!14 = !{!"_ISCSI_TCB", !15, i64 0, !7, i64 16, !12, i64 20, !7, i64 24, !7, i64 25, !12, i64 28, !12, i64 32, !6, i64 40, !12, i64 48, !12, i64 52, !12, i64 56, !16, i64 60, !6, i64 80}
!15 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!16 = !{!"_ISCSI_XFER_CONTEXT", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!17 = !{!16, !12, i64 8}
!18 = !{!19, !12, i64 288}
!19 = !{!"_ISCSI_CONNECTION", !12, i64 0, !15, i64 8, !6, i64 24, !6, i64 32, !7, i64 40, !7, i64 41, !7, i64 42, !7, i64 43, !7, i64 44, !7, i64 45, !7, i64 46, !7, i64 47, !20, i64 48, !12, i64 52, !21, i64 56, !7, i64 112, !22, i64 120, !12, i64 288, !12, i64 292, !12, i64 296}
!20 = !{!"short", !7, i64 0}
!21 = !{!"", !12, i64 0, !10, i64 8, !15, i64 16, !15, i64 32, !12, i64 48, !12, i64 52}
!22 = !{!"", !7, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 64, !7, i64 88, !7, i64 112, !7, i64 136, !7, i64 160, !7, i64 161, !7, i64 162, !7, i64 163, !7, i64 164}
!23 = !{!16, !12, i64 4}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!27, !7, i64 1}
!27 = !{!"_ISCSI_BASIC_HEADER", !7, i64 0, !7, i64 1, !20, i64 2, !7, i64 4, !7, i64 5, !7, i64 8, !12, i64 16, !7, i64 20}


; 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"

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

declare ptr @NetbufGetByte(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

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

declare ptr @AllocatePool(i64 noundef) local_unnamed_addr #0

declare ptr @InitializeListHead(ptr noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local ptr @IScsiGenerateDataOutPduSequence(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #1 {
  %4 = tail call ptr @AllocatePool(i64 noundef 16) #3
  %5 = icmp eq ptr %4, null
  br i1 %5, label %37, label %6

6:                                                ; preds = %3
  %7 = tail call ptr @InitializeListHead(ptr noundef nonnull %4) #3
  %8 = getelementptr inbounds i8, ptr %1, i64 68
  %9 = load i32, ptr %8, align 4, !tbaa !5
  %.not40 = icmp eq i32 %9, 0
  br i1 %.not40, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %6
  %10 = getelementptr inbounds i8, ptr %1, i64 80
  %11 = load ptr, ptr %10, align 8, !tbaa !10
  %12 = getelementptr inbounds i8, ptr %11, i64 288
  %13 = getelementptr inbounds i8, ptr %1, i64 64
  br label %14

14:                                               ; preds = %.lr.ph, %20
  %15 = phi i32 [ %9, %.lr.ph ], [ %28, %20 ]
  %.03042 = phi ptr [ %0, %.lr.ph ], [ %24, %20 ]
  %.03341 = phi i32 [ 0, %.lr.ph ], [ %29, %20 ]
  %16 = load i32, ptr %12, align 8, !tbaa !14
  %. = tail call i32 @llvm.umin.i32(i32 %15, i32 %16)
  %17 = tail call ptr @IScsiNewDataOutPdu(ptr noundef %.03042, i32 noundef %., i32 noundef %.03341, ptr noundef nonnull %1, i64 noundef %2)
  %18 = icmp eq ptr %17, null
  br i1 %18, label %19, label %20

19:                                               ; preds = %14
  tail call void @IScsiFreeNbufList(ptr noundef nonnull %4)
  br label %37

20:                                               ; preds = %14
  %21 = getelementptr inbounds i8, ptr %17, i64 16
  %22 = tail call ptr @InsertTailList(ptr noundef nonnull %4, ptr noundef nonnull %21) #3
  %23 = zext i32 %. to i64
  %24 = getelementptr inbounds i8, ptr %.03042, i64 %23
  %25 = load i32, ptr %13, align 4, !tbaa !20
  %26 = add i32 %25, %.
  store i32 %26, ptr %13, align 4, !tbaa !20
  %27 = load i32, ptr %8, align 4, !tbaa !5
  %28 = sub i32 %27, %.
  store i32 %28, ptr %8, align 4, !tbaa !5
  %29 = add i32 %.03341, 1
  %.not = icmp eq i32 %28, 0
  br i1 %.not, label %._crit_edge, label %14, !llvm.loop !21

._crit_edge:                                      ; preds = %20, %6
  %.032.lcssa = phi ptr [ null, %6 ], [ %17, %20 ]
  %30 = tail call ptr @NetbufGetByte(ptr noundef %.032.lcssa, i32 noundef 0, ptr noundef null) #3
  %31 = icmp eq ptr %30, null
  br i1 %31, label %32, label %33

32:                                               ; preds = %._crit_edge
  tail call void @IScsiFreeNbufList(ptr noundef nonnull %4)
  br label %37

33:                                               ; preds = %._crit_edge
  %34 = getelementptr inbounds i8, ptr %30, i64 1
  %35 = load i8, ptr %34, align 1, !tbaa !23
  %36 = or i8 %35, -128
  store i8 %36, ptr %34, align 1, !tbaa !23
  br label %37

37:                                               ; preds = %19, %32, %33, %3
  %.0 = phi ptr [ null, %3 ], [ null, %19 ], [ null, %32 ], [ %4, %33 ]
  ret ptr %.0
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.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 8}
!6 = !{!"_ISCSI_XFER_CONTEXT", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !13, i64 80}
!11 = !{!"_ISCSI_TCB", !12, i64 0, !8, i64 16, !7, i64 20, !8, i64 24, !8, i64 25, !7, i64 28, !7, i64 32, !13, i64 40, !7, i64 48, !7, i64 52, !7, i64 56, !6, i64 60, !13, i64 80}
!12 = !{!"_LIST_ENTRY", !13, i64 0, !13, i64 8}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !7, i64 288}
!15 = !{!"_ISCSI_CONNECTION", !7, i64 0, !12, i64 8, !13, i64 24, !13, i64 32, !8, i64 40, !8, i64 41, !8, i64 42, !8, i64 43, !8, i64 44, !8, i64 45, !8, i64 46, !8, i64 47, !16, i64 48, !7, i64 52, !17, i64 56, !8, i64 112, !19, i64 120, !7, i64 288, !7, i64 292, !7, i64 296}
!16 = !{!"short", !8, i64 0}
!17 = !{!"", !7, i64 0, !18, i64 8, !12, i64 16, !12, i64 32, !7, i64 48, !7, i64 52}
!18 = !{!"long long", !8, i64 0}
!19 = !{!"", !8, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !8, i64 32, !8, i64 40, !8, i64 48, !8, i64 64, !8, i64 88, !8, i64 112, !8, i64 136, !8, i64 160, !8, i64 161, !8, i64 162, !8, i64 163, !8, i64 164}
!20 = !{!6, !7, i64 4}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!24, !8, i64 1}
!24 = !{!"_ISCSI_BASIC_HEADER", !8, i64 0, !8, i64 1, !16, i64 2, !8, i64 4, !8, i64 5, !8, i64 8, !7, i64 16, !8, i64 20}


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