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

; 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._SCSI_RESPONSE = type { i8, i8, i8, i8, i8, [3 x i8], [8 x i8], i32, i32, i32, i32, i32, i32, i32, i32 }
%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.EFI_EXT_SCSI_PASS_THRU_SCSI_REQUEST_PACKET = type { i64, ptr, ptr, ptr, ptr, i32, i32, i8, i8, i8, i8, i8 }
%struct._ISCSI_BASIC_HEADER = type { i8, i8, i16, i8, [3 x i8], [8 x i8], i32, [7 x i32] }
%struct._ISCSI_SENSE_DATA = type { i16, [2 x i8] }

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

; Function Attrs: nounwind uwtable
declare dso_local void @IScsiUpdateCmdSN(ptr noundef, i32 noundef, i32 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 @CopyMem(ptr noundef, ptr noundef, i64 noundef) #2

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

declare zeroext i16 @SwapBytes16(i16 noundef zeroext) #2

declare i32 @SwapBytes32(i32 noundef) #2

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

17:                                               ; preds = %3
  store i64 -9223372036854775784, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %307

18:                                               ; preds = %3
  %19 = load ptr, ptr %8, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct._SCSI_RESPONSE, ptr %19, i32 0, i32 7
  %21 = load i32, ptr %20, align 4, !tbaa !9
  %22 = call i32 @SwapBytes32(i32 noundef %21)
  %23 = load ptr, ptr %8, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct._SCSI_RESPONSE, ptr %23, i32 0, i32 7
  store i32 %22, ptr %24, align 4, !tbaa !9
  %25 = load ptr, ptr %8, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct._SCSI_RESPONSE, ptr %25, i32 0, i32 7
  %27 = load i32, ptr %26, align 4, !tbaa !9
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct._ISCSI_TCB, ptr %28, i32 0, i32 8
  %30 = load i32, ptr %29, align 8, !tbaa !12
  %31 = icmp ne i32 %27, %30
  br i1 %31, label %32, label %33

32:                                               ; preds = %18
  store i64 -9223372036854775784, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %307

33:                                               ; preds = %18
  %34 = load ptr, ptr %8, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct._SCSI_RESPONSE, ptr %34, i32 0, i32 9
  %36 = load i32, ptr %35, align 4, !tbaa !16
  %37 = call i32 @SwapBytes32(i32 noundef %36)
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct._SCSI_RESPONSE, ptr %38, i32 0, i32 9
  store i32 %37, ptr %39, align 4, !tbaa !16
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct._ISCSI_TCB, ptr %40, i32 0, i32 12
  %42 = load ptr, ptr %41, align 8, !tbaa !17
  %43 = getelementptr inbounds %struct._ISCSI_CONNECTION, ptr %42, i32 0, i32 13
  %44 = load ptr, ptr %8, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct._SCSI_RESPONSE, ptr %44, i32 0, i32 9
  %46 = load i32, ptr %45, align 4, !tbaa !16
  %47 = call i64 @IScsiCheckSN(ptr noundef %43, i32 noundef %46)
  store i64 %47, ptr %10, align 8, !tbaa !18
  %48 = load i64, ptr %10, align 8, !tbaa !18
  %49 = icmp slt i64 %48, 0
  br i1 %49, label %50, label %52

50:                                               ; preds = %33
  %51 = load i64, ptr %10, align 8, !tbaa !18
  store i64 %51, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %307

52:                                               ; preds = %33
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct._SCSI_RESPONSE, ptr %53, i32 0, i32 11
  %55 = load i32, ptr %54, align 4, !tbaa !20
  %56 = call i32 @SwapBytes32(i32 noundef %55)
  %57 = load ptr, ptr %8, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct._SCSI_RESPONSE, ptr %57, i32 0, i32 11
  store i32 %56, ptr %58, align 4, !tbaa !20
  %59 = load ptr, ptr %8, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct._SCSI_RESPONSE, ptr %59, i32 0, i32 10
  %61 = load i32, ptr %60, align 4, !tbaa !21
  %62 = call i32 @SwapBytes32(i32 noundef %61)
  %63 = load ptr, ptr %8, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct._SCSI_RESPONSE, ptr %63, i32 0, i32 10
  store i32 %62, ptr %64, align 4, !tbaa !21
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct._ISCSI_TCB, ptr %65, i32 0, i32 12
  %67 = load ptr, ptr %66, align 8, !tbaa !17
  %68 = getelementptr inbounds %struct._ISCSI_CONNECTION, ptr %67, i32 0, i32 3
  %69 = load ptr, ptr %68, align 8, !tbaa !22
  %70 = load ptr, ptr %8, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct._SCSI_RESPONSE, ptr %70, i32 0, i32 11
  %72 = load i32, ptr %71, align 4, !tbaa !20
  %73 = load ptr, ptr %8, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct._SCSI_RESPONSE, ptr %73, i32 0, i32 10
  %75 = load i32, ptr %74, align 4, !tbaa !21
  call void @IScsiUpdateCmdSN(ptr noundef %69, i32 noundef %72, i32 noundef %75)
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct._ISCSI_TCB, ptr %76, i32 0, i32 4
  store i8 1, ptr %77, align 1, !tbaa !27
  %78 = load ptr, ptr %8, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct._SCSI_RESPONSE, ptr %78, i32 0, i32 2
  %80 = load i8, ptr %79, align 2, !tbaa !28
  %81 = load ptr, ptr %7, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.EFI_EXT_SCSI_PASS_THRU_SCSI_REQUEST_PACKET, ptr %81, i32 0, i32 9
  store i8 %80, ptr %82, align 2, !tbaa !29
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.EFI_EXT_SCSI_PASS_THRU_SCSI_REQUEST_PACKET, ptr %83, i32 0, i32 9
  %85 = load i8, ptr %84, align 2, !tbaa !29
  %86 = zext i8 %85 to i32
  %87 = icmp ne i32 %86, 0
  br i1 %87, label %88, label %89

88:                                               ; preds = %52
  store i64 0, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %307

89:                                               ; preds = %52
  %90 = load ptr, ptr %8, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct._SCSI_RESPONSE, ptr %90, i32 0, i32 3
  %92 = load i8, ptr %91, align 1, !tbaa !31
  %93 = load ptr, ptr %7, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.EFI_EXT_SCSI_PASS_THRU_SCSI_REQUEST_PACKET, ptr %93, i32 0, i32 10
  store i8 %92, ptr %94, align 1, !tbaa !32
  %95 = load ptr, ptr %8, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct._ISCSI_BASIC_HEADER, ptr %95, i32 0, i32 1
  %97 = load i8, ptr %96, align 1, !tbaa !33
  %98 = zext i8 %97 to i32
  %99 = and i32 %98, 24
  %100 = icmp eq i32 %99, 24
  %101 = zext i1 %100 to i32
  %102 = trunc i32 %101 to i8
  %103 = zext i8 %102 to i32
  %104 = icmp ne i32 %103, 0
  br i1 %104, label %116, label %105

105:                                              ; preds = %89
  %106 = load ptr, ptr %8, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct._ISCSI_BASIC_HEADER, ptr %106, i32 0, i32 1
  %108 = load i8, ptr %107, align 1, !tbaa !33
  %109 = zext i8 %108 to i32
  %110 = and i32 %109, 6
  %111 = icmp eq i32 %110, 6
  %112 = zext i1 %111 to i32
  %113 = trunc i32 %112 to i8
  %114 = zext i8 %113 to i32
  %115 = icmp ne i32 %114, 0
  br i1 %115, label %116, label %117

116:                                              ; preds = %105, %89
  store i64 -9223372036854775784, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %307

117:                                              ; preds = %105
  %118 = load ptr, ptr %8, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct._ISCSI_BASIC_HEADER, ptr %118, i32 0, i32 1
  %120 = load i8, ptr %119, align 1, !tbaa !33
  %121 = zext i8 %120 to i32
  %122 = and i32 %121, 16
  %123 = icmp eq i32 %122, 16
  %124 = zext i1 %123 to i32
  %125 = trunc i32 %124 to i8
  %126 = icmp ne i8 %125, 0
  br i1 %126, label %127, label %136

127:                                              ; preds = %117
  %128 = load ptr, ptr %8, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct._SCSI_RESPONSE, ptr %128, i32 0, i32 13
  %130 = load i32, ptr %129, align 4, !tbaa !35
  %131 = call i32 @SwapBytes32(i32 noundef %130)
  %132 = load ptr, ptr %7, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.EFI_EXT_SCSI_PASS_THRU_SCSI_REQUEST_PACKET, ptr %132, i32 0, i32 5
  %134 = load i32, ptr %133, align 8, !tbaa !36
  %135 = add i32 %134, %131
  store i32 %135, ptr %133, align 8, !tbaa !36
  store i64 -9223372036854775804, ptr %10, align 8, !tbaa !18
  br label %136

136:                                              ; preds = %127, %117
  %137 = load ptr, ptr %8, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct._ISCSI_BASIC_HEADER, ptr %137, i32 0, i32 1
  %139 = load i8, ptr %138, align 1, !tbaa !33
  %140 = zext i8 %139 to i32
  %141 = and i32 %140, 8
  %142 = icmp eq i32 %141, 8
  %143 = zext i1 %142 to i32
  %144 = trunc i32 %143 to i8
  %145 = icmp ne i8 %144, 0
  br i1 %145, label %146, label %155

146:                                              ; preds = %136
  %147 = load ptr, ptr %8, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct._SCSI_RESPONSE, ptr %147, i32 0, i32 13
  %149 = load i32, ptr %148, align 4, !tbaa !35
  %150 = call i32 @SwapBytes32(i32 noundef %149)
  %151 = load ptr, ptr %7, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.EFI_EXT_SCSI_PASS_THRU_SCSI_REQUEST_PACKET, ptr %151, i32 0, i32 5
  %153 = load i32, ptr %152, align 8, !tbaa !36
  %154 = sub i32 %153, %150
  store i32 %154, ptr %152, align 8, !tbaa !36
  br label %155

155:                                              ; preds = %146, %136
  %156 = load ptr, ptr %8, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct._ISCSI_BASIC_HEADER, ptr %156, i32 0, i32 1
  %158 = load i8, ptr %157, align 1, !tbaa !33
  %159 = zext i8 %158 to i32
  %160 = and i32 %159, 4
  %161 = icmp eq i32 %160, 4
  %162 = zext i1 %161 to i32
  %163 = trunc i32 %162 to i8
  %164 = icmp ne i8 %163, 0
  br i1 %164, label %165, label %190

165:                                              ; preds = %155
  %166 = load ptr, ptr %7, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.EFI_EXT_SCSI_PASS_THRU_SCSI_REQUEST_PACKET, ptr %166, i32 0, i32 8
  %168 = load i8, ptr %167, align 1, !tbaa !37
  %169 = zext i8 %168 to i32
  %170 = icmp eq i32 %169, 0
  br i1 %170, label %171, label %180

171:                                              ; preds = %165
  %172 = load ptr, ptr %8, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct._SCSI_RESPONSE, ptr %172, i32 0, i32 14
  %174 = load i32, ptr %173, align 4, !tbaa !38
  %175 = call i32 @SwapBytes32(i32 noundef %174)
  %176 = load ptr, ptr %7, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.EFI_EXT_SCSI_PASS_THRU_SCSI_REQUEST_PACKET, ptr %176, i32 0, i32 5
  %178 = load i32, ptr %177, align 8, !tbaa !36
  %179 = add i32 %178, %175
  store i32 %179, ptr %177, align 8, !tbaa !36
  br label %189

180:                                              ; preds = %165
  %181 = load ptr, ptr %8, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct._SCSI_RESPONSE, ptr %181, i32 0, i32 14
  %183 = load i32, ptr %182, align 4, !tbaa !38
  %184 = call i32 @SwapBytes32(i32 noundef %183)
  %185 = load ptr, ptr %7, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.EFI_EXT_SCSI_PASS_THRU_SCSI_REQUEST_PACKET, ptr %185, i32 0, i32 6
  %187 = load i32, ptr %186, align 4, !tbaa !39
  %188 = add i32 %187, %184
  store i32 %188, ptr %186, align 4, !tbaa !39
  br label %189

189:                                              ; preds = %180, %171
  store i64 -9223372036854775804, ptr %10, align 8, !tbaa !18
  br label %190

190:                                              ; preds = %189, %155
  %191 = load ptr, ptr %8, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct._ISCSI_BASIC_HEADER, ptr %191, i32 0, i32 1
  %193 = load i8, ptr %192, align 1, !tbaa !33
  %194 = zext i8 %193 to i32
  %195 = and i32 %194, 2
  %196 = icmp eq i32 %195, 2
  %197 = zext i1 %196 to i32
  %198 = trunc i32 %197 to i8
  %199 = icmp ne i8 %198, 0
  br i1 %199, label %200, label %225

200:                                              ; preds = %190
  %201 = load ptr, ptr %7, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.EFI_EXT_SCSI_PASS_THRU_SCSI_REQUEST_PACKET, ptr %201, i32 0, i32 8
  %203 = load i8, ptr %202, align 1, !tbaa !37
  %204 = zext i8 %203 to i32
  %205 = icmp eq i32 %204, 0
  br i1 %205, label %206, label %215

206:                                              ; preds = %200
  %207 = load ptr, ptr %8, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct._SCSI_RESPONSE, ptr %207, i32 0, i32 14
  %209 = load i32, ptr %208, align 4, !tbaa !38
  %210 = call i32 @SwapBytes32(i32 noundef %209)
  %211 = load ptr, ptr %7, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.EFI_EXT_SCSI_PASS_THRU_SCSI_REQUEST_PACKET, ptr %211, i32 0, i32 5
  %213 = load i32, ptr %212, align 8, !tbaa !36
  %214 = sub i32 %213, %210
  store i32 %214, ptr %212, align 8, !tbaa !36
  br label %224

215:                                              ; preds = %200
  %216 = load ptr, ptr %8, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct._SCSI_RESPONSE, ptr %216, i32 0, i32 14
  %218 = load i32, ptr %217, align 4, !tbaa !38
  %219 = call i32 @SwapBytes32(i32 noundef %218)
  %220 = load ptr, ptr %7, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.EFI_EXT_SCSI_PASS_THRU_SCSI_REQUEST_PACKET, ptr %220, i32 0, i32 6
  %222 = load i32, ptr %221, align 4, !tbaa !39
  %223 = sub i32 %222, %219
  store i32 %223, ptr %221, align 4, !tbaa !39
  br label %224

224:                                              ; preds = %215, %206
  br label %225

225:                                              ; preds = %224, %190
  %226 = load ptr, ptr %8, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct._ISCSI_BASIC_HEADER, ptr %226, i32 0, i32 4
  %228 = getelementptr inbounds [3 x i8], ptr %227, i64 0, i64 0
  %229 = load i8, ptr %228, align 1, !tbaa !40
  %230 = zext i8 %229 to i32
  %231 = shl i32 %230, 16
  %232 = load ptr, ptr %8, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct._ISCSI_BASIC_HEADER, ptr %232, i32 0, i32 4
  %234 = getelementptr inbounds [3 x i8], ptr %233, i64 0, i64 1
  %235 = load i8, ptr %234, align 1, !tbaa !40
  %236 = zext i8 %235 to i32
  %237 = shl i32 %236, 8
  %238 = or i32 %231, %237
  %239 = load ptr, ptr %8, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct._ISCSI_BASIC_HEADER, ptr %239, i32 0, i32 4
  %241 = getelementptr inbounds [3 x i8], ptr %240, i64 0, i64 2
  %242 = load i8, ptr %241, align 1, !tbaa !40
  %243 = zext i8 %242 to i32
  %244 = or i32 %238, %243
  store i32 %244, ptr %11, align 4, !tbaa !41
  %245 = load i32, ptr %11, align 4, !tbaa !41
  %246 = icmp ne i32 %245, 0
  br i1 %246, label %247, label %302

247:                                              ; preds = %225
  %248 = load ptr, ptr %5, align 8, !tbaa !5
  %249 = call ptr @NetbufGetByte(ptr noundef %248, i32 noundef 48, ptr noundef null)
  store ptr %249, ptr %9, align 8, !tbaa !5
  %250 = load ptr, ptr %9, align 8, !tbaa !5
  %251 = icmp eq ptr %250, null
  br i1 %251, label %252, label %253

252:                                              ; preds = %247
  store i64 -9223372036854775784, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %307

253:                                              ; preds = %247
  %254 = load ptr, ptr %9, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct._ISCSI_SENSE_DATA, ptr %254, i32 0, i32 0
  %256 = load i16, ptr %255, align 2, !tbaa !42
  %257 = call zeroext i16 @SwapBytes16(i16 noundef zeroext %256)
  %258 = load ptr, ptr %9, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct._ISCSI_SENSE_DATA, ptr %258, i32 0, i32 0
  store i16 %257, ptr %259, align 2, !tbaa !42
  %260 = load ptr, ptr %9, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct._ISCSI_SENSE_DATA, ptr %260, i32 0, i32 0
  %262 = load i16, ptr %261, align 2, !tbaa !42
  %263 = zext i16 %262 to i32
  %264 = load ptr, ptr %7, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.EFI_EXT_SCSI_PASS_THRU_SCSI_REQUEST_PACKET, ptr %264, i32 0, i32 11
  %266 = load i8, ptr %265, align 4, !tbaa !44
  %267 = zext i8 %266 to i32
  %268 = icmp slt i32 %263, %267
  br i1 %268, label %269, label %274

269:                                              ; preds = %253
  %270 = load ptr, ptr %9, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct._ISCSI_SENSE_DATA, ptr %270, i32 0, i32 0
  %272 = load i16, ptr %271, align 2, !tbaa !42
  %273 = zext i16 %272 to i32
  br label %279

274:                                              ; preds = %253
  %275 = load ptr, ptr %7, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.EFI_EXT_SCSI_PASS_THRU_SCSI_REQUEST_PACKET, ptr %275, i32 0, i32 11
  %277 = load i8, ptr %276, align 4, !tbaa !44
  %278 = zext i8 %277 to i32
  br label %279

279:                                              ; preds = %274, %269
  %280 = phi i32 [ %273, %269 ], [ %278, %274 ]
  %281 = trunc i32 %280 to i8
  %282 = load ptr, ptr %7, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.EFI_EXT_SCSI_PASS_THRU_SCSI_REQUEST_PACKET, ptr %282, i32 0, i32 11
  store i8 %281, ptr %283, align 4, !tbaa !44
  %284 = load ptr, ptr %7, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.EFI_EXT_SCSI_PASS_THRU_SCSI_REQUEST_PACKET, ptr %284, i32 0, i32 11
  %286 = load i8, ptr %285, align 4, !tbaa !44
  %287 = zext i8 %286 to i32
  %288 = icmp ne i32 %287, 0
  br i1 %288, label %289, label %301

289:                                              ; preds = %279
  %290 = load ptr, ptr %7, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.EFI_EXT_SCSI_PASS_THRU_SCSI_REQUEST_PACKET, ptr %290, i32 0, i32 3
  %292 = load ptr, ptr %291, align 8, !tbaa !45
  %293 = load ptr, ptr %9, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct._ISCSI_SENSE_DATA, ptr %293, i32 0, i32 1
  %295 = getelementptr inbounds [2 x i8], ptr %294, i64 0, i64 0
  %296 = load ptr, ptr %7, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.EFI_EXT_SCSI_PASS_THRU_SCSI_REQUEST_PACKET, ptr %296, i32 0, i32 11
  %298 = load i8, ptr %297, align 4, !tbaa !44
  %299 = zext i8 %298 to i64
  %300 = call ptr @CopyMem(ptr noundef %292, ptr noundef %295, i64 noundef %299)
  br label %301

301:                                              ; preds = %289, %279
  br label %305

302:                                              ; preds = %225
  %303 = load ptr, ptr %7, align 8, !tbaa !5
  %304 = getelementptr inbounds %struct.EFI_EXT_SCSI_PASS_THRU_SCSI_REQUEST_PACKET, ptr %303, i32 0, i32 11
  store i8 0, ptr %304, align 4, !tbaa !44
  br label %305

305:                                              ; preds = %302, %301
  %306 = load i64, ptr %10, align 8, !tbaa !18
  store i64 %306, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %307

307:                                              ; preds = %305, %252, %116, %88, %50, %32, %17
  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
  %308 = load i64, ptr %4, align 8
  ret i64 %308
}

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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, !11, i64 16}
!10 = !{!"_SCSI_RESPONSE", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4, !7, i64 5, !7, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !11, i64 48}
!13 = !{!"_ISCSI_TCB", !14, i64 0, !7, i64 16, !11, i64 20, !7, i64 24, !7, i64 25, !11, i64 28, !11, i64 32, !6, i64 40, !11, i64 48, !11, i64 52, !11, i64 56, !15, i64 60, !6, i64 80}
!14 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!15 = !{!"_ISCSI_XFER_CONTEXT", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!16 = !{!10, !11, i64 24}
!17 = !{!13, !6, i64 80}
!18 = !{!19, !19, i64 0}
!19 = !{!"long long", !7, i64 0}
!20 = !{!10, !11, i64 32}
!21 = !{!10, !11, i64 28}
!22 = !{!23, !6, i64 32}
!23 = !{!"_ISCSI_CONNECTION", !11, i64 0, !14, 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, !24, i64 48, !11, i64 52, !25, i64 56, !7, i64 112, !26, i64 120, !11, i64 288, !11, i64 292, !11, i64 296}
!24 = !{!"short", !7, i64 0}
!25 = !{!"", !11, i64 0, !19, i64 8, !14, i64 16, !14, i64 32, !11, i64 48, !11, i64 52}
!26 = !{!"", !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}
!27 = !{!13, !7, i64 25}
!28 = !{!10, !7, i64 2}
!29 = !{!30, !7, i64 50}
!30 = !{!"", !19, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !11, i64 40, !11, i64 44, !7, i64 48, !7, i64 49, !7, i64 50, !7, i64 51, !7, i64 52}
!31 = !{!10, !7, i64 3}
!32 = !{!30, !7, i64 51}
!33 = !{!34, !7, i64 1}
!34 = !{!"_ISCSI_BASIC_HEADER", !7, i64 0, !7, i64 1, !24, i64 2, !7, i64 4, !7, i64 5, !7, i64 8, !11, i64 16, !7, i64 20}
!35 = !{!10, !11, i64 40}
!36 = !{!30, !11, i64 40}
!37 = !{!30, !7, i64 49}
!38 = !{!10, !11, i64 44}
!39 = !{!30, !11, i64 44}
!40 = !{!7, !7, i64 0}
!41 = !{!11, !11, i64 0}
!42 = !{!43, !24, i64 0}
!43 = !{!"_ISCSI_SENSE_DATA", !24, i64 0, !7, i64 2}
!44 = !{!30, !7, i64 52}
!45 = !{!30, !6, i64 24}


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

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

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

declare ptr @CopyMem(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1

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

declare zeroext i16 @SwapBytes16(i16 noundef zeroext) local_unnamed_addr #1

declare i32 @SwapBytes32(i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local i64 @IScsiOnScsiRspRcvd(ptr noundef %0, ptr nocapture noundef %1, ptr nocapture noundef %2) local_unnamed_addr #0 {
  %4 = tail call ptr @NetbufGetByte(ptr noundef %0, i32 noundef 0, ptr noundef null) #2
  %5 = icmp eq ptr %4, null
  br i1 %5, label %136, label %6

6:                                                ; preds = %3
  %7 = getelementptr inbounds i8, ptr %4, i64 16
  %8 = load i32, ptr %7, align 4, !tbaa !5
  %9 = tail call i32 @SwapBytes32(i32 noundef %8) #2
  store i32 %9, ptr %7, align 4, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %1, i64 48
  %11 = load i32, ptr %10, align 8, !tbaa !10
  %.not = icmp eq i32 %9, %11
  br i1 %.not, label %12, label %136

12:                                               ; preds = %6
  %13 = getelementptr inbounds i8, ptr %4, i64 24
  %14 = load i32, ptr %13, align 4, !tbaa !15
  %15 = tail call i32 @SwapBytes32(i32 noundef %14) #2
  store i32 %15, ptr %13, align 4, !tbaa !15
  %16 = getelementptr inbounds i8, ptr %1, i64 80
  %17 = load ptr, ptr %16, align 8, !tbaa !16
  %18 = getelementptr inbounds i8, ptr %17, i64 52
  %19 = tail call i64 @IScsiCheckSN(ptr noundef nonnull %18, i32 noundef %15)
  %20 = icmp slt i64 %19, 0
  br i1 %20, label %136, label %21

21:                                               ; preds = %12
  %22 = getelementptr inbounds i8, ptr %4, i64 32
  %23 = load i32, ptr %22, align 4, !tbaa !17
  %24 = tail call i32 @SwapBytes32(i32 noundef %23) #2
  store i32 %24, ptr %22, align 4, !tbaa !17
  %25 = getelementptr inbounds i8, ptr %4, i64 28
  %26 = load i32, ptr %25, align 4, !tbaa !18
  %27 = tail call i32 @SwapBytes32(i32 noundef %26) #2
  store i32 %27, ptr %25, align 4, !tbaa !18
  %28 = load ptr, ptr %16, align 8, !tbaa !16
  %29 = getelementptr inbounds i8, ptr %28, i64 32
  %30 = load ptr, ptr %29, align 8, !tbaa !19
  %31 = load i32, ptr %22, align 4, !tbaa !17
  tail call void @IScsiUpdateCmdSN(ptr noundef %30, i32 noundef %31, i32 noundef %27)
  %32 = getelementptr inbounds i8, ptr %1, i64 25
  store i8 1, ptr %32, align 1, !tbaa !25
  %33 = getelementptr inbounds i8, ptr %4, i64 2
  %34 = load i8, ptr %33, align 2, !tbaa !26
  %35 = getelementptr inbounds i8, ptr %2, i64 50
  store i8 %34, ptr %35, align 2, !tbaa !27
  %.not71 = icmp eq i8 %34, 0
  br i1 %.not71, label %36, label %136

36:                                               ; preds = %21
  %37 = getelementptr inbounds i8, ptr %4, i64 3
  %38 = load i8, ptr %37, align 1, !tbaa !29
  %39 = getelementptr inbounds i8, ptr %2, i64 51
  store i8 %38, ptr %39, align 1, !tbaa !30
  %40 = getelementptr inbounds i8, ptr %4, i64 1
  %41 = load i8, ptr %40, align 1, !tbaa !31
  %42 = zext i8 %41 to i32
  %43 = and i32 %42, 24
  %44 = icmp eq i32 %43, 24
  %45 = and i32 %42, 6
  %46 = icmp eq i32 %45, 6
  %or.cond = or i1 %44, %46
  br i1 %or.cond, label %136, label %47

47:                                               ; preds = %36
  %48 = and i8 %41, 16
  %.not72 = icmp eq i8 %48, 0
  br i1 %.not72, label %56, label %49

49:                                               ; preds = %47
  %50 = getelementptr inbounds i8, ptr %4, i64 40
  %51 = load i32, ptr %50, align 4, !tbaa !33
  %52 = tail call i32 @SwapBytes32(i32 noundef %51) #2
  %53 = getelementptr inbounds i8, ptr %2, i64 40
  %54 = load i32, ptr %53, align 8, !tbaa !34
  %55 = add i32 %54, %52
  store i32 %55, ptr %53, align 8, !tbaa !34
  %.pre = load i8, ptr %40, align 1, !tbaa !31
  br label %56

56:                                               ; preds = %49, %47
  %57 = phi i8 [ %.pre, %49 ], [ %41, %47 ]
  %.064 = phi i64 [ -9223372036854775804, %49 ], [ %19, %47 ]
  %58 = and i8 %57, 8
  %.not73 = icmp eq i8 %58, 0
  br i1 %.not73, label %66, label %59

59:                                               ; preds = %56
  %60 = getelementptr inbounds i8, ptr %4, i64 40
  %61 = load i32, ptr %60, align 4, !tbaa !33
  %62 = tail call i32 @SwapBytes32(i32 noundef %61) #2
  %63 = getelementptr inbounds i8, ptr %2, i64 40
  %64 = load i32, ptr %63, align 8, !tbaa !34
  %65 = sub i32 %64, %62
  store i32 %65, ptr %63, align 8, !tbaa !34
  %.pre79 = load i8, ptr %40, align 1, !tbaa !31
  br label %66

66:                                               ; preds = %59, %56
  %67 = phi i8 [ %.pre79, %59 ], [ %57, %56 ]
  %68 = and i8 %67, 4
  %.not74 = icmp eq i8 %68, 0
  br i1 %.not74, label %84, label %69

69:                                               ; preds = %66
  %70 = getelementptr inbounds i8, ptr %2, i64 49
  %71 = load i8, ptr %70, align 1, !tbaa !35
  %72 = icmp eq i8 %71, 0
  %73 = getelementptr inbounds i8, ptr %4, i64 44
  %74 = load i32, ptr %73, align 4, !tbaa !36
  %75 = tail call i32 @SwapBytes32(i32 noundef %74) #2
  br i1 %72, label %76, label %80

76:                                               ; preds = %69
  %77 = getelementptr inbounds i8, ptr %2, i64 40
  %78 = load i32, ptr %77, align 8, !tbaa !34
  %79 = add i32 %78, %75
  store i32 %79, ptr %77, align 8, !tbaa !34
  br label %84

80:                                               ; preds = %69
  %81 = getelementptr inbounds i8, ptr %2, i64 44
  %82 = load i32, ptr %81, align 4, !tbaa !37
  %83 = add i32 %82, %75
  store i32 %83, ptr %81, align 4, !tbaa !37
  br label %84

84:                                               ; preds = %76, %80, %66
  %.1 = phi i64 [ %.064, %66 ], [ -9223372036854775804, %80 ], [ -9223372036854775804, %76 ]
  %85 = load i8, ptr %40, align 1, !tbaa !31
  %86 = and i8 %85, 2
  %.not75 = icmp eq i8 %86, 0
  br i1 %.not75, label %102, label %87

87:                                               ; preds = %84
  %88 = getelementptr inbounds i8, ptr %2, i64 49
  %89 = load i8, ptr %88, align 1, !tbaa !35
  %90 = icmp eq i8 %89, 0
  %91 = getelementptr inbounds i8, ptr %4, i64 44
  %92 = load i32, ptr %91, align 4, !tbaa !36
  %93 = tail call i32 @SwapBytes32(i32 noundef %92) #2
  br i1 %90, label %94, label %98

94:                                               ; preds = %87
  %95 = getelementptr inbounds i8, ptr %2, i64 40
  %96 = load i32, ptr %95, align 8, !tbaa !34
  %97 = sub i32 %96, %93
  store i32 %97, ptr %95, align 8, !tbaa !34
  br label %102

98:                                               ; preds = %87
  %99 = getelementptr inbounds i8, ptr %2, i64 44
  %100 = load i32, ptr %99, align 4, !tbaa !37
  %101 = sub i32 %100, %93
  store i32 %101, ptr %99, align 4, !tbaa !37
  br label %102

102:                                              ; preds = %94, %98, %84
  %103 = getelementptr inbounds i8, ptr %4, i64 5
  %104 = load i8, ptr %103, align 1, !tbaa !38
  %105 = zext i8 %104 to i32
  %106 = shl nuw nsw i32 %105, 16
  %107 = getelementptr inbounds i8, ptr %4, i64 6
  %108 = load i8, ptr %107, align 1, !tbaa !38
  %109 = zext i8 %108 to i32
  %110 = shl nuw nsw i32 %109, 8
  %111 = or disjoint i32 %110, %106
  %112 = getelementptr inbounds i8, ptr %4, i64 7
  %113 = load i8, ptr %112, align 1, !tbaa !38
  %114 = zext i8 %113 to i32
  %115 = or disjoint i32 %111, %114
  %.not76 = icmp eq i32 %115, 0
  br i1 %.not76, label %134, label %116

116:                                              ; preds = %102
  %117 = tail call ptr @NetbufGetByte(ptr noundef %0, i32 noundef 48, ptr noundef null) #2
  %118 = icmp eq ptr %117, null
  br i1 %118, label %136, label %119

119:                                              ; preds = %116
  %120 = load i16, ptr %117, align 2, !tbaa !39
  %121 = tail call zeroext i16 @SwapBytes16(i16 noundef zeroext %120) #2
  store i16 %121, ptr %117, align 2, !tbaa !39
  %122 = getelementptr inbounds i8, ptr %2, i64 52
  %123 = load i8, ptr %122, align 4, !tbaa !41
  %124 = zext i8 %123 to i16
  %125 = icmp ult i16 %121, %124
  %126 = trunc i16 %121 to i8
  %127 = select i1 %125, i8 %126, i8 %123
  store i8 %127, ptr %122, align 4, !tbaa !41
  %.not77 = icmp eq i8 %127, 0
  br i1 %.not77, label %136, label %128

128:                                              ; preds = %119
  %129 = getelementptr inbounds i8, ptr %2, i64 24
  %130 = load ptr, ptr %129, align 8, !tbaa !42
  %131 = getelementptr inbounds i8, ptr %117, i64 2
  %132 = zext i8 %127 to i64
  %133 = tail call ptr @CopyMem(ptr noundef %130, ptr noundef nonnull %131, i64 noundef %132) #2
  br label %136

134:                                              ; preds = %102
  %135 = getelementptr inbounds i8, ptr %2, i64 52
  store i8 0, ptr %135, align 4, !tbaa !41
  br label %136

136:                                              ; preds = %134, %128, %119, %116, %36, %21, %12, %6, %3
  %.0 = phi i64 [ -9223372036854775784, %3 ], [ -9223372036854775784, %6 ], [ %19, %12 ], [ 0, %21 ], [ -9223372036854775784, %36 ], [ -9223372036854775784, %116 ], [ %.1, %119 ], [ %.1, %128 ], [ %.1, %134 ]
  ret i64 %.0
}

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, !9, i64 16}
!6 = !{!"_SCSI_RESPONSE", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4, !7, i64 5, !7, i64 8, !9, i64 16, !9, i64 20, !9, i64 24, !9, i64 28, !9, i64 32, !9, i64 36, !9, i64 40, !9, i64 44}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"int", !7, i64 0}
!10 = !{!11, !9, i64 48}
!11 = !{!"_ISCSI_TCB", !12, i64 0, !7, i64 16, !9, i64 20, !7, i64 24, !7, i64 25, !9, i64 28, !9, i64 32, !13, i64 40, !9, i64 48, !9, i64 52, !9, i64 56, !14, i64 60, !13, i64 80}
!12 = !{!"_LIST_ENTRY", !13, i64 0, !13, i64 8}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!"_ISCSI_XFER_CONTEXT", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12}
!15 = !{!6, !9, i64 24}
!16 = !{!11, !13, i64 80}
!17 = !{!6, !9, i64 32}
!18 = !{!6, !9, i64 28}
!19 = !{!20, !13, i64 32}
!20 = !{!"_ISCSI_CONNECTION", !9, i64 0, !12, i64 8, !13, i64 24, !13, 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, !21, i64 48, !9, i64 52, !22, i64 56, !7, i64 112, !24, i64 120, !9, i64 288, !9, i64 292, !9, i64 296}
!21 = !{!"short", !7, i64 0}
!22 = !{!"", !9, i64 0, !23, i64 8, !12, i64 16, !12, i64 32, !9, i64 48, !9, i64 52}
!23 = !{!"long long", !7, i64 0}
!24 = !{!"", !7, i64 0, !13, i64 8, !13, i64 16, !13, 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}
!25 = !{!11, !7, i64 25}
!26 = !{!6, !7, i64 2}
!27 = !{!28, !7, i64 50}
!28 = !{!"", !23, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !9, i64 40, !9, i64 44, !7, i64 48, !7, i64 49, !7, i64 50, !7, i64 51, !7, i64 52}
!29 = !{!6, !7, i64 3}
!30 = !{!28, !7, i64 51}
!31 = !{!32, !7, i64 1}
!32 = !{!"_ISCSI_BASIC_HEADER", !7, i64 0, !7, i64 1, !21, i64 2, !7, i64 4, !7, i64 5, !7, i64 8, !9, i64 16, !7, i64 20}
!33 = !{!6, !9, i64 40}
!34 = !{!28, !9, i64 40}
!35 = !{!28, !7, i64 49}
!36 = !{!6, !9, i64 44}
!37 = !{!28, !9, i64 44}
!38 = !{!7, !7, i64 0}
!39 = !{!40, !21, i64 0}
!40 = !{!"_ISCSI_SENSE_DATA", !21, i64 0, !7, i64 2}
!41 = !{!28, !7, i64 52}
!42 = !{!28, !13, i64 24}


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