; LLVM IR from thalium/icebox :: third_party/virtualbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg (Undi16SimpleNetworkTransmit)

; 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.PXENV_UNDI_TRANSMIT_T = type { i16, i8, i8, i16, i16, i16, i16, [2 x i32] }
%struct.EFI_SIMPLE_NETWORK_DEV = type { i64, ptr, %struct._EFI_SIMPLE_NETWORK_PROTOCOL, %struct.EFI_SIMPLE_NETWORK_MODE, %struct._EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL, ptr, ptr, ptr, i8, ptr, ptr, i16, i16, %struct.EFI_SIMPLE_NETWORK_DEV_FIFO, ptr, ptr, %struct.PXENV_UNDI_GET_INFORMATION_T, %struct.PXENV_UNDI_GET_NIC_TYPE_T, %struct.PXENV_UNDI_GET_NDIS_INFO_T, i8, %struct.PXENV_UNDI_ISR_T, ptr, ptr, ptr, ptr, i8, i64, i64, i64, i64, ptr, ptr, ptr, ptr }
%struct._EFI_SIMPLE_NETWORK_PROTOCOL = type { i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.EFI_SIMPLE_NETWORK_MODE = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [16 x %struct.EFI_MAC_ADDRESS], %struct.EFI_MAC_ADDRESS, %struct.EFI_MAC_ADDRESS, %struct.EFI_MAC_ADDRESS, i8, i8, i8, i8, i8 }
%struct.EFI_MAC_ADDRESS = type { [32 x i8] }
%struct._EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL = type { i64, i64, i64, i32, [4 x i8], i8, i8, i8, i8, i16 }
%struct.EFI_SIMPLE_NETWORK_DEV_FIFO = type { i32, i32, [64 x ptr] }
%struct.PXENV_UNDI_GET_INFORMATION_T = type { i16, i16, i16, i16, i16, i16, [16 x i8], [16 x i8], i16, i16, i16 }
%struct.PXENV_UNDI_GET_NIC_TYPE_T = type <{ i16, i8, %union.PCI_PNP_INFO_T }>
%union.PCI_PNP_INFO_T = type { %struct.PCI_INFO_T }
%struct.PCI_INFO_T = type { i16, i16, i8, i8, i8, i8, i16, i16, i16 }
%struct.PXENV_UNDI_GET_NDIS_INFO_T = type <{ i16, [16 x i8], i32, i32, [4 x i32] }>
%struct.PXENV_UNDI_ISR_T = type { i16, i16, i16, i16, i16, i16, i16, i8, i8 }
%struct.PXENV_UNDI_TBD_T = type { i16, i16, i16, i16, [8 x %struct.DataBlk] }
%struct.DataBlk = type { i8, i8, i16, i16, i16 }

@.str.29 = external hidden unnamed_addr constant [160 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [31 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

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

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

declare zeroext i8 @DebugPrintEnabled() #1

declare zeroext i8 @DebugPrintLevelEnabled(i64 noundef) #1

declare void @DebugPrint(i64 noundef, ptr noundef, ...) #1

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

22:                                               ; preds = %7
  store i64 -9223372036854775806, ptr %8, align 8
  store i32 1, ptr %19, align 4
  br label %286

23:                                               ; preds = %7
  store i64 0, ptr %16, align 8, !tbaa !9
  %24 = call zeroext i8 @DebugAssertEnabled()
  %25 = zext i8 %24 to i32
  %26 = icmp ne i32 %25, 0
  br i1 %26, label %27, label %37

27:                                               ; preds = %23
  %28 = load ptr, ptr %9, align 8, !tbaa !5
  %29 = ptrtoint ptr %28 to i64
  %30 = sub i64 %29, ptrtoint (ptr getelementptr inbounds (%struct.EFI_SIMPLE_NETWORK_DEV, ptr null, i32 0, i32 2) to i64)
  %31 = inttoptr i64 %30 to ptr
  %32 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_DEV, ptr %31, i32 0, i32 0
  %33 = load i64, ptr %32, align 8, !tbaa !11
  %34 = icmp ne i64 %33, 909209203
  br i1 %34, label %35, label %37

35:                                               ; preds = %27
  call void @DebugAssert(ptr noundef @.str.29, i64 noundef 3120, ptr noundef @.str.30)
  %36 = load ptr, ptr %9, align 8, !tbaa !5
  br label %42

37:                                               ; preds = %27, %23
  %38 = load ptr, ptr %9, align 8, !tbaa !5
  %39 = ptrtoint ptr %38 to i64
  %40 = sub i64 %39, ptrtoint (ptr getelementptr inbounds (%struct.EFI_SIMPLE_NETWORK_DEV, ptr null, i32 0, i32 2) to i64)
  %41 = inttoptr i64 %40 to ptr
  br label %42

42:                                               ; preds = %37, %35
  %43 = phi ptr [ %36, %35 ], [ %41, %37 ]
  store ptr %43, ptr %17, align 8, !tbaa !5
  %44 = load ptr, ptr %17, align 8, !tbaa !5
  %45 = icmp eq ptr %44, null
  br i1 %45, label %46, label %47

46:                                               ; preds = %42
  store i64 -9223372036854775801, ptr %8, align 8
  store i32 1, ptr %19, align 4
  br label %286

47:                                               ; preds = %42
  %48 = load ptr, ptr %17, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_DEV, ptr %48, i32 0, i32 3
  %50 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %49, i32 0, i32 0
  %51 = load i32, ptr %50, align 8, !tbaa !24
  switch i32 %51, label %54 [
    i32 2, label %55
    i32 0, label %52
    i32 1, label %53
  ]

52:                                               ; preds = %47
  store i64 -9223372036854775789, ptr %8, align 8
  store i32 1, ptr %19, align 4
  br label %286

53:                                               ; preds = %47
  br label %54

54:                                               ; preds = %53, %47
  store i64 -9223372036854775801, ptr %8, align 8
  store i32 1, ptr %19, align 4
  br label %286

55:                                               ; preds = %47
  %56 = load ptr, ptr %12, align 8, !tbaa !5
  %57 = icmp eq ptr %56, null
  br i1 %57, label %58, label %59

58:                                               ; preds = %55
  store i64 -9223372036854775806, ptr %8, align 8
  store i32 1, ptr %19, align 4
  br label %286

59:                                               ; preds = %55
  %60 = load i64, ptr %11, align 8, !tbaa !9
  %61 = load ptr, ptr %17, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_DEV, ptr %61, i32 0, i32 3
  %63 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %62, i32 0, i32 2
  %64 = load i32, ptr %63, align 8, !tbaa !25
  %65 = zext i32 %64 to i64
  %66 = icmp ult i64 %60, %65
  br i1 %66, label %67, label %68

67:                                               ; preds = %59
  store i64 -9223372036854775803, ptr %8, align 8
  store i32 1, ptr %19, align 4
  br label %286

68:                                               ; preds = %59
  %69 = load i64, ptr %10, align 8, !tbaa !9
  %70 = icmp ne i64 %69, 0
  br i1 %70, label %71, label %145

71:                                               ; preds = %68
  %72 = load i64, ptr %10, align 8, !tbaa !9
  %73 = load ptr, ptr %17, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_DEV, ptr %73, i32 0, i32 3
  %75 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %74, i32 0, i32 2
  %76 = load i32, ptr %75, align 8, !tbaa !25
  %77 = zext i32 %76 to i64
  %78 = icmp ne i64 %72, %77
  br i1 %78, label %79, label %80

79:                                               ; preds = %71
  store i64 -9223372036854775806, ptr %8, align 8
  store i32 1, ptr %19, align 4
  br label %286

80:                                               ; preds = %71
  %81 = load ptr, ptr %14, align 8, !tbaa !5
  %82 = icmp eq ptr %81, null
  br i1 %82, label %86, label %83

83:                                               ; preds = %80
  %84 = load ptr, ptr %15, align 8, !tbaa !5
  %85 = icmp eq ptr %84, null
  br i1 %85, label %86, label %87

86:                                               ; preds = %83, %80
  store i64 -9223372036854775806, ptr %8, align 8
  store i32 1, ptr %19, align 4
  br label %286

87:                                               ; preds = %83
  %88 = load ptr, ptr %14, align 8, !tbaa !5
  %89 = icmp ne ptr %88, null
  br i1 %89, label %90, label %99

90:                                               ; preds = %87
  %91 = load ptr, ptr %12, align 8, !tbaa !5
  %92 = load ptr, ptr %14, align 8, !tbaa !5
  %93 = load ptr, ptr %17, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_DEV, ptr %93, i32 0, i32 3
  %95 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %94, i32 0, i32 1
  %96 = load i32, ptr %95, align 4, !tbaa !26
  %97 = zext i32 %96 to i64
  %98 = call ptr @CopyMem(ptr noundef %91, ptr noundef %92, i64 noundef %97)
  br label %99

99:                                               ; preds = %90, %87
  %100 = load ptr, ptr %13, align 8, !tbaa !5
  %101 = icmp eq ptr %100, null
  br i1 %101, label %102, label %106

102:                                              ; preds = %99
  %103 = load ptr, ptr %17, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_DEV, ptr %103, i32 0, i32 3
  %105 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %104, i32 0, i32 11
  store ptr %105, ptr %13, align 8, !tbaa !5
  br label %106

106:                                              ; preds = %102, %99
  %107 = load ptr, ptr %12, align 8, !tbaa !5
  %108 = load ptr, ptr %17, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_DEV, ptr %108, i32 0, i32 3
  %110 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %109, i32 0, i32 1
  %111 = load i32, ptr %110, align 4, !tbaa !26
  %112 = zext i32 %111 to i64
  %113 = getelementptr inbounds i8, ptr %107, i64 %112
  %114 = load ptr, ptr %13, align 8, !tbaa !5
  %115 = load ptr, ptr %17, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_DEV, ptr %115, i32 0, i32 3
  %117 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %116, i32 0, i32 1
  %118 = load i32, ptr %117, align 4, !tbaa !26
  %119 = zext i32 %118 to i64
  %120 = call ptr @CopyMem(ptr noundef %113, ptr noundef %114, i64 noundef %119)
  %121 = load ptr, ptr %15, align 8, !tbaa !5
  %122 = icmp ne ptr %121, null
  br i1 %122, label %123, label %144

123:                                              ; preds = %106
  %124 = load ptr, ptr %15, align 8, !tbaa !5
  %125 = load i16, ptr %124, align 2, !tbaa !27
  %126 = zext i16 %125 to i32
  %127 = and i32 %126, 255
  %128 = shl i32 %127, 8
  %129 = load ptr, ptr %15, align 8, !tbaa !5
  %130 = load i16, ptr %129, align 2, !tbaa !27
  %131 = zext i16 %130 to i32
  %132 = ashr i32 %131, 8
  %133 = and i32 %132, 255
  %134 = or i32 %128, %133
  %135 = trunc i32 %134 to i16
  %136 = load ptr, ptr %12, align 8, !tbaa !5
  %137 = load ptr, ptr %17, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_DEV, ptr %137, i32 0, i32 3
  %139 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %138, i32 0, i32 1
  %140 = load i32, ptr %139, align 4, !tbaa !26
  %141 = mul i32 2, %140
  %142 = zext i32 %141 to i64
  %143 = getelementptr inbounds i8, ptr %136, i64 %142
  store i16 %135, ptr %143, align 2, !tbaa !27
  br label %144

144:                                              ; preds = %123, %106
  br label %145

145:                                              ; preds = %144, %68
  %146 = load ptr, ptr %17, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_DEV, ptr %146, i32 0, i32 13
  %148 = call zeroext i8 @SimpleNetworkTransmitFifoFull(ptr noundef %147)
  %149 = icmp ne i8 %148, 0
  br i1 %149, label %150, label %151

150:                                              ; preds = %145
  store i64 -9223372036854775802, ptr %8, align 8
  store i32 1, ptr %19, align 4
  br label %286

151:                                              ; preds = %145
  br label %152

152:                                              ; preds = %151
  %153 = call zeroext i8 @DebugPrintEnabled()
  %154 = icmp ne i8 %153, 0
  br i1 %154, label %155, label %163

155:                                              ; preds = %152
  br label %156

156:                                              ; preds = %155
  %157 = call zeroext i8 @DebugPrintLevelEnabled(i64 noundef 16384)
  %158 = icmp ne i8 %157, 0
  br i1 %158, label %159, label %160

159:                                              ; preds = %156
  call void (i64, ptr, ...) @DebugPrint(i64 noundef 16384, ptr noundef @.str.78)
  br label %160

160:                                              ; preds = %159, %156
  br label %161

161:                                              ; preds = %160
  br label %162

162:                                              ; preds = %161
  br label %163

163:                                              ; preds = %162, %152
  br label %164

164:                                              ; preds = %163
  br label %165

165:                                              ; preds = %164
  %166 = getelementptr inbounds %struct.PXENV_UNDI_TRANSMIT_T, ptr %18, i32 0, i32 0
  store i16 -21555, ptr %166, align 1, !tbaa !28
  %167 = getelementptr inbounds %struct.PXENV_UNDI_TRANSMIT_T, ptr %18, i32 0, i32 1
  store i8 0, ptr %167, align 1, !tbaa !30
  %168 = getelementptr inbounds %struct.PXENV_UNDI_TRANSMIT_T, ptr %18, i32 0, i32 2
  store i8 0, ptr %168, align 1, !tbaa !31
  %169 = load ptr, ptr %17, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_DEV, ptr %169, i32 0, i32 24
  %171 = load ptr, ptr %170, align 8, !tbaa !32
  %172 = ptrtoint ptr %171 to i64
  %173 = trunc i64 %172 to i32
  %174 = and i32 %173, 15
  %175 = trunc i32 %174 to i16
  %176 = getelementptr inbounds %struct.PXENV_UNDI_TRANSMIT_T, ptr %18, i32 0, i32 3
  store i16 %175, ptr %176, align 1, !tbaa !33
  %177 = load ptr, ptr %17, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_DEV, ptr %177, i32 0, i32 24
  %179 = load ptr, ptr %178, align 8, !tbaa !32
  %180 = ptrtoint ptr %179 to i64
  %181 = trunc i64 %180 to i32
  %182 = lshr i32 %181, 4
  %183 = trunc i32 %182 to i16
  %184 = getelementptr inbounds %struct.PXENV_UNDI_TRANSMIT_T, ptr %18, i32 0, i32 4
  store i16 %183, ptr %184, align 1, !tbaa !34
  %185 = load ptr, ptr %17, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_DEV, ptr %185, i32 0, i32 21
  %187 = load ptr, ptr %186, align 8, !tbaa !35
  %188 = ptrtoint ptr %187 to i64
  %189 = trunc i64 %188 to i32
  %190 = and i32 %189, 15
  %191 = trunc i32 %190 to i16
  %192 = getelementptr inbounds %struct.PXENV_UNDI_TRANSMIT_T, ptr %18, i32 0, i32 5
  store i16 %191, ptr %192, align 1, !tbaa !36
  %193 = load ptr, ptr %17, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_DEV, ptr %193, i32 0, i32 21
  %195 = load ptr, ptr %194, align 8, !tbaa !35
  %196 = ptrtoint ptr %195 to i64
  %197 = trunc i64 %196 to i32
  %198 = lshr i32 %197, 4
  %199 = trunc i32 %198 to i16
  %200 = getelementptr inbounds %struct.PXENV_UNDI_TRANSMIT_T, ptr %18, i32 0, i32 6
  store i16 %199, ptr %200, align 1, !tbaa !37
  %201 = getelementptr inbounds %struct.PXENV_UNDI_TRANSMIT_T, ptr %18, i32 0, i32 7
  %202 = getelementptr inbounds [2 x i32], ptr %201, i64 0, i64 0
  store i32 0, ptr %202, align 1, !tbaa !38
  %203 = getelementptr inbounds %struct.PXENV_UNDI_TRANSMIT_T, ptr %18, i32 0, i32 7
  %204 = getelementptr inbounds [2 x i32], ptr %203, i64 0, i64 1
  store i32 0, ptr %204, align 1, !tbaa !38
  %205 = load ptr, ptr %17, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_DEV, ptr %205, i32 0, i32 24
  %207 = load ptr, ptr %206, align 8, !tbaa !32
  %208 = load ptr, ptr %12, align 8, !tbaa !5
  %209 = load ptr, ptr %17, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_DEV, ptr %209, i32 0, i32 3
  %211 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %210, i32 0, i32 1
  %212 = load i32, ptr %211, align 4, !tbaa !26
  %213 = zext i32 %212 to i64
  %214 = call ptr @CopyMem(ptr noundef %207, ptr noundef %208, i64 noundef %213)
  %215 = load ptr, ptr %17, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_DEV, ptr %215, i32 0, i32 22
  %217 = load ptr, ptr %216, align 8, !tbaa !39
  %218 = load ptr, ptr %12, align 8, !tbaa !5
  %219 = load ptr, ptr %17, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_DEV, ptr %219, i32 0, i32 3
  %221 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %220, i32 0, i32 2
  %222 = load i32, ptr %221, align 8, !tbaa !25
  %223 = zext i32 %222 to i64
  %224 = call ptr @CopyMem(ptr noundef %217, ptr noundef %218, i64 noundef %223)
  %225 = load ptr, ptr %17, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_DEV, ptr %225, i32 0, i32 3
  %227 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %226, i32 0, i32 2
  %228 = load i32, ptr %227, align 8, !tbaa !25
  %229 = trunc i32 %228 to i16
  %230 = load ptr, ptr %17, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_DEV, ptr %230, i32 0, i32 21
  %232 = load ptr, ptr %231, align 8, !tbaa !35
  %233 = getelementptr inbounds %struct.PXENV_UNDI_TBD_T, ptr %232, i32 0, i32 0
  store i16 %229, ptr %233, align 1, !tbaa !40
  %234 = load i64, ptr %11, align 8, !tbaa !9
  %235 = load ptr, ptr %17, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_DEV, ptr %235, i32 0, i32 21
  %237 = load ptr, ptr %236, align 8, !tbaa !35
  %238 = getelementptr inbounds %struct.PXENV_UNDI_TBD_T, ptr %237, i32 0, i32 0
  %239 = load i16, ptr %238, align 1, !tbaa !40
  %240 = zext i16 %239 to i64
  %241 = sub i64 %234, %240
  %242 = trunc i64 %241 to i16
  %243 = load ptr, ptr %17, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_DEV, ptr %243, i32 0, i32 21
  %245 = load ptr, ptr %244, align 8, !tbaa !35
  %246 = getelementptr inbounds %struct.PXENV_UNDI_TBD_T, ptr %245, i32 0, i32 4
  %247 = getelementptr inbounds [8 x %struct.DataBlk], ptr %246, i64 0, i64 0
  %248 = getelementptr inbounds %struct.DataBlk, ptr %247, i32 0, i32 2
  store i16 %242, ptr %248, align 1, !tbaa !42
  %249 = load ptr, ptr %17, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_DEV, ptr %249, i32 0, i32 23
  %251 = load ptr, ptr %250, align 8, !tbaa !44
  %252 = load ptr, ptr %12, align 8, !tbaa !5
  %253 = load ptr, ptr %17, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_DEV, ptr %253, i32 0, i32 3
  %255 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %254, i32 0, i32 2
  %256 = load i32, ptr %255, align 8, !tbaa !25
  %257 = zext i32 %256 to i64
  %258 = getelementptr inbounds i8, ptr %252, i64 %257
  %259 = load ptr, ptr %17, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_DEV, ptr %259, i32 0, i32 21
  %261 = load ptr, ptr %260, align 8, !tbaa !35
  %262 = getelementptr inbounds %struct.PXENV_UNDI_TBD_T, ptr %261, i32 0, i32 4
  %263 = getelementptr inbounds [8 x %struct.DataBlk], ptr %262, i64 0, i64 0
  %264 = getelementptr inbounds %struct.DataBlk, ptr %263, i32 0, i32 2
  %265 = load i16, ptr %264, align 1, !tbaa !42
  %266 = zext i16 %265 to i64
  %267 = call ptr @CopyMem(ptr noundef %251, ptr noundef %258, i64 noundef %266)
  %268 = getelementptr inbounds %struct.PXENV_UNDI_TRANSMIT_T, ptr %18, i32 0, i32 0
  store i16 0, ptr %268, align 1, !tbaa !28
  %269 = load ptr, ptr %17, align 8, !tbaa !5
  %270 = call i64 @PxeUndiTransmit(ptr noundef %269, ptr noundef %18)
  store i64 %270, ptr %16, align 8, !tbaa !9
  %271 = load i64, ptr %16, align 8, !tbaa !9
  %272 = icmp slt i64 %271, 0
  br i1 %272, label %273, label %275

273:                                              ; preds = %165
  %274 = load i64, ptr %16, align 8, !tbaa !9
  store i64 %274, ptr %8, align 8
  store i32 1, ptr %19, align 4
  br label %286

275:                                              ; preds = %165
  %276 = getelementptr inbounds %struct.PXENV_UNDI_TRANSMIT_T, ptr %18, i32 0, i32 0
  %277 = load i16, ptr %276, align 1, !tbaa !28
  %278 = zext i16 %277 to i32
  switch i32 %278, label %280 [
    i32 6, label %279
    i32 0, label %281
  ]

279:                                              ; preds = %275
  store i64 -9223372036854775802, ptr %8, align 8
  store i32 1, ptr %19, align 4
  br label %286

280:                                              ; preds = %275
  store i64 -9223372036854775801, ptr %8, align 8
  store i32 1, ptr %19, align 4
  br label %286

281:                                              ; preds = %275
  %282 = load ptr, ptr %17, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_DEV, ptr %282, i32 0, i32 13
  %284 = load ptr, ptr %12, align 8, !tbaa !5
  %285 = call i64 @SimpleNetworkTransmitFifoAdd(ptr noundef %283, ptr noundef %284)
  store i64 0, ptr %8, align 8
  store i32 1, ptr %19, align 4
  br label %286

286:                                              ; preds = %281, %280, %279, %273, %150, %86, %79, %67, %58, %54, %52, %46, %22
  call void @llvm.lifetime.end.p0(i64 20, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  %287 = load i64, ptr %8, align 8
  ret i64 %287
}

declare zeroext i8 @DebugAssertEnabled() #1

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

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

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

declare i64 @PxeUndiTransmit(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, !10, i64 0}
!10 = !{!"long long", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"", !10, i64 0, !6, i64 8, !13, i64 16, !14, i64 144, !17, i64 800, !6, i64 840, !6, i64 848, !6, i64 856, !7, i64 864, !6, i64 872, !6, i64 880, !18, i64 888, !18, i64 890, !19, i64 896, !6, i64 1416, !6, i64 1424, !20, i64 1432, !21, i64 1482, !22, i64 1499, !7, i64 1541, !23, i64 1542, !6, i64 1560, !6, i64 1568, !6, i64 1576, !6, i64 1584, !7, i64 1592, !10, i64 1600, !10, i64 1608, !10, i64 1616, !10, i64 1624, !6, i64 1632, !6, i64 1640, !6, i64 1648, !6, i64 1656}
!13 = !{!"_EFI_SIMPLE_NETWORK_PROTOCOL", !10, i64 0, !6, i64 8, !6, i64 16, !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}
!14 = !{!"", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !15, i64 32, !15, i64 36, !7, i64 40, !16, i64 552, !16, i64 584, !16, i64 616, !7, i64 648, !7, i64 649, !7, i64 650, !7, i64 651, !7, i64 652}
!15 = !{!"int", !7, i64 0}
!16 = !{!"", !7, i64 0}
!17 = !{!"_EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL", !10, i64 0, !10, i64 8, !10, i64 16, !15, i64 24, !7, i64 28, !7, i64 32, !7, i64 33, !7, i64 34, !7, i64 35, !18, i64 36}
!18 = !{!"short", !7, i64 0}
!19 = !{!"", !15, i64 0, !15, i64 4, !7, i64 8}
!20 = !{!"", !18, i64 0, !18, i64 2, !18, i64 4, !18, i64 6, !18, i64 8, !18, i64 10, !7, i64 12, !7, i64 28, !18, i64 44, !18, i64 46, !18, i64 48}
!21 = !{!"", !18, i64 0, !7, i64 2, !7, i64 3}
!22 = !{!"", !18, i64 0, !7, i64 2, !15, i64 18, !15, i64 22, !7, i64 26}
!23 = !{!"", !18, i64 0, !18, i64 2, !18, i64 4, !18, i64 6, !18, i64 8, !18, i64 10, !18, i64 12, !7, i64 14, !7, i64 15}
!24 = !{!12, !15, i64 144}
!25 = !{!12, !15, i64 152}
!26 = !{!12, !15, i64 148}
!27 = !{!18, !18, i64 0}
!28 = !{!29, !18, i64 0}
!29 = !{!"", !18, i64 0, !7, i64 2, !7, i64 3, !18, i64 4, !18, i64 6, !18, i64 8, !18, i64 10, !7, i64 12}
!30 = !{!29, !7, i64 2}
!31 = !{!29, !7, i64 3}
!32 = !{!12, !6, i64 1584}
!33 = !{!29, !18, i64 4}
!34 = !{!29, !18, i64 6}
!35 = !{!12, !6, i64 1560}
!36 = !{!29, !18, i64 8}
!37 = !{!29, !18, i64 10}
!38 = !{!15, !15, i64 0}
!39 = !{!12, !6, i64 1568}
!40 = !{!41, !18, i64 0}
!41 = !{!"", !18, i64 0, !18, i64 2, !18, i64 4, !18, i64 6, !7, i64 8}
!42 = !{!43, !18, i64 2}
!43 = !{!"DataBlk", !7, i64 0, !7, i64 1, !18, i64 2, !18, i64 4, !18, i64 6}
!44 = !{!12, !6, i64 1576}


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

%struct.PXENV_UNDI_TRANSMIT_T = type { i16, i8, i8, i16, i16, i16, i16, [2 x i32] }

@.str.29 = external hidden unnamed_addr constant [160 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [31 x i8], align 1

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

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

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

declare zeroext i8 @DebugPrintEnabled() local_unnamed_addr #1

declare zeroext i8 @DebugPrintLevelEnabled(i64 noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local range(i64 -9223372036854775808, 1) i64 @Undi16SimpleNetworkTransmit(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef readonly %6) local_unnamed_addr #2 {
  %8 = alloca %struct.PXENV_UNDI_TRANSMIT_T, align 2
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %8) #4
  %9 = icmp eq ptr %0, null
  br i1 %9, label %107, label %10

10:                                               ; preds = %7
  %11 = tail call zeroext i8 @DebugAssertEnabled() #4
  %.not = icmp eq i8 %11, 0
  %.pre = ptrtoint ptr %0 to i64
  %.pre72 = add i64 %.pre, -16
  %.pre74 = inttoptr i64 %.pre72 to ptr
  br i1 %.not, label %._crit_edge, label %12

12:                                               ; preds = %10
  %13 = load i64, ptr %.pre74, align 8, !tbaa !5
  %.not66 = icmp eq i64 %13, 909209203
  br i1 %.not66, label %._crit_edge, label %.thread

.thread:                                          ; preds = %12
  tail call void @DebugAssert(ptr noundef nonnull @.str.29, i64 noundef 3120, ptr noundef nonnull @.str.30) #4
  br label %15

._crit_edge:                                      ; preds = %10, %12
  %14 = icmp eq i64 %.pre72, 0
  br i1 %14, label %107, label %15

15:                                               ; preds = %.thread, %._crit_edge
  %16 = phi ptr [ %0, %.thread ], [ %.pre74, %._crit_edge ]
  %17 = getelementptr inbounds i8, ptr %16, i64 144
  %18 = load i32, ptr %17, align 8, !tbaa !22
  switch i32 %18, label %19 [
    i32 2, label %20
    i32 0, label %107
  ]

19:                                               ; preds = %15
  br label %107

20:                                               ; preds = %15
  %21 = icmp eq ptr %3, null
  br i1 %21, label %107, label %22

22:                                               ; preds = %20
  %23 = getelementptr inbounds i8, ptr %16, i64 152
  %24 = load i32, ptr %23, align 8, !tbaa !23
  %25 = zext i32 %24 to i64
  %26 = icmp ugt i64 %25, %2
  br i1 %26, label %107, label %27

27:                                               ; preds = %22
  %.not67 = icmp eq i64 %1, 0
  br i1 %.not67, label %48, label %28

28:                                               ; preds = %27
  %.not68 = icmp eq i64 %25, %1
  br i1 %.not68, label %29, label %107

29:                                               ; preds = %28
  %30 = icmp eq ptr %5, null
  %31 = icmp eq ptr %6, null
  %or.cond = or i1 %30, %31
  br i1 %or.cond, label %107, label %32

32:                                               ; preds = %29
  %33 = getelementptr inbounds i8, ptr %16, i64 148
  %34 = load i32, ptr %33, align 4, !tbaa !24
  %35 = zext i32 %34 to i64
  %36 = tail call ptr @CopyMem(ptr noundef nonnull %3, ptr noundef nonnull %5, i64 noundef %35) #4
  %37 = icmp eq ptr %4, null
  %38 = getelementptr inbounds i8, ptr %16, i64 696
  %.055 = select i1 %37, ptr %38, ptr %4
  %39 = load i32, ptr %33, align 4, !tbaa !24
  %40 = zext i32 %39 to i64
  %41 = getelementptr inbounds i8, ptr %3, i64 %40
  %42 = tail call ptr @CopyMem(ptr noundef nonnull %41, ptr noundef nonnull %.055, i64 noundef %40) #4
  %43 = load i16, ptr %6, align 2, !tbaa !25
  %rev = tail call i16 @llvm.bswap.i16(i16 %43)
  %44 = load i32, ptr %33, align 4, !tbaa !24
  %45 = shl i32 %44, 1
  %46 = zext i32 %45 to i64
  %47 = getelementptr inbounds i8, ptr %3, i64 %46
  store i16 %rev, ptr %47, align 2, !tbaa !25
  br label %48

48:                                               ; preds = %32, %27
  %49 = getelementptr inbounds i8, ptr %16, i64 896
  %50 = tail call zeroext i8 @SimpleNetworkTransmitFifoFull(ptr noundef nonnull %49)
  %.not69 = icmp eq i8 %50, 0
  br i1 %.not69, label %51, label %107

51:                                               ; preds = %48
  %52 = tail call zeroext i8 @DebugPrintEnabled() #4
  %.not70 = icmp eq i8 %52, 0
  br i1 %.not70, label %56, label %53

53:                                               ; preds = %51
  %54 = tail call zeroext i8 @DebugPrintLevelEnabled(i64 noundef 16384) #4
  %.not71 = icmp eq i8 %54, 0
  br i1 %.not71, label %56, label %55

55:                                               ; preds = %53
  tail call void (i64, ptr, ...) @DebugPrint(i64 noundef 16384, ptr noundef nonnull @.str.78) #4
  br label %56

56:                                               ; preds = %53, %55, %51
  %57 = getelementptr inbounds i8, ptr %8, i64 2
  store i8 0, ptr %57, align 2, !tbaa !26
  %58 = getelementptr inbounds i8, ptr %8, i64 3
  store i8 0, ptr %58, align 1, !tbaa !28
  %59 = getelementptr inbounds i8, ptr %16, i64 1584
  %60 = load ptr, ptr %59, align 8, !tbaa !29
  %61 = ptrtoint ptr %60 to i64
  %62 = trunc i64 %61 to i16
  %63 = and i16 %62, 15
  %64 = getelementptr inbounds i8, ptr %8, i64 4
  store i16 %63, ptr %64, align 2, !tbaa !30
  %65 = lshr i64 %61, 4
  %66 = trunc i64 %65 to i16
  %67 = getelementptr inbounds i8, ptr %8, i64 6
  store i16 %66, ptr %67, align 2, !tbaa !31
  %68 = getelementptr inbounds i8, ptr %16, i64 1560
  %69 = load ptr, ptr %68, align 8, !tbaa !32
  %70 = ptrtoint ptr %69 to i64
  %71 = trunc i64 %70 to i16
  %72 = and i16 %71, 15
  %73 = getelementptr inbounds i8, ptr %8, i64 8
  store i16 %72, ptr %73, align 2, !tbaa !33
  %74 = lshr i64 %70, 4
  %75 = trunc i64 %74 to i16
  %76 = getelementptr inbounds i8, ptr %8, i64 10
  store i16 %75, ptr %76, align 2, !tbaa !34
  %77 = getelementptr inbounds i8, ptr %8, i64 12
  store i32 0, ptr %77, align 2, !tbaa !35
  %78 = getelementptr inbounds i8, ptr %8, i64 16
  store i32 0, ptr %78, align 2, !tbaa !35
  %79 = getelementptr inbounds i8, ptr %16, i64 148
  %80 = load i32, ptr %79, align 4, !tbaa !24
  %81 = zext i32 %80 to i64
  %82 = tail call ptr @CopyMem(ptr noundef %60, ptr noundef nonnull %3, i64 noundef %81) #4
  %83 = getelementptr inbounds i8, ptr %16, i64 1568
  %84 = load ptr, ptr %83, align 8, !tbaa !36
  %85 = load i32, ptr %23, align 8, !tbaa !23
  %86 = zext i32 %85 to i64
  %87 = tail call ptr @CopyMem(ptr noundef %84, ptr noundef nonnull %3, i64 noundef %86) #4
  %88 = load i32, ptr %23, align 8, !tbaa !23
  %89 = trunc i32 %88 to i16
  %90 = load ptr, ptr %68, align 8, !tbaa !32
  store i16 %89, ptr %90, align 1, !tbaa !37
  %91 = zext i32 %88 to i64
  %92 = sub i64 %2, %91
  %93 = trunc i64 %92 to i16
  %94 = getelementptr inbounds i8, ptr %90, i64 10
  store i16 %93, ptr %94, align 1, !tbaa !39
  %95 = getelementptr inbounds i8, ptr %16, i64 1576
  %96 = load ptr, ptr %95, align 8, !tbaa !41
  %97 = getelementptr inbounds i8, ptr %3, i64 %91
  %98 = and i64 %92, 65535
  %99 = tail call ptr @CopyMem(ptr noundef %96, ptr noundef nonnull %97, i64 noundef %98) #4
  store i16 0, ptr %8, align 2, !tbaa !42
  %100 = call i64 @PxeUndiTransmit(ptr noundef nonnull %16, ptr noundef nonnull %8) #4
  %101 = icmp slt i64 %100, 0
  br i1 %101, label %107, label %102

102:                                              ; preds = %56
  %103 = load i16, ptr %8, align 2, !tbaa !42
  switch i16 %103, label %104 [
    i16 6, label %107
    i16 0, label %105
  ]

104:                                              ; preds = %102
  br label %107

105:                                              ; preds = %102
  %106 = call i64 @SimpleNetworkTransmitFifoAdd(ptr noundef nonnull %49, ptr noundef nonnull %3)
  br label %107

107:                                              ; preds = %102, %56, %48, %29, %28, %22, %20, %15, %._crit_edge, %7, %105, %104, %19
  %.0 = phi i64 [ -9223372036854775801, %19 ], [ -9223372036854775801, %104 ], [ 0, %105 ], [ -9223372036854775806, %7 ], [ -9223372036854775801, %._crit_edge ], [ -9223372036854775789, %15 ], [ -9223372036854775806, %20 ], [ -9223372036854775803, %22 ], [ -9223372036854775806, %28 ], [ -9223372036854775806, %29 ], [ -9223372036854775802, %48 ], [ %100, %56 ], [ -9223372036854775802, %102 ]
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %8) #4
  ret i64 %.0
}

declare zeroext i8 @DebugAssertEnabled() local_unnamed_addr #1

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i16 @llvm.bswap.i16(i16) #3

attributes #0 = { mustprogress 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 0}
!6 = !{!"", !7, i64 0, !10, i64 8, !11, i64 16, !12, i64 144, !15, i64 800, !10, i64 840, !10, i64 848, !10, i64 856, !8, i64 864, !10, i64 872, !10, i64 880, !16, i64 888, !16, i64 890, !17, i64 896, !10, i64 1416, !10, i64 1424, !18, i64 1432, !19, i64 1482, !20, i64 1499, !8, i64 1541, !21, i64 1542, !10, i64 1560, !10, i64 1568, !10, i64 1576, !10, i64 1584, !8, i64 1592, !7, i64 1600, !7, i64 1608, !7, i64 1616, !7, i64 1624, !10, i64 1632, !10, i64 1640, !10, i64 1648, !10, i64 1656}
!7 = !{!"long long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_EFI_SIMPLE_NETWORK_PROTOCOL", !7, i64 0, !10, i64 8, !10, i64 16, !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}
!12 = !{!"", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !8, i64 40, !14, i64 552, !14, i64 584, !14, i64 616, !8, i64 648, !8, i64 649, !8, i64 650, !8, i64 651, !8, i64 652}
!13 = !{!"int", !8, i64 0}
!14 = !{!"", !8, i64 0}
!15 = !{!"_EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL", !7, i64 0, !7, i64 8, !7, i64 16, !13, i64 24, !8, i64 28, !8, i64 32, !8, i64 33, !8, i64 34, !8, i64 35, !16, i64 36}
!16 = !{!"short", !8, i64 0}
!17 = !{!"", !13, i64 0, !13, i64 4, !8, i64 8}
!18 = !{!"", !16, i64 0, !16, i64 2, !16, i64 4, !16, i64 6, !16, i64 8, !16, i64 10, !8, i64 12, !8, i64 28, !16, i64 44, !16, i64 46, !16, i64 48}
!19 = !{!"", !16, i64 0, !8, i64 2, !8, i64 3}
!20 = !{!"", !16, i64 0, !8, i64 2, !13, i64 18, !13, i64 22, !8, i64 26}
!21 = !{!"", !16, i64 0, !16, i64 2, !16, i64 4, !16, i64 6, !16, i64 8, !16, i64 10, !16, i64 12, !8, i64 14, !8, i64 15}
!22 = !{!6, !13, i64 144}
!23 = !{!6, !13, i64 152}
!24 = !{!6, !13, i64 148}
!25 = !{!16, !16, i64 0}
!26 = !{!27, !8, i64 2}
!27 = !{!"", !16, i64 0, !8, i64 2, !8, i64 3, !16, i64 4, !16, i64 6, !16, i64 8, !16, i64 10, !8, i64 12}
!28 = !{!27, !8, i64 3}
!29 = !{!6, !10, i64 1584}
!30 = !{!27, !16, i64 4}
!31 = !{!27, !16, i64 6}
!32 = !{!6, !10, i64 1560}
!33 = !{!27, !16, i64 8}
!34 = !{!27, !16, i64 10}
!35 = !{!13, !13, i64 0}
!36 = !{!6, !10, i64 1568}
!37 = !{!38, !16, i64 0}
!38 = !{!"", !16, i64 0, !16, i64 2, !16, i64 4, !16, i64 6, !8, i64 8}
!39 = !{!40, !16, i64 2}
!40 = !{!"DataBlk", !8, i64 0, !8, i64 1, !16, i64 2, !16, i64 4, !16, i64 6}
!41 = !{!6, !10, i64 1576}
!42 = !{!27, !16, i64 0}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass