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

; 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.MNP_DEVICE_DATA = type { i32, ptr, ptr, %struct._EFI_VLAN_CONFIG_PROTOCOL, i64, ptr, ptr, %struct._LIST_ENTRY, i64, %struct._LIST_ENTRY, i32, ptr, %struct.NET_BUF_QUEUE, i64, ptr, i8, ptr, ptr, i32, i32, i32, i32, i32, i32, ptr, ptr }
%struct._EFI_VLAN_CONFIG_PROTOCOL = type { ptr, ptr, ptr }
%struct._LIST_ENTRY = type { ptr, ptr }
%struct.NET_BUF_QUEUE = type { i32, i64, %struct._LIST_ENTRY, %struct._LIST_ENTRY, i32, i32 }
%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.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 }

@.str = external hidden unnamed_addr constant [147 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [125 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [47 x i8], align 1

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

declare zeroext i8 @DebugAssertEnabled() #1

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

declare zeroext i8 @DebugPrintEnabled() #1

declare zeroext i8 @DebugPrintLevelEnabled(i64 noundef) #1

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

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

declare ptr @MnpAllocNbuf(ptr noundef) #1

declare void @MnpFreeNbuf(ptr noundef, ptr noundef) #1

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

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

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

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

16:                                               ; preds = %1
  %17 = call zeroext i8 @DebugAssertEnabled()
  %18 = icmp ne i8 %17, 0
  br i1 %18, label %19, label %29

19:                                               ; preds = %16
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = icmp ne ptr %20, null
  br i1 %21, label %22, label %27

22:                                               ; preds = %19
  %23 = load ptr, ptr %3, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.MNP_DEVICE_DATA, ptr %23, i32 0, i32 0
  %25 = load i32, ptr %24, align 8, !tbaa !9
  %26 = icmp eq i32 %25, 1148218957
  br i1 %26, label %28, label %27

27:                                               ; preds = %22, %19
  call void @DebugAssert(ptr noundef @.str, i64 noundef 885, ptr noundef @.str.8)
  br label %28

28:                                               ; preds = %27, %22
  br label %29

29:                                               ; preds = %28, %16
  br label %30

30:                                               ; preds = %29
  br label %31

31:                                               ; preds = %30
  %32 = load ptr, ptr %3, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.MNP_DEVICE_DATA, ptr %32, i32 0, i32 6
  %34 = load ptr, ptr %33, align 8, !tbaa !16
  store ptr %34, ptr %5, align 8, !tbaa !5
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct._EFI_SIMPLE_NETWORK_PROTOCOL, ptr %35, i32 0, i32 15
  %37 = load ptr, ptr %36, align 8, !tbaa !17
  %38 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %37, i32 0, i32 0
  %39 = load i32, ptr %38, align 4, !tbaa !19
  %40 = icmp ne i32 %39, 2
  br i1 %40, label %41, label %42

41:                                               ; preds = %31
  store i64 -9223372036854775789, ptr %2, align 8
  store i32 1, ptr %14, align 4
  br label %287

42:                                               ; preds = %31
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.MNP_DEVICE_DATA, ptr %43, i32 0, i32 24
  %45 = load ptr, ptr %44, align 8, !tbaa !22
  %46 = icmp eq ptr %45, null
  br i1 %46, label %47, label %65

47:                                               ; preds = %42
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  %49 = call ptr @MnpAllocNbuf(ptr noundef %48)
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.MNP_DEVICE_DATA, ptr %50, i32 0, i32 24
  store ptr %49, ptr %51, align 8, !tbaa !22
  %52 = load ptr, ptr %3, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.MNP_DEVICE_DATA, ptr %52, i32 0, i32 24
  %54 = load ptr, ptr %53, align 8, !tbaa !22
  %55 = icmp eq ptr %54, null
  br i1 %55, label %56, label %57

56:                                               ; preds = %47
  store i64 -9223372036854775801, ptr %2, align 8
  store i32 1, ptr %14, align 4
  br label %287

57:                                               ; preds = %47
  %58 = load ptr, ptr %3, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.MNP_DEVICE_DATA, ptr %58, i32 0, i32 24
  %60 = load ptr, ptr %59, align 8, !tbaa !22
  %61 = load ptr, ptr %3, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.MNP_DEVICE_DATA, ptr %61, i32 0, i32 22
  %63 = load i32, ptr %62, align 8, !tbaa !23
  %64 = call ptr @NetbufAllocSpace(ptr noundef %60, i32 noundef %63, i8 noundef zeroext 0)
  br label %65

65:                                               ; preds = %57, %42
  %66 = load ptr, ptr %3, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.MNP_DEVICE_DATA, ptr %66, i32 0, i32 24
  %68 = load ptr, ptr %67, align 8, !tbaa !22
  store ptr %68, ptr %6, align 8, !tbaa !5
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.NET_BUF, ptr %69, i32 0, i32 9
  %71 = load i32, ptr %70, align 4, !tbaa !24
  %72 = zext i32 %71 to i64
  store i64 %72, ptr %8, align 8, !tbaa !26
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = call ptr @NetbufGetByte(ptr noundef %73, i32 noundef 0, ptr noundef null)
  store ptr %74, ptr %7, align 8, !tbaa !5
  br label %75

75:                                               ; preds = %65
  %76 = call zeroext i8 @DebugAssertEnabled()
  %77 = icmp ne i8 %76, 0
  br i1 %77, label %78, label %83

78:                                               ; preds = %75
  %79 = load ptr, ptr %7, align 8, !tbaa !5
  %80 = icmp ne ptr %79, null
  br i1 %80, label %82, label %81

81:                                               ; preds = %78
  call void @DebugAssert(ptr noundef @.str, i64 noundef 918, ptr noundef @.str.17)
  br label %82

82:                                               ; preds = %81, %78
  br label %83

83:                                               ; preds = %82, %75
  br label %84

84:                                               ; preds = %83
  br label %85

85:                                               ; preds = %84
  %86 = load ptr, ptr %5, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct._EFI_SIMPLE_NETWORK_PROTOCOL, ptr %86, i32 0, i32 13
  %88 = load ptr, ptr %87, align 8, !tbaa !27
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  %91 = call i64 %88(ptr noundef %89, ptr noundef %9, ptr noundef %8, ptr noundef %90, ptr noundef null, ptr noundef null, ptr noundef null)
  store i64 %91, ptr %4, align 8, !tbaa !26
  %92 = load i64, ptr %4, align 8, !tbaa !26
  %93 = icmp slt i64 %92, 0
  br i1 %93, label %94, label %124

94:                                               ; preds = %85
  br label %95

95:                                               ; preds = %94
  %96 = call zeroext i8 @DebugCodeEnabled()
  %97 = icmp ne i8 %96, 0
  br i1 %97, label %98, label %120

98:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #3
  %99 = load i64, ptr %4, align 8, !tbaa !26
  %100 = icmp ne i64 %99, -9223372036854775802
  br i1 %100, label %101, label %117

101:                                              ; preds = %98
  br label %102

102:                                              ; preds = %101
  %103 = call zeroext i8 @DebugPrintEnabled()
  %104 = icmp ne i8 %103, 0
  br i1 %104, label %105, label %114

105:                                              ; preds = %102
  br label %106

106:                                              ; preds = %105
  %107 = call zeroext i8 @DebugPrintLevelEnabled(i64 noundef 2)
  %108 = icmp ne i8 %107, 0
  br i1 %108, label %109, label %111

109:                                              ; preds = %106
  %110 = load i64, ptr %4, align 8, !tbaa !26
  call void (i64, ptr, ...) @DebugPrint(i64 noundef 2, ptr noundef @.str.20, i64 noundef %110)
  br label %111

111:                                              ; preds = %109, %106
  br label %112

112:                                              ; preds = %111
  br label %113

113:                                              ; preds = %112
  br label %114

114:                                              ; preds = %113, %102
  br label %115

115:                                              ; preds = %114
  br label %116

116:                                              ; preds = %115
  br label %117

117:                                              ; preds = %116, %98
  store i8 0, ptr %15, align 1, !tbaa !28
  %118 = load i8, ptr %15, align 1, !tbaa !28
  %119 = add i8 %118, 1
  store i8 %119, ptr %15, align 1, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #3
  br label %120

120:                                              ; preds = %117, %95
  br label %121

121:                                              ; preds = %120
  br label %122

122:                                              ; preds = %121
  %123 = load i64, ptr %4, align 8, !tbaa !26
  store i64 %123, ptr %2, align 8
  store i32 1, ptr %14, align 4
  br label %287

124:                                              ; preds = %85
  %125 = load i64, ptr %9, align 8, !tbaa !26
  %126 = load ptr, ptr %5, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct._EFI_SIMPLE_NETWORK_PROTOCOL, ptr %126, i32 0, i32 15
  %128 = load ptr, ptr %127, align 8, !tbaa !17
  %129 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %128, i32 0, i32 2
  %130 = load i32, ptr %129, align 4, !tbaa !29
  %131 = zext i32 %130 to i64
  %132 = icmp ne i64 %125, %131
  br i1 %132, label %137, label %133

133:                                              ; preds = %124
  %134 = load i64, ptr %8, align 8, !tbaa !26
  %135 = load i64, ptr %9, align 8, !tbaa !26
  %136 = icmp ult i64 %134, %135
  br i1 %136, label %137, label %154

137:                                              ; preds = %133, %124
  br label %138

138:                                              ; preds = %137
  %139 = call zeroext i8 @DebugPrintEnabled()
  %140 = icmp ne i8 %139, 0
  br i1 %140, label %141, label %151

141:                                              ; preds = %138
  br label %142

142:                                              ; preds = %141
  %143 = call zeroext i8 @DebugPrintLevelEnabled(i64 noundef 2)
  %144 = icmp ne i8 %143, 0
  br i1 %144, label %145, label %148

145:                                              ; preds = %142
  %146 = load i64, ptr %9, align 8, !tbaa !26
  %147 = load i64, ptr %8, align 8, !tbaa !26
  call void (i64, ptr, ...) @DebugPrint(i64 noundef 2, ptr noundef @.str.21, i64 noundef %146, i64 noundef %147)
  br label %148

148:                                              ; preds = %145, %142
  br label %149

149:                                              ; preds = %148
  br label %150

150:                                              ; preds = %149
  br label %151

151:                                              ; preds = %150, %138
  br label %152

152:                                              ; preds = %151
  br label %153

153:                                              ; preds = %152
  store i64 -9223372036854775801, ptr %2, align 8
  store i32 1, ptr %14, align 4
  br label %287

154:                                              ; preds = %133
  store i32 0, ptr %10, align 4, !tbaa !30
  %155 = load ptr, ptr %6, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.NET_BUF, ptr %155, i32 0, i32 9
  %157 = load i32, ptr %156, align 4, !tbaa !24
  %158 = zext i32 %157 to i64
  %159 = load i64, ptr %8, align 8, !tbaa !26
  %160 = icmp ne i64 %158, %159
  br i1 %160, label %161, label %185

161:                                              ; preds = %154
  %162 = load ptr, ptr %6, align 8, !tbaa !5
  %163 = load ptr, ptr %6, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.NET_BUF, ptr %163, i32 0, i32 9
  %165 = load i32, ptr %164, align 4, !tbaa !24
  %166 = load i64, ptr %8, align 8, !tbaa !26
  %167 = trunc i64 %166 to i32
  %168 = sub i32 %165, %167
  %169 = call i32 @NetbufTrim(ptr noundef %162, i32 noundef %168, i8 noundef zeroext 0)
  store i32 %169, ptr %10, align 4, !tbaa !30
  br label %170

170:                                              ; preds = %161
  %171 = call zeroext i8 @DebugAssertEnabled()
  %172 = icmp ne i8 %171, 0
  br i1 %172, label %173, label %182

173:                                              ; preds = %170
  %174 = load ptr, ptr %6, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.NET_BUF, ptr %174, i32 0, i32 9
  %176 = load i32, ptr %175, align 4, !tbaa !24
  %177 = zext i32 %176 to i64
  %178 = load i64, ptr %8, align 8, !tbaa !26
  %179 = icmp eq i64 %177, %178
  br i1 %179, label %181, label %180

180:                                              ; preds = %173
  call void @DebugAssert(ptr noundef @.str, i64 noundef 953, ptr noundef @.str.22)
  br label %181

181:                                              ; preds = %180, %173
  br label %182

182:                                              ; preds = %181, %170
  br label %183

183:                                              ; preds = %182
  br label %184

184:                                              ; preds = %183
  br label %185

185:                                              ; preds = %184, %154
  store i16 0, ptr %12, align 2, !tbaa !31
  %186 = load ptr, ptr %3, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.MNP_DEVICE_DATA, ptr %186, i32 0, i32 4
  %188 = load i64, ptr %187, align 8, !tbaa !33
  %189 = icmp ne i64 %188, 0
  br i1 %189, label %190, label %194

190:                                              ; preds = %185
  %191 = load ptr, ptr %3, align 8, !tbaa !5
  %192 = load ptr, ptr %6, align 8, !tbaa !5
  %193 = call zeroext i8 @MnpRemoveVlanTag(ptr noundef %191, ptr noundef %192, ptr noundef %12)
  store i8 %193, ptr %13, align 1, !tbaa !28
  br label %195

194:                                              ; preds = %185
  store i8 0, ptr %13, align 1, !tbaa !28
  br label %195

195:                                              ; preds = %194, %190
  %196 = load ptr, ptr %3, align 8, !tbaa !5
  %197 = load i16, ptr %12, align 2, !tbaa !31
  %198 = call ptr @MnpFindServiceData(ptr noundef %196, i16 noundef zeroext %197)
  store ptr %198, ptr %11, align 8, !tbaa !5
  %199 = load ptr, ptr %11, align 8, !tbaa !5
  %200 = icmp eq ptr %199, null
  br i1 %200, label %201, label %215

201:                                              ; preds = %195
  %202 = load i32, ptr %10, align 4, !tbaa !30
  %203 = icmp ugt i32 %202, 0
  br i1 %203, label %204, label %208

204:                                              ; preds = %201
  %205 = load ptr, ptr %6, align 8, !tbaa !5
  %206 = load i32, ptr %10, align 4, !tbaa !30
  %207 = call ptr @NetbufAllocSpace(ptr noundef %205, i32 noundef %206, i8 noundef zeroext 0)
  br label %208

208:                                              ; preds = %204, %201
  %209 = load i8, ptr %13, align 1, !tbaa !28
  %210 = icmp ne i8 %209, 0
  br i1 %210, label %211, label %214

211:                                              ; preds = %208
  %212 = load ptr, ptr %6, align 8, !tbaa !5
  %213 = call ptr @NetbufAllocSpace(ptr noundef %212, i32 noundef 4, i8 noundef zeroext 1)
  br label %214

214:                                              ; preds = %211, %208
  br label %269

215:                                              ; preds = %195
  %216 = load ptr, ptr %11, align 8, !tbaa !5
  %217 = load ptr, ptr %6, align 8, !tbaa !5
  call void @MnpEnqueuePacket(ptr noundef %216, ptr noundef %217)
  %218 = load ptr, ptr %6, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.NET_BUF, ptr %218, i32 0, i32 1
  %220 = load i64, ptr %219, align 8, !tbaa !34
  %221 = icmp sgt i64 %220, 2
  br i1 %221, label %222, label %253

222:                                              ; preds = %215
  %223 = load ptr, ptr %3, align 8, !tbaa !5
  %224 = load ptr, ptr %6, align 8, !tbaa !5
  call void @MnpFreeNbuf(ptr noundef %223, ptr noundef %224)
  %225 = load ptr, ptr %3, align 8, !tbaa !5
  %226 = call ptr @MnpAllocNbuf(ptr noundef %225)
  store ptr %226, ptr %6, align 8, !tbaa !5
  %227 = load ptr, ptr %6, align 8, !tbaa !5
  %228 = load ptr, ptr %3, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.MNP_DEVICE_DATA, ptr %228, i32 0, i32 24
  store ptr %227, ptr %229, align 8, !tbaa !22
  %230 = load ptr, ptr %6, align 8, !tbaa !5
  %231 = icmp eq ptr %230, null
  br i1 %231, label %232, label %247

232:                                              ; preds = %222
  br label %233

233:                                              ; preds = %232
  %234 = call zeroext i8 @DebugPrintEnabled()
  %235 = icmp ne i8 %234, 0
  br i1 %235, label %236, label %244

236:                                              ; preds = %233
  br label %237

237:                                              ; preds = %236
  %238 = call zeroext i8 @DebugPrintLevelEnabled(i64 noundef 2147483648)
  %239 = icmp ne i8 %238, 0
  br i1 %239, label %240, label %241

240:                                              ; preds = %237
  call void (i64, ptr, ...) @DebugPrint(i64 noundef 2147483648, ptr noundef @.str.23)
  br label %241

241:                                              ; preds = %240, %237
  br label %242

242:                                              ; preds = %241
  br label %243

243:                                              ; preds = %242
  br label %244

244:                                              ; preds = %243, %233
  br label %245

245:                                              ; preds = %244
  br label %246

246:                                              ; preds = %245
  store i64 -9223372036854775801, ptr %2, align 8
  store i32 1, ptr %14, align 4
  br label %287

247:                                              ; preds = %222
  %248 = load ptr, ptr %6, align 8, !tbaa !5
  %249 = load ptr, ptr %3, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.MNP_DEVICE_DATA, ptr %249, i32 0, i32 22
  %251 = load i32, ptr %250, align 8, !tbaa !23
  %252 = call ptr @NetbufAllocSpace(ptr noundef %248, i32 noundef %251, i8 noundef zeroext 0)
  br label %267

253:                                              ; preds = %215
  %254 = load i32, ptr %10, align 4, !tbaa !30
  %255 = icmp ugt i32 %254, 0
  br i1 %255, label %256, label %260

256:                                              ; preds = %253
  %257 = load ptr, ptr %6, align 8, !tbaa !5
  %258 = load i32, ptr %10, align 4, !tbaa !30
  %259 = call ptr @NetbufAllocSpace(ptr noundef %257, i32 noundef %258, i8 noundef zeroext 0)
  br label %260

260:                                              ; preds = %256, %253
  %261 = load i8, ptr %13, align 1, !tbaa !28
  %262 = icmp ne i8 %261, 0
  br i1 %262, label %263, label %266

263:                                              ; preds = %260
  %264 = load ptr, ptr %6, align 8, !tbaa !5
  %265 = call ptr @NetbufAllocSpace(ptr noundef %264, i32 noundef 4, i8 noundef zeroext 1)
  br label %266

266:                                              ; preds = %263, %260
  br label %269

267:                                              ; preds = %247
  %268 = load ptr, ptr %11, align 8, !tbaa !5
  call void @MnpDeliverPacket(ptr noundef %268)
  br label %269

269:                                              ; preds = %267, %266, %214
  br label %270

270:                                              ; preds = %269
  %271 = call zeroext i8 @DebugAssertEnabled()
  %272 = icmp ne i8 %271, 0
  br i1 %272, label %273, label %283

273:                                              ; preds = %270
  %274 = load ptr, ptr %6, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.NET_BUF, ptr %274, i32 0, i32 9
  %276 = load i32, ptr %275, align 4, !tbaa !24
  %277 = load ptr, ptr %3, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.MNP_DEVICE_DATA, ptr %277, i32 0, i32 22
  %279 = load i32, ptr %278, align 8, !tbaa !23
  %280 = icmp eq i32 %276, %279
  br i1 %280, label %282, label %281

281:                                              ; preds = %273
  call void @DebugAssert(ptr noundef @.str, i64 noundef 1022, ptr noundef @.str.24)
  br label %282

282:                                              ; preds = %281, %273
  br label %283

283:                                              ; preds = %282, %270
  br label %284

284:                                              ; preds = %283
  br label %285

285:                                              ; preds = %284
  %286 = load i64, ptr %4, align 8, !tbaa !26
  store i64 %286, ptr %2, align 8
  store i32 1, ptr %14, align 4
  br label %287

287:                                              ; preds = %285, %246, %153, %122, %56, %41
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 2, 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 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  %288 = load i64, ptr %2, align 8
  ret i64 %288
}

declare ptr @NetbufAllocSpace(ptr noundef, i32 noundef, i8 noundef zeroext) #1

declare zeroext i8 @DebugCodeEnabled() #1

declare i32 @NetbufTrim(ptr noundef, i32 noundef, i8 noundef zeroext) #1

declare zeroext i8 @MnpRemoveVlanTag(ptr noundef, ptr noundef, ptr noundef) #1

declare ptr @MnpFindServiceData(ptr noundef, i16 noundef zeroext) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"", !11, i64 0, !6, i64 8, !6, i64 16, !12, i64 24, !13, i64 48, !6, i64 56, !6, i64 64, !14, i64 72, !13, i64 88, !14, i64 96, !11, i64 112, !6, i64 120, !15, i64 128, !13, i64 184, !6, i64 192, !7, i64 200, !6, i64 208, !6, i64 216, !11, i64 224, !11, i64 228, !11, i64 232, !11, i64 236, !11, i64 240, !11, i64 244, !6, i64 248, !6, i64 256}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_EFI_VLAN_CONFIG_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16}
!13 = !{!"long long", !7, i64 0}
!14 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!15 = !{!"", !11, i64 0, !13, i64 8, !14, i64 16, !14, i64 32, !11, i64 48, !11, i64 52}
!16 = !{!10, !6, i64 64}
!17 = !{!18, !6, i64 120}
!18 = !{!"_EFI_SIMPLE_NETWORK_PROTOCOL", !13, 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}
!19 = !{!20, !11, i64 0}
!20 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !7, i64 40, !21, i64 552, !21, i64 584, !21, i64 616, !7, i64 648, !7, i64 649, !7, i64 650, !7, i64 651, !7, i64 652}
!21 = !{!"", !7, i64 0}
!22 = !{!10, !6, i64 248}
!23 = !{!10, !11, i64 240}
!24 = !{!25, !11, i64 132}
!25 = !{!"", !11, i64 0, !13, i64 8, !14, i64 16, !7, i64 32, !6, i64 40, !6, i64 48, !7, i64 56, !6, i64 120, !11, i64 128, !11, i64 132, !7, i64 136}
!26 = !{!13, !13, i64 0}
!27 = !{!18, !6, i64 104}
!28 = !{!7, !7, i64 0}
!29 = !{!20, !11, i64 8}
!30 = !{!11, !11, i64 0}
!31 = !{!32, !32, i64 0}
!32 = !{!"short", !7, i64 0}
!33 = !{!10, !13, i64 48}
!34 = !{!25, !13, i64 8}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str = external hidden unnamed_addr constant [147 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [125 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [47 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

declare zeroext i8 @DebugAssertEnabled() local_unnamed_addr #1

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

declare ptr @MnpAllocNbuf(ptr noundef) local_unnamed_addr #1

declare void @MnpFreeNbuf(ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i64 @MnpReceivePacket(ptr noundef %0) local_unnamed_addr #2 {
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i16, align 2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %4) #3
  %5 = tail call zeroext i8 @DebugAssertEnabled() #3
  %.not = icmp eq i8 %5, 0
  br i1 %.not, label %11, label %6

6:                                                ; preds = %1
  %.not68 = icmp eq ptr %0, null
  br i1 %.not68, label %10, label %7

7:                                                ; preds = %6
  %8 = load i32, ptr %0, align 8, !tbaa !5
  %9 = icmp eq i32 %8, 1148218957
  br i1 %9, label %11, label %10

10:                                               ; preds = %7, %6
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 885, ptr noundef nonnull @.str.8) #3
  br label %11

11:                                               ; preds = %7, %10, %1
  %12 = getelementptr inbounds i8, ptr %0, i64 64
  %13 = load ptr, ptr %12, align 8, !tbaa !15
  %14 = getelementptr inbounds i8, ptr %13, i64 120
  %15 = load ptr, ptr %14, align 8, !tbaa !16
  %16 = load i32, ptr %15, align 4, !tbaa !18
  %.not69 = icmp eq i32 %16, 2
  br i1 %.not69, label %17, label %127

17:                                               ; preds = %11
  %18 = getelementptr inbounds i8, ptr %0, i64 248
  %19 = load ptr, ptr %18, align 8, !tbaa !21
  %20 = icmp eq ptr %19, null
  br i1 %20, label %21, label %28

21:                                               ; preds = %17
  %22 = tail call ptr @MnpAllocNbuf(ptr noundef nonnull %0) #3
  store ptr %22, ptr %18, align 8, !tbaa !21
  %23 = icmp eq ptr %22, null
  br i1 %23, label %127, label %24

24:                                               ; preds = %21
  %25 = getelementptr inbounds i8, ptr %0, i64 240
  %26 = load i32, ptr %25, align 8, !tbaa !22
  %27 = tail call ptr @NetbufAllocSpace(ptr noundef nonnull %22, i32 noundef %26, i8 noundef zeroext 0) #3
  %.pre = load ptr, ptr %18, align 8, !tbaa !21
  br label %28

28:                                               ; preds = %24, %17
  %29 = phi ptr [ %.pre, %24 ], [ %19, %17 ]
  %30 = getelementptr inbounds i8, ptr %29, i64 132
  %31 = load i32, ptr %30, align 4, !tbaa !23
  %32 = zext i32 %31 to i64
  store i64 %32, ptr %2, align 8, !tbaa !25
  %33 = tail call ptr @NetbufGetByte(ptr noundef %29, i32 noundef 0, ptr noundef null) #3
  %34 = tail call zeroext i8 @DebugAssertEnabled() #3
  %35 = icmp eq i8 %34, 0
  %36 = icmp ne ptr %33, null
  %or.cond = select i1 %35, i1 true, i1 %36
  br i1 %or.cond, label %38, label %37

37:                                               ; preds = %28
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 918, ptr noundef nonnull @.str.17) #3
  br label %38

38:                                               ; preds = %37, %28
  %39 = getelementptr inbounds i8, ptr %13, i64 104
  %40 = load ptr, ptr %39, align 8, !tbaa !26
  %41 = call i64 %40(ptr noundef nonnull %13, ptr noundef nonnull %3, ptr noundef nonnull %2, ptr noundef %33, ptr noundef null, ptr noundef null, ptr noundef null) #3
  %42 = icmp slt i64 %41, 0
  br i1 %42, label %43, label %50

43:                                               ; preds = %38
  %44 = call zeroext i8 @DebugCodeEnabled() #3
  %.not83 = icmp eq i8 %44, 0
  %.not84 = icmp eq i64 %41, -9223372036854775802
  %or.cond87 = or i1 %.not84, %.not83
  br i1 %or.cond87, label %127, label %45

45:                                               ; preds = %43
  %46 = call zeroext i8 @DebugPrintEnabled() #3
  %.not85 = icmp eq i8 %46, 0
  br i1 %.not85, label %127, label %47

47:                                               ; preds = %45
  %48 = call zeroext i8 @DebugPrintLevelEnabled(i64 noundef 2) #3
  %.not86 = icmp eq i8 %48, 0
  br i1 %.not86, label %127, label %49

49:                                               ; preds = %47
  call void (i64, ptr, ...) @DebugPrint(i64 noundef 2, ptr noundef nonnull @.str.20, i64 noundef %41) #3
  br label %127

50:                                               ; preds = %38
  %51 = load i64, ptr %3, align 8, !tbaa !25
  %52 = load ptr, ptr %14, align 8, !tbaa !16
  %53 = getelementptr inbounds i8, ptr %52, i64 8
  %54 = load i32, ptr %53, align 4, !tbaa !27
  %55 = zext i32 %54 to i64
  %.not70 = icmp eq i64 %51, %55
  br i1 %.not70, label %56, label %59

56:                                               ; preds = %50
  %57 = load i64, ptr %2, align 8, !tbaa !25
  %58 = icmp ult i64 %57, %51
  br i1 %58, label %59, label %66

59:                                               ; preds = %50, %56
  %60 = call zeroext i8 @DebugPrintEnabled() #3
  %.not81 = icmp eq i8 %60, 0
  br i1 %.not81, label %127, label %61

61:                                               ; preds = %59
  %62 = call zeroext i8 @DebugPrintLevelEnabled(i64 noundef 2) #3
  %.not82 = icmp eq i8 %62, 0
  br i1 %.not82, label %127, label %63

63:                                               ; preds = %61
  %64 = load i64, ptr %3, align 8, !tbaa !25
  %65 = load i64, ptr %2, align 8, !tbaa !25
  call void (i64, ptr, ...) @DebugPrint(i64 noundef 2, ptr noundef nonnull @.str.21, i64 noundef %64, i64 noundef %65) #3
  br label %127

66:                                               ; preds = %56
  %67 = load i32, ptr %30, align 4, !tbaa !23
  %68 = zext i32 %67 to i64
  %.not71 = icmp eq i64 %57, %68
  br i1 %.not71, label %80, label %69

69:                                               ; preds = %66
  %70 = trunc i64 %57 to i32
  %71 = sub i32 %67, %70
  %72 = call i32 @NetbufTrim(ptr noundef nonnull %29, i32 noundef %71, i8 noundef zeroext 0) #3
  %73 = call zeroext i8 @DebugAssertEnabled() #3
  %.not72 = icmp eq i8 %73, 0
  br i1 %.not72, label %80, label %74

74:                                               ; preds = %69
  %75 = load i32, ptr %30, align 4, !tbaa !23
  %76 = zext i32 %75 to i64
  %77 = load i64, ptr %2, align 8, !tbaa !25
  %78 = icmp eq i64 %77, %76
  br i1 %78, label %80, label %79

79:                                               ; preds = %74
  call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 953, ptr noundef nonnull @.str.22) #3
  br label %80

80:                                               ; preds = %69, %79, %74, %66
  %.060 = phi i32 [ %72, %74 ], [ %72, %79 ], [ %72, %69 ], [ 0, %66 ]
  store i16 0, ptr %4, align 2, !tbaa !28
  %81 = getelementptr inbounds i8, ptr %0, i64 48
  %82 = load i64, ptr %81, align 8, !tbaa !30
  %.not73 = icmp eq i64 %82, 0
  br i1 %.not73, label %86, label %83

83:                                               ; preds = %80
  %84 = call zeroext i8 @MnpRemoveVlanTag(ptr noundef nonnull %0, ptr noundef nonnull %29, ptr noundef nonnull %4) #3
  %85 = icmp eq i8 %84, 0
  %.pre88 = load i16, ptr %4, align 2, !tbaa !28
  br label %86

86:                                               ; preds = %80, %83
  %87 = phi i16 [ %.pre88, %83 ], [ 0, %80 ]
  %.058 = phi i1 [ %85, %83 ], [ true, %80 ]
  %88 = call ptr @MnpFindServiceData(ptr noundef nonnull %0, i16 noundef zeroext %87) #3
  %89 = icmp eq ptr %88, null
  br i1 %89, label %90, label %96

90:                                               ; preds = %86
  %.not78 = icmp eq i32 %.060, 0
  br i1 %.not78, label %93, label %91

91:                                               ; preds = %90
  %92 = call ptr @NetbufAllocSpace(ptr noundef nonnull %29, i32 noundef %.060, i8 noundef zeroext 0) #3
  br label %93

93:                                               ; preds = %91, %90
  br i1 %.058, label %118, label %94

94:                                               ; preds = %93
  %95 = call ptr @NetbufAllocSpace(ptr noundef nonnull %29, i32 noundef 4, i8 noundef zeroext 1) #3
  br label %118

96:                                               ; preds = %86
  call void @MnpEnqueuePacket(ptr noundef nonnull %88, ptr noundef nonnull %29)
  %97 = getelementptr inbounds i8, ptr %29, i64 8
  %98 = load i64, ptr %97, align 8, !tbaa !31
  %99 = icmp sgt i64 %98, 2
  br i1 %99, label %100, label %112

100:                                              ; preds = %96
  call void @MnpFreeNbuf(ptr noundef nonnull %0, ptr noundef nonnull %29) #3
  %101 = call ptr @MnpAllocNbuf(ptr noundef nonnull %0) #3
  store ptr %101, ptr %18, align 8, !tbaa !21
  %102 = icmp eq ptr %101, null
  br i1 %102, label %103, label %108

103:                                              ; preds = %100
  %104 = call zeroext i8 @DebugPrintEnabled() #3
  %.not76 = icmp eq i8 %104, 0
  br i1 %.not76, label %127, label %105

105:                                              ; preds = %103
  %106 = call zeroext i8 @DebugPrintLevelEnabled(i64 noundef 2147483648) #3
  %.not77 = icmp eq i8 %106, 0
  br i1 %.not77, label %127, label %107

107:                                              ; preds = %105
  call void (i64, ptr, ...) @DebugPrint(i64 noundef 2147483648, ptr noundef nonnull @.str.23) #3
  br label %127

108:                                              ; preds = %100
  %109 = getelementptr inbounds i8, ptr %0, i64 240
  %110 = load i32, ptr %109, align 8, !tbaa !22
  %111 = call ptr @NetbufAllocSpace(ptr noundef nonnull %101, i32 noundef %110, i8 noundef zeroext 0) #3
  call void @MnpDeliverPacket(ptr noundef nonnull %88)
  br label %118

112:                                              ; preds = %96
  %.not74 = icmp eq i32 %.060, 0
  br i1 %.not74, label %115, label %113

113:                                              ; preds = %112
  %114 = call ptr @NetbufAllocSpace(ptr noundef nonnull %29, i32 noundef %.060, i8 noundef zeroext 0) #3
  br label %115

115:                                              ; preds = %113, %112
  br i1 %.058, label %118, label %116

116:                                              ; preds = %115
  %117 = call ptr @NetbufAllocSpace(ptr noundef nonnull %29, i32 noundef 4, i8 noundef zeroext 1) #3
  br label %118

118:                                              ; preds = %108, %94, %93, %116, %115
  %.059 = phi ptr [ %29, %94 ], [ %29, %93 ], [ %101, %108 ], [ %29, %116 ], [ %29, %115 ]
  %119 = call zeroext i8 @DebugAssertEnabled() #3
  %.not80 = icmp eq i8 %119, 0
  br i1 %.not80, label %127, label %120

120:                                              ; preds = %118
  %121 = getelementptr inbounds i8, ptr %.059, i64 132
  %122 = load i32, ptr %121, align 4, !tbaa !23
  %123 = getelementptr inbounds i8, ptr %0, i64 240
  %124 = load i32, ptr %123, align 8, !tbaa !22
  %125 = icmp eq i32 %122, %124
  br i1 %125, label %127, label %126

126:                                              ; preds = %120
  call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 1022, ptr noundef nonnull @.str.24) #3
  br label %127

127:                                              ; preds = %118, %126, %120, %103, %107, %105, %59, %63, %61, %43, %45, %49, %47, %21, %11
  %.0 = phi i64 [ -9223372036854775789, %11 ], [ -9223372036854775801, %21 ], [ %41, %47 ], [ %41, %49 ], [ %41, %45 ], [ %41, %43 ], [ -9223372036854775801, %61 ], [ -9223372036854775801, %63 ], [ -9223372036854775801, %59 ], [ -9223372036854775801, %105 ], [ -9223372036854775801, %107 ], [ -9223372036854775801, %103 ], [ %41, %120 ], [ %41, %126 ], [ %41, %118 ]
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
  ret i64 %.0
}

declare ptr @NetbufAllocSpace(ptr noundef, i32 noundef, i8 noundef zeroext) local_unnamed_addr #1

declare zeroext i8 @DebugCodeEnabled() local_unnamed_addr #1

declare i32 @NetbufTrim(ptr noundef, i32 noundef, i8 noundef zeroext) local_unnamed_addr #1

declare zeroext i8 @MnpRemoveVlanTag(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare ptr @MnpFindServiceData(ptr noundef, i16 noundef zeroext) local_unnamed_addr #1

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 = { 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, !10, i64 16, !11, i64 24, !12, i64 48, !10, i64 56, !10, i64 64, !13, i64 72, !12, i64 88, !13, i64 96, !7, i64 112, !10, i64 120, !14, i64 128, !12, i64 184, !10, i64 192, !8, i64 200, !10, i64 208, !10, i64 216, !7, i64 224, !7, i64 228, !7, i64 232, !7, i64 236, !7, i64 240, !7, i64 244, !10, i64 248, !10, i64 256}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_EFI_VLAN_CONFIG_PROTOCOL", !10, i64 0, !10, i64 8, !10, i64 16}
!12 = !{!"long long", !8, i64 0}
!13 = !{!"_LIST_ENTRY", !10, i64 0, !10, i64 8}
!14 = !{!"", !7, i64 0, !12, i64 8, !13, i64 16, !13, i64 32, !7, i64 48, !7, i64 52}
!15 = !{!6, !10, i64 64}
!16 = !{!17, !10, i64 120}
!17 = !{!"_EFI_SIMPLE_NETWORK_PROTOCOL", !12, 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}
!18 = !{!19, !7, i64 0}
!19 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !8, i64 40, !20, i64 552, !20, i64 584, !20, i64 616, !8, i64 648, !8, i64 649, !8, i64 650, !8, i64 651, !8, i64 652}
!20 = !{!"", !8, i64 0}
!21 = !{!6, !10, i64 248}
!22 = !{!6, !7, i64 240}
!23 = !{!24, !7, i64 132}
!24 = !{!"", !7, i64 0, !12, i64 8, !13, i64 16, !8, i64 32, !10, i64 40, !10, i64 48, !8, i64 56, !10, i64 120, !7, i64 128, !7, i64 132, !8, i64 136}
!25 = !{!12, !12, i64 0}
!26 = !{!17, !10, i64 104}
!27 = !{!19, !7, i64 8}
!28 = !{!29, !29, i64 0}
!29 = !{!"short", !8, i64 0}
!30 = !{!6, !12, i64 48}
!31 = !{!24, !12, i64 8}


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