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

; 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.NET_ARP_ADDRESS = type { i16, i8, ptr, %union.NET_ARP_ADDRESS_UNION }
%union.NET_ARP_ADDRESS_UNION = type { [32 x i8] }
%struct.NET_MAP = type { %struct._LIST_ENTRY, %struct._LIST_ENTRY, i64 }
%struct._LIST_ENTRY = type { ptr, ptr }
%struct.ARP_INSTANCE_DATA = type { i32, ptr, ptr, %struct._EFI_ARP_PROTOCOL, %struct._LIST_ENTRY, %struct.EFI_ARP_CONFIG_DATA, i8, i8 }
%struct._EFI_ARP_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.EFI_ARP_CONFIG_DATA = type { i16, i8, ptr, i32, i32, i32 }
%struct._ARP_SERVICE_DATA = type { i32, %struct._EFI_SERVICE_BINDING_PROTOCOL, ptr, ptr, ptr, ptr, %struct.EFI_MANAGED_NETWORK_CONFIG_DATA, %struct.EFI_MANAGED_NETWORK_COMPLETION_TOKEN, %struct.EFI_SIMPLE_NETWORK_MODE, i64, %struct._LIST_ENTRY, %struct._LIST_ENTRY, %struct._LIST_ENTRY, %struct._LIST_ENTRY, ptr }
%struct._EFI_SERVICE_BINDING_PROTOCOL = type { ptr, ptr }
%struct.EFI_MANAGED_NETWORK_CONFIG_DATA = type { i32, i32, i16, i8, i8, i8, i8, i8, i8, i8 }
%struct.EFI_MANAGED_NETWORK_COMPLETION_TOKEN = type { ptr, i64, %union.anon }
%union.anon = type { 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.ARP_CACHE_ENTRY = type { %struct._LIST_ENTRY, i32, i32, i32, i32, [2 x %struct.NET_ARP_ADDRESS], %struct._LIST_ENTRY }
%struct.EFI_ARP_FIND_DATA = type { i32, i8, i8, i16, i16, i8, i8 }

@.str.18 = external hidden unnamed_addr constant [47 x i8], align 1

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

declare zeroext i8 @DebugPrintEnabled() #0

declare zeroext i8 @DebugPrintLevelEnabled(i64 noundef) #0

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

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

declare ptr @AllocatePool(i64 noundef) #0

; Function Attrs: nounwind uwtable
define dso_local i64 @ArpFindCacheEntry(ptr noundef %0, i8 noundef zeroext %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i8 noundef zeroext %6) #2 {
  %8 = alloca ptr, align 8
  %9 = alloca i8, align 1
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i8, align 1
  %15 = alloca i64, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %struct.NET_ARP_ADDRESS, align 8
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca %struct.NET_MAP, align 8
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store i8 %1, ptr %9, align 1, !tbaa !9
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  store i8 %6, ptr %14, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 48, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #3
  %26 = load ptr, ptr %8, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.ARP_INSTANCE_DATA, ptr %26, i32 0, i32 1
  %28 = load ptr, ptr %27, align 8, !tbaa !10
  store ptr %28, ptr %16, align 8, !tbaa !5
  call void @NetMapInit(ptr noundef %21)
  %29 = load i8, ptr %9, align 1, !tbaa !9
  %30 = icmp ne i8 %29, 0
  br i1 %30, label %31, label %42

31:                                               ; preds = %7
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.ARP_INSTANCE_DATA, ptr %32, i32 0, i32 5
  %34 = getelementptr inbounds %struct.EFI_ARP_CONFIG_DATA, ptr %33, i32 0, i32 0
  %35 = load i16, ptr %34, align 8, !tbaa !17
  %36 = getelementptr inbounds %struct.NET_ARP_ADDRESS, ptr %17, i32 0, i32 0
  store i16 %35, ptr %36, align 8, !tbaa !18
  %37 = load ptr, ptr %8, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.ARP_INSTANCE_DATA, ptr %37, i32 0, i32 5
  %39 = getelementptr inbounds %struct.EFI_ARP_CONFIG_DATA, ptr %38, i32 0, i32 1
  %40 = load i8, ptr %39, align 2, !tbaa !20
  %41 = getelementptr inbounds %struct.NET_ARP_ADDRESS, ptr %17, i32 0, i32 1
  store i8 %40, ptr %41, align 2, !tbaa !21
  store i32 1, ptr %18, align 4, !tbaa !22
  br label %55

42:                                               ; preds = %7
  %43 = load ptr, ptr %16, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct._ARP_SERVICE_DATA, ptr %43, i32 0, i32 8
  %45 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %44, i32 0, i32 14
  %46 = load i8, ptr %45, align 8, !tbaa !23
  %47 = zext i8 %46 to i16
  %48 = getelementptr inbounds %struct.NET_ARP_ADDRESS, ptr %17, i32 0, i32 0
  store i16 %47, ptr %48, align 8, !tbaa !18
  %49 = load ptr, ptr %16, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct._ARP_SERVICE_DATA, ptr %49, i32 0, i32 8
  %51 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %50, i32 0, i32 1
  %52 = load i32, ptr %51, align 4, !tbaa !31
  %53 = trunc i32 %52 to i8
  %54 = getelementptr inbounds %struct.NET_ARP_ADDRESS, ptr %17, i32 0, i32 1
  store i8 %53, ptr %54, align 2, !tbaa !21
  store i32 2, ptr %18, align 4, !tbaa !22
  br label %55

55:                                               ; preds = %42, %31
  %56 = load ptr, ptr %10, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.NET_ARP_ADDRESS, ptr %17, i32 0, i32 2
  store ptr %56, ptr %57, align 8, !tbaa !32
  store ptr null, ptr %19, align 8, !tbaa !5
  br label %58

58:                                               ; preds = %83, %55
  br label %59

59:                                               ; preds = %58
  %60 = load ptr, ptr %16, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct._ARP_SERVICE_DATA, ptr %60, i32 0, i32 12
  %62 = load ptr, ptr %19, align 8, !tbaa !5
  %63 = load i32, ptr %18, align 4, !tbaa !22
  %64 = call ptr @ArpFindNextCacheEntryInTable(ptr noundef %61, ptr noundef %62, i32 noundef %63, ptr noundef %17, ptr noundef %17)
  store ptr %64, ptr %20, align 8, !tbaa !5
  %65 = load ptr, ptr %20, align 8, !tbaa !5
  %66 = icmp eq ptr %65, null
  br i1 %66, label %67, label %68

67:                                               ; preds = %59
  br label %84

68:                                               ; preds = %59
  %69 = load ptr, ptr %20, align 8, !tbaa !5
  %70 = load ptr, ptr %16, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct._ARP_SERVICE_DATA, ptr %70, i32 0, i32 12
  %72 = call i64 @NetMapInsertTail(ptr noundef %21, ptr noundef %69, ptr noundef %71)
  %73 = load ptr, ptr %20, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.ARP_CACHE_ENTRY, ptr %73, i32 0, i32 0
  store ptr %74, ptr %19, align 8, !tbaa !5
  %75 = load i8, ptr %14, align 1, !tbaa !9
  %76 = icmp ne i8 %75, 0
  br i1 %76, label %77, label %83

77:                                               ; preds = %68
  %78 = load ptr, ptr %20, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.ARP_CACHE_ENTRY, ptr %78, i32 0, i32 2
  %80 = load i32, ptr %79, align 4, !tbaa !33
  %81 = load ptr, ptr %20, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.ARP_CACHE_ENTRY, ptr %81, i32 0, i32 3
  store i32 %80, ptr %82, align 8, !tbaa !35
  br label %83

83:                                               ; preds = %77, %68
  br label %58

84:                                               ; preds = %67
  store ptr null, ptr %19, align 8, !tbaa !5
  br label %85

85:                                               ; preds = %110, %84
  br label %86

86:                                               ; preds = %85
  %87 = load ptr, ptr %16, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct._ARP_SERVICE_DATA, ptr %87, i32 0, i32 13
  %89 = load ptr, ptr %19, align 8, !tbaa !5
  %90 = load i32, ptr %18, align 4, !tbaa !22
  %91 = call ptr @ArpFindNextCacheEntryInTable(ptr noundef %88, ptr noundef %89, i32 noundef %90, ptr noundef %17, ptr noundef %17)
  store ptr %91, ptr %20, align 8, !tbaa !5
  %92 = load ptr, ptr %20, align 8, !tbaa !5
  %93 = icmp eq ptr %92, null
  br i1 %93, label %94, label %95

94:                                               ; preds = %86
  br label %111

95:                                               ; preds = %86
  %96 = load ptr, ptr %20, align 8, !tbaa !5
  %97 = load ptr, ptr %16, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct._ARP_SERVICE_DATA, ptr %97, i32 0, i32 13
  %99 = call i64 @NetMapInsertTail(ptr noundef %21, ptr noundef %96, ptr noundef %98)
  %100 = load ptr, ptr %20, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.ARP_CACHE_ENTRY, ptr %100, i32 0, i32 0
  store ptr %101, ptr %19, align 8, !tbaa !5
  %102 = load i8, ptr %14, align 1, !tbaa !9
  %103 = icmp ne i8 %102, 0
  br i1 %103, label %104, label %110

104:                                              ; preds = %95
  %105 = load ptr, ptr %20, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.ARP_CACHE_ENTRY, ptr %105, i32 0, i32 2
  %107 = load i32, ptr %106, align 4, !tbaa !33
  %108 = load ptr, ptr %20, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.ARP_CACHE_ENTRY, ptr %108, i32 0, i32 3
  store i32 %107, ptr %109, align 8, !tbaa !35
  br label %110

110:                                              ; preds = %104, %95
  br label %85

111:                                              ; preds = %94
  store i64 0, ptr %15, align 8, !tbaa !36
  %112 = call i64 @NetMapGetCount(ptr noundef %21)
  %113 = trunc i64 %112 to i32
  store i32 %113, ptr %22, align 4, !tbaa !22
  %114 = load i32, ptr %22, align 4, !tbaa !22
  %115 = icmp eq i32 %114, 0
  br i1 %115, label %116, label %117

116:                                              ; preds = %111
  store i64 -9223372036854775794, ptr %15, align 8, !tbaa !36
  br label %260

117:                                              ; preds = %111
  %118 = load ptr, ptr %8, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ARP_INSTANCE_DATA, ptr %118, i32 0, i32 5
  %120 = getelementptr inbounds %struct.EFI_ARP_CONFIG_DATA, ptr %119, i32 0, i32 1
  %121 = load i8, ptr %120, align 2, !tbaa !20
  %122 = zext i8 %121 to i64
  %123 = add i64 12, %122
  %124 = load ptr, ptr %16, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct._ARP_SERVICE_DATA, ptr %124, i32 0, i32 8
  %126 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %125, i32 0, i32 1
  %127 = load i32, ptr %126, align 4, !tbaa !31
  %128 = zext i32 %127 to i64
  %129 = add i64 %123, %128
  %130 = add i64 %129, 3
  %131 = and i64 %130, -4
  %132 = trunc i64 %131 to i32
  store i32 %132, ptr %25, align 4, !tbaa !22
  %133 = load ptr, ptr %11, align 8, !tbaa !5
  %134 = icmp ne ptr %133, null
  br i1 %134, label %135, label %138

135:                                              ; preds = %117
  %136 = load i32, ptr %25, align 4, !tbaa !22
  %137 = load ptr, ptr %11, align 8, !tbaa !5
  store i32 %136, ptr %137, align 4, !tbaa !22
  br label %138

138:                                              ; preds = %135, %117
  %139 = load ptr, ptr %12, align 8, !tbaa !5
  %140 = icmp ne ptr %139, null
  br i1 %140, label %141, label %144

141:                                              ; preds = %138
  %142 = load i32, ptr %22, align 4, !tbaa !22
  %143 = load ptr, ptr %12, align 8, !tbaa !5
  store i32 %142, ptr %143, align 4, !tbaa !22
  br label %144

144:                                              ; preds = %141, %138
  %145 = load ptr, ptr %13, align 8, !tbaa !5
  %146 = icmp eq ptr %145, null
  br i1 %146, label %147, label %148

147:                                              ; preds = %144
  br label %260

148:                                              ; preds = %144
  %149 = load i32, ptr %22, align 4, !tbaa !22
  %150 = load i32, ptr %25, align 4, !tbaa !22
  %151 = mul i32 %149, %150
  %152 = zext i32 %151 to i64
  %153 = call ptr @AllocatePool(i64 noundef %152)
  store ptr %153, ptr %23, align 8, !tbaa !5
  %154 = load ptr, ptr %23, align 8, !tbaa !5
  %155 = icmp eq ptr %154, null
  br i1 %155, label %156, label %171

156:                                              ; preds = %148
  br label %157

157:                                              ; preds = %156
  %158 = call zeroext i8 @DebugPrintEnabled()
  %159 = icmp ne i8 %158, 0
  br i1 %159, label %160, label %168

160:                                              ; preds = %157
  br label %161

161:                                              ; preds = %160
  %162 = call zeroext i8 @DebugPrintLevelEnabled(i64 noundef 2147483648)
  %163 = icmp ne i8 %162, 0
  br i1 %163, label %164, label %165

164:                                              ; preds = %161
  call void (i64, ptr, ...) @DebugPrint(i64 noundef 2147483648, ptr noundef @.str.18)
  br label %165

165:                                              ; preds = %164, %161
  br label %166

166:                                              ; preds = %165
  br label %167

167:                                              ; preds = %166
  br label %168

168:                                              ; preds = %167, %157
  br label %169

169:                                              ; preds = %168
  br label %170

170:                                              ; preds = %169
  store i64 -9223372036854775799, ptr %15, align 8, !tbaa !36
  br label %260

171:                                              ; preds = %148
  %172 = load ptr, ptr %23, align 8, !tbaa !5
  %173 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %172, ptr %173, align 8, !tbaa !5
  br label %174

174:                                              ; preds = %178, %171
  %175 = call zeroext i8 @NetMapIsEmpty(ptr noundef %21)
  %176 = icmp ne i8 %175, 0
  %177 = xor i1 %176, true
  br i1 %177, label %178, label %259

178:                                              ; preds = %174
  %179 = call ptr @NetMapRemoveHead(ptr noundef %21, ptr noundef %24)
  store ptr %179, ptr %20, align 8, !tbaa !5
  %180 = load i32, ptr %25, align 4, !tbaa !22
  %181 = load ptr, ptr %23, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.EFI_ARP_FIND_DATA, ptr %181, i32 0, i32 0
  store i32 %180, ptr %182, align 4, !tbaa !37
  %183 = load ptr, ptr %24, align 8, !tbaa !5
  %184 = load ptr, ptr %16, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct._ARP_SERVICE_DATA, ptr %184, i32 0, i32 12
  %186 = icmp eq ptr %183, %185
  %187 = zext i1 %186 to i32
  %188 = trunc i32 %187 to i8
  %189 = load ptr, ptr %23, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.EFI_ARP_FIND_DATA, ptr %189, i32 0, i32 1
  store i8 %188, ptr %190, align 4, !tbaa !39
  %191 = load ptr, ptr %20, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.ARP_CACHE_ENTRY, ptr %191, i32 0, i32 2
  %193 = load i32, ptr %192, align 4, !tbaa !33
  %194 = icmp eq i32 %193, 0
  %195 = zext i1 %194 to i32
  %196 = trunc i32 %195 to i8
  %197 = load ptr, ptr %23, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.EFI_ARP_FIND_DATA, ptr %197, i32 0, i32 2
  store i8 %196, ptr %198, align 1, !tbaa !40
  %199 = load ptr, ptr %16, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct._ARP_SERVICE_DATA, ptr %199, i32 0, i32 8
  %201 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %200, i32 0, i32 14
  %202 = load i8, ptr %201, align 8, !tbaa !23
  %203 = zext i8 %202 to i16
  %204 = load ptr, ptr %23, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.EFI_ARP_FIND_DATA, ptr %204, i32 0, i32 3
  store i16 %203, ptr %205, align 2, !tbaa !41
  %206 = load ptr, ptr %8, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.ARP_INSTANCE_DATA, ptr %206, i32 0, i32 5
  %208 = getelementptr inbounds %struct.EFI_ARP_CONFIG_DATA, ptr %207, i32 0, i32 0
  %209 = load i16, ptr %208, align 8, !tbaa !17
  %210 = load ptr, ptr %23, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.EFI_ARP_FIND_DATA, ptr %210, i32 0, i32 4
  store i16 %209, ptr %211, align 4, !tbaa !42
  %212 = load ptr, ptr %16, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct._ARP_SERVICE_DATA, ptr %212, i32 0, i32 8
  %214 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %213, i32 0, i32 1
  %215 = load i32, ptr %214, align 4, !tbaa !31
  %216 = trunc i32 %215 to i8
  %217 = load ptr, ptr %23, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.EFI_ARP_FIND_DATA, ptr %217, i32 0, i32 5
  store i8 %216, ptr %218, align 2, !tbaa !43
  %219 = load ptr, ptr %8, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.ARP_INSTANCE_DATA, ptr %219, i32 0, i32 5
  %221 = getelementptr inbounds %struct.EFI_ARP_CONFIG_DATA, ptr %220, i32 0, i32 1
  %222 = load i8, ptr %221, align 2, !tbaa !20
  %223 = load ptr, ptr %23, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.EFI_ARP_FIND_DATA, ptr %223, i32 0, i32 6
  store i8 %222, ptr %224, align 1, !tbaa !44
  %225 = load ptr, ptr %23, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.EFI_ARP_FIND_DATA, ptr %225, i64 1
  %227 = load ptr, ptr %20, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.ARP_CACHE_ENTRY, ptr %227, i32 0, i32 5
  %229 = getelementptr inbounds [2 x %struct.NET_ARP_ADDRESS], ptr %228, i64 0, i64 1
  %230 = getelementptr inbounds %struct.NET_ARP_ADDRESS, ptr %229, i32 0, i32 2
  %231 = load ptr, ptr %230, align 8, !tbaa !32
  %232 = load ptr, ptr %23, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.EFI_ARP_FIND_DATA, ptr %232, i32 0, i32 6
  %234 = load i8, ptr %233, align 1, !tbaa !44
  %235 = zext i8 %234 to i64
  %236 = call ptr @CopyMem(ptr noundef %226, ptr noundef %231, i64 noundef %235)
  %237 = load ptr, ptr %23, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.EFI_ARP_FIND_DATA, ptr %237, i64 1
  %239 = load ptr, ptr %23, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.EFI_ARP_FIND_DATA, ptr %239, i32 0, i32 6
  %241 = load i8, ptr %240, align 1, !tbaa !44
  %242 = zext i8 %241 to i32
  %243 = sext i32 %242 to i64
  %244 = getelementptr inbounds i8, ptr %238, i64 %243
  %245 = load ptr, ptr %20, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.ARP_CACHE_ENTRY, ptr %245, i32 0, i32 5
  %247 = getelementptr inbounds [2 x %struct.NET_ARP_ADDRESS], ptr %246, i64 0, i64 0
  %248 = getelementptr inbounds %struct.NET_ARP_ADDRESS, ptr %247, i32 0, i32 2
  %249 = load ptr, ptr %248, align 8, !tbaa !32
  %250 = load ptr, ptr %23, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.EFI_ARP_FIND_DATA, ptr %250, i32 0, i32 5
  %252 = load i8, ptr %251, align 2, !tbaa !43
  %253 = zext i8 %252 to i64
  %254 = call ptr @CopyMem(ptr noundef %244, ptr noundef %249, i64 noundef %253)
  %255 = load ptr, ptr %23, align 8, !tbaa !5
  %256 = load i32, ptr %25, align 4, !tbaa !22
  %257 = zext i32 %256 to i64
  %258 = getelementptr inbounds i8, ptr %255, i64 %257
  store ptr %258, ptr %23, align 8, !tbaa !5
  br label %174, !llvm.loop !45

259:                                              ; preds = %174
  br label %260

260:                                              ; preds = %259, %170, %147, %116
  call void @NetMapClean(ptr noundef %21)
  %261 = load i64, ptr %15, align 8, !tbaa !36
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 48, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  ret i64 %261
}

declare void @NetMapInit(ptr noundef) #0

declare i64 @NetMapInsertTail(ptr noundef, ptr noundef, ptr noundef) #0

declare i64 @NetMapGetCount(ptr noundef) #0

declare zeroext i8 @NetMapIsEmpty(ptr noundef) #0

declare ptr @NetMapRemoveHead(ptr noundef, ptr noundef) #0

declare void @NetMapClean(ptr noundef) #0

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !6, i64 8}
!11 = !{!"", !12, i64 0, !6, i64 8, !6, i64 16, !13, i64 24, !14, i64 80, !15, i64 96, !7, i64 128, !7, i64 129}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_EFI_ARP_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!14 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!15 = !{!"", !16, i64 0, !7, i64 2, !6, i64 8, !12, i64 16, !12, i64 20, !12, i64 24}
!16 = !{!"short", !7, i64 0}
!17 = !{!11, !16, i64 96}
!18 = !{!19, !16, i64 0}
!19 = !{!"", !16, i64 0, !7, i64 2, !6, i64 8, !7, i64 16}
!20 = !{!11, !7, i64 98}
!21 = !{!19, !7, i64 2}
!22 = !{!12, !12, i64 0}
!23 = !{!24, !7, i64 752}
!24 = !{!"_ARP_SERVICE_DATA", !12, i64 0, !25, i64 8, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !26, i64 56, !27, i64 80, !29, i64 104, !28, i64 760, !14, i64 768, !14, i64 784, !14, i64 800, !14, i64 816, !6, i64 832}
!25 = !{!"_EFI_SERVICE_BINDING_PROTOCOL", !6, i64 0, !6, i64 8}
!26 = !{!"", !12, i64 0, !12, i64 4, !16, i64 8, !7, i64 10, !7, i64 11, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16}
!27 = !{!"", !6, i64 0, !28, i64 8, !7, i64 16}
!28 = !{!"long long", !7, i64 0}
!29 = !{!"", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !7, i64 40, !30, i64 552, !30, i64 584, !30, i64 616, !7, i64 648, !7, i64 649, !7, i64 650, !7, i64 651, !7, i64 652}
!30 = !{!"", !7, i64 0}
!31 = !{!24, !12, i64 108}
!32 = !{!19, !6, i64 8}
!33 = !{!34, !12, i64 20}
!34 = !{!"", !14, i64 0, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !7, i64 32, !14, i64 128}
!35 = !{!34, !12, i64 24}
!36 = !{!28, !28, i64 0}
!37 = !{!38, !12, i64 0}
!38 = !{!"", !12, i64 0, !7, i64 4, !7, i64 5, !16, i64 6, !16, i64 8, !7, i64 10, !7, i64 11}
!39 = !{!38, !7, i64 4}
!40 = !{!38, !7, i64 5}
!41 = !{!38, !16, i64 6}
!42 = !{!38, !16, i64 8}
!43 = !{!38, !7, i64 10}
!44 = !{!38, !7, i64 11}
!45 = distinct !{!45, !46}
!46 = !{!"llvm.loop.mustprogress"}


; 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.NET_ARP_ADDRESS = type { i16, i8, ptr, %union.NET_ARP_ADDRESS_UNION }
%union.NET_ARP_ADDRESS_UNION = type { [32 x i8] }
%struct.NET_MAP = type { %struct._LIST_ENTRY, %struct._LIST_ENTRY, i64 }
%struct._LIST_ENTRY = type { ptr, ptr }

@.str.18 = external hidden unnamed_addr constant [47 x i8], align 1

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

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

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

declare zeroext i8 @DebugPrintEnabled() local_unnamed_addr #0

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

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

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

declare ptr @AllocatePool(i64 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local range(i64 -9223372036854775799, 1) i64 @ArpFindCacheEntry(ptr nocapture noundef readonly %0, i8 noundef zeroext %1, ptr noundef %2, ptr noundef writeonly %3, ptr noundef writeonly %4, ptr noundef writeonly %5, i8 noundef zeroext %6) local_unnamed_addr #2 {
  %8 = alloca %struct.NET_ARP_ADDRESS, align 8
  %9 = alloca %struct.NET_MAP, align 8
  %10 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
  %11 = getelementptr inbounds i8, ptr %0, i64 8
  %12 = load ptr, ptr %11, align 8, !tbaa !5
  call void @NetMapInit(ptr noundef nonnull %9) #3
  %.not = icmp eq i8 %1, 0
  br i1 %.not, label %18, label %13

13:                                               ; preds = %7
  %14 = getelementptr inbounds i8, ptr %0, i64 96
  %15 = load i16, ptr %14, align 8, !tbaa !15
  %16 = getelementptr inbounds i8, ptr %0, i64 98
  %17 = load i8, ptr %16, align 2, !tbaa !16
  br label %25

18:                                               ; preds = %7
  %19 = getelementptr inbounds i8, ptr %12, i64 752
  %20 = load i8, ptr %19, align 8, !tbaa !17
  %21 = zext i8 %20 to i16
  %22 = getelementptr inbounds i8, ptr %12, i64 108
  %23 = load i32, ptr %22, align 4, !tbaa !25
  %24 = trunc i32 %23 to i8
  br label %25

25:                                               ; preds = %18, %13
  %.sink89 = phi i16 [ %21, %18 ], [ %15, %13 ]
  %.sink = phi i8 [ %24, %18 ], [ %17, %13 ]
  %.066 = phi i32 [ 2, %18 ], [ 1, %13 ]
  store i16 %.sink89, ptr %8, align 8
  %26 = getelementptr inbounds i8, ptr %8, i64 2
  store i8 %.sink, ptr %26, align 2
  %27 = getelementptr inbounds i8, ptr %8, i64 8
  store ptr %2, ptr %27, align 8, !tbaa !26
  %28 = getelementptr inbounds i8, ptr %12, i64 800
  %29 = call ptr @ArpFindNextCacheEntryInTable(ptr noundef nonnull %28, ptr noundef null, i32 noundef %.066, ptr noundef nonnull %8, ptr noundef nonnull %8)
  %30 = icmp eq ptr %29, null
  br i1 %30, label %.preheader, label %.lr.ph

.lr.ph:                                           ; preds = %25
  %.not75 = icmp eq i8 %6, 0
  br i1 %.not75, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph, %.lr.ph.split.us
  %31 = phi ptr [ %33, %.lr.ph.split.us ], [ %29, %.lr.ph ]
  %32 = call i64 @NetMapInsertTail(ptr noundef nonnull %9, ptr noundef nonnull %31, ptr noundef nonnull %28) #3
  %33 = call ptr @ArpFindNextCacheEntryInTable(ptr noundef nonnull %28, ptr noundef nonnull %31, i32 noundef %.066, ptr noundef nonnull %8, ptr noundef nonnull %8)
  %34 = icmp eq ptr %33, null
  br i1 %34, label %.preheader, label %.lr.ph.split.us

.preheader:                                       ; preds = %.lr.ph.split, %.lr.ph.split.us, %25
  %35 = getelementptr inbounds i8, ptr %12, i64 816
  %36 = call ptr @ArpFindNextCacheEntryInTable(ptr noundef nonnull %35, ptr noundef null, i32 noundef %.066, ptr noundef nonnull %8, ptr noundef nonnull %8)
  %37 = icmp eq ptr %36, null
  br i1 %37, label %._crit_edge, label %.lr.ph82

.lr.ph82:                                         ; preds = %.preheader
  %.not76 = icmp eq i8 %6, 0
  br i1 %.not76, label %.lr.ph82.split.us, label %.lr.ph82.split

.lr.ph82.split.us:                                ; preds = %.lr.ph82, %.lr.ph82.split.us
  %38 = phi ptr [ %40, %.lr.ph82.split.us ], [ %36, %.lr.ph82 ]
  %39 = call i64 @NetMapInsertTail(ptr noundef nonnull %9, ptr noundef nonnull %38, ptr noundef nonnull %35) #3
  %40 = call ptr @ArpFindNextCacheEntryInTable(ptr noundef nonnull %35, ptr noundef nonnull %38, i32 noundef %.066, ptr noundef nonnull %8, ptr noundef nonnull %8)
  %41 = icmp eq ptr %40, null
  br i1 %41, label %._crit_edge, label %.lr.ph82.split.us

.lr.ph.split:                                     ; preds = %.lr.ph, %.lr.ph.split
  %42 = phi ptr [ %47, %.lr.ph.split ], [ %29, %.lr.ph ]
  %43 = call i64 @NetMapInsertTail(ptr noundef nonnull %9, ptr noundef nonnull %42, ptr noundef nonnull %28) #3
  %44 = getelementptr inbounds i8, ptr %42, i64 20
  %45 = load i32, ptr %44, align 4, !tbaa !28
  %46 = getelementptr inbounds i8, ptr %42, i64 24
  store i32 %45, ptr %46, align 8, !tbaa !30
  %47 = call ptr @ArpFindNextCacheEntryInTable(ptr noundef nonnull %28, ptr noundef nonnull %42, i32 noundef %.066, ptr noundef nonnull %8, ptr noundef nonnull %8)
  %48 = icmp eq ptr %47, null
  br i1 %48, label %.preheader, label %.lr.ph.split

.lr.ph82.split:                                   ; preds = %.lr.ph82, %.lr.ph82.split
  %49 = phi ptr [ %54, %.lr.ph82.split ], [ %36, %.lr.ph82 ]
  %50 = call i64 @NetMapInsertTail(ptr noundef nonnull %9, ptr noundef nonnull %49, ptr noundef nonnull %35) #3
  %51 = getelementptr inbounds i8, ptr %49, i64 20
  %52 = load i32, ptr %51, align 4, !tbaa !28
  %53 = getelementptr inbounds i8, ptr %49, i64 24
  store i32 %52, ptr %53, align 8, !tbaa !30
  %54 = call ptr @ArpFindNextCacheEntryInTable(ptr noundef nonnull %35, ptr noundef nonnull %49, i32 noundef %.066, ptr noundef nonnull %8, ptr noundef nonnull %8)
  %55 = icmp eq ptr %54, null
  br i1 %55, label %._crit_edge, label %.lr.ph82.split

._crit_edge:                                      ; preds = %.lr.ph82.split, %.lr.ph82.split.us, %.preheader
  %56 = call i64 @NetMapGetCount(ptr noundef nonnull %9) #3
  %57 = trunc i64 %56 to i32
  %58 = icmp eq i32 %57, 0
  br i1 %58, label %.loopexit, label %59

59:                                               ; preds = %._crit_edge
  %60 = getelementptr inbounds i8, ptr %0, i64 96
  %61 = getelementptr inbounds i8, ptr %0, i64 98
  %62 = load i8, ptr %61, align 2, !tbaa !16
  %63 = zext i8 %62 to i32
  %64 = getelementptr inbounds i8, ptr %12, i64 108
  %65 = load i32, ptr %64, align 4, !tbaa !25
  %66 = add nuw nsw i32 %63, 15
  %67 = add i32 %66, %65
  %68 = and i32 %67, -4
  %.not77 = icmp eq ptr %3, null
  br i1 %.not77, label %70, label %69

69:                                               ; preds = %59
  store i32 %68, ptr %3, align 4, !tbaa !31
  br label %70

70:                                               ; preds = %69, %59
  %.not78 = icmp eq ptr %4, null
  br i1 %.not78, label %72, label %71

71:                                               ; preds = %70
  store i32 %57, ptr %4, align 4, !tbaa !31
  br label %72

72:                                               ; preds = %71, %70
  %73 = icmp eq ptr %5, null
  br i1 %73, label %.loopexit, label %74

74:                                               ; preds = %72
  %75 = mul i32 %68, %57
  %76 = zext i32 %75 to i64
  %77 = call ptr @AllocatePool(i64 noundef %76) #3
  %78 = icmp eq ptr %77, null
  br i1 %78, label %79, label %84

79:                                               ; preds = %74
  %80 = call zeroext i8 @DebugPrintEnabled() #3
  %.not80 = icmp eq i8 %80, 0
  br i1 %.not80, label %.loopexit, label %81

81:                                               ; preds = %79
  %82 = call zeroext i8 @DebugPrintLevelEnabled(i64 noundef 2147483648) #3
  %.not81 = icmp eq i8 %82, 0
  br i1 %.not81, label %.loopexit, label %83

83:                                               ; preds = %81
  call void (i64, ptr, ...) @DebugPrint(i64 noundef 2147483648, ptr noundef nonnull @.str.18) #3
  br label %.loopexit

84:                                               ; preds = %74
  store ptr %77, ptr %5, align 8, !tbaa !32
  %85 = call zeroext i8 @NetMapIsEmpty(ptr noundef nonnull %9) #3
  %.not7983 = icmp eq i8 %85, 0
  br i1 %.not7983, label %.lr.ph86, label %.loopexit

.lr.ph86:                                         ; preds = %84
  %86 = getelementptr inbounds i8, ptr %12, i64 752
  %87 = zext i32 %68 to i64
  br label %88

88:                                               ; preds = %.lr.ph86, %88
  %.06584 = phi ptr [ %77, %.lr.ph86 ], [ %122, %88 ]
  %89 = call ptr @NetMapRemoveHead(ptr noundef nonnull %9, ptr noundef nonnull %10) #3
  store i32 %68, ptr %.06584, align 4, !tbaa !33
  %90 = load ptr, ptr %10, align 8, !tbaa !32
  %91 = icmp eq ptr %90, %28
  %92 = zext i1 %91 to i8
  %93 = getelementptr inbounds i8, ptr %.06584, i64 4
  store i8 %92, ptr %93, align 4, !tbaa !35
  %94 = getelementptr inbounds i8, ptr %89, i64 20
  %95 = load i32, ptr %94, align 4, !tbaa !28
  %96 = icmp eq i32 %95, 0
  %97 = zext i1 %96 to i8
  %98 = getelementptr inbounds i8, ptr %.06584, i64 5
  store i8 %97, ptr %98, align 1, !tbaa !36
  %99 = load i8, ptr %86, align 8, !tbaa !17
  %100 = zext i8 %99 to i16
  %101 = getelementptr inbounds i8, ptr %.06584, i64 6
  store i16 %100, ptr %101, align 2, !tbaa !37
  %102 = load i16, ptr %60, align 8, !tbaa !15
  %103 = getelementptr inbounds i8, ptr %.06584, i64 8
  store i16 %102, ptr %103, align 4, !tbaa !38
  %104 = load i32, ptr %64, align 4, !tbaa !25
  %105 = trunc i32 %104 to i8
  %106 = getelementptr inbounds i8, ptr %.06584, i64 10
  store i8 %105, ptr %106, align 2, !tbaa !39
  %107 = load i8, ptr %61, align 2, !tbaa !16
  %108 = getelementptr inbounds i8, ptr %.06584, i64 11
  store i8 %107, ptr %108, align 1, !tbaa !40
  %109 = getelementptr inbounds i8, ptr %.06584, i64 12
  %110 = getelementptr inbounds i8, ptr %89, i64 88
  %111 = load ptr, ptr %110, align 8, !tbaa !26
  %112 = zext i8 %107 to i64
  %113 = call ptr @CopyMem(ptr noundef nonnull %109, ptr noundef %111, i64 noundef %112) #3
  %114 = load i8, ptr %108, align 1, !tbaa !40
  %115 = zext i8 %114 to i64
  %116 = getelementptr inbounds i8, ptr %109, i64 %115
  %117 = getelementptr inbounds i8, ptr %89, i64 40
  %118 = load ptr, ptr %117, align 8, !tbaa !26
  %119 = load i8, ptr %106, align 2, !tbaa !39
  %120 = zext i8 %119 to i64
  %121 = call ptr @CopyMem(ptr noundef nonnull %116, ptr noundef %118, i64 noundef %120) #3
  %122 = getelementptr inbounds i8, ptr %.06584, i64 %87
  %123 = call zeroext i8 @NetMapIsEmpty(ptr noundef nonnull %9) #3
  %.not79 = icmp eq i8 %123, 0
  br i1 %.not79, label %88, label %.loopexit, !llvm.loop !41

.loopexit:                                        ; preds = %88, %84, %79, %83, %81, %._crit_edge, %72
  %.0 = phi i64 [ 0, %72 ], [ -9223372036854775794, %._crit_edge ], [ -9223372036854775799, %81 ], [ -9223372036854775799, %83 ], [ -9223372036854775799, %79 ], [ 0, %84 ], [ 0, %88 ]
  call void @NetMapClean(ptr noundef nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #3
  ret i64 %.0
}

declare void @NetMapInit(ptr noundef) local_unnamed_addr #0

declare i64 @NetMapInsertTail(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare i64 @NetMapGetCount(ptr noundef) local_unnamed_addr #0

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

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

declare void @NetMapClean(ptr noundef) local_unnamed_addr #0

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24, !12, i64 80, !13, i64 96, !8, i64 128, !8, i64 129}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_EFI_ARP_PROTOCOL", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48}
!12 = !{!"_LIST_ENTRY", !10, i64 0, !10, i64 8}
!13 = !{!"", !14, i64 0, !8, i64 2, !10, i64 8, !7, i64 16, !7, i64 20, !7, i64 24}
!14 = !{!"short", !8, i64 0}
!15 = !{!6, !14, i64 96}
!16 = !{!6, !8, i64 98}
!17 = !{!18, !8, i64 752}
!18 = !{!"_ARP_SERVICE_DATA", !7, i64 0, !19, i64 8, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !20, i64 56, !21, i64 80, !23, i64 104, !22, i64 760, !12, i64 768, !12, i64 784, !12, i64 800, !12, i64 816, !10, i64 832}
!19 = !{!"_EFI_SERVICE_BINDING_PROTOCOL", !10, i64 0, !10, i64 8}
!20 = !{!"", !7, i64 0, !7, i64 4, !14, i64 8, !8, i64 10, !8, i64 11, !8, i64 12, !8, i64 13, !8, i64 14, !8, i64 15, !8, i64 16}
!21 = !{!"", !10, i64 0, !22, i64 8, !8, i64 16}
!22 = !{!"long long", !8, i64 0}
!23 = !{!"", !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, !24, i64 552, !24, i64 584, !24, i64 616, !8, i64 648, !8, i64 649, !8, i64 650, !8, i64 651, !8, i64 652}
!24 = !{!"", !8, i64 0}
!25 = !{!18, !7, i64 108}
!26 = !{!27, !10, i64 8}
!27 = !{!"", !14, i64 0, !8, i64 2, !10, i64 8, !8, i64 16}
!28 = !{!29, !7, i64 20}
!29 = !{!"", !12, i64 0, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !8, i64 32, !12, i64 128}
!30 = !{!29, !7, i64 24}
!31 = !{!7, !7, i64 0}
!32 = !{!10, !10, i64 0}
!33 = !{!34, !7, i64 0}
!34 = !{!"", !7, i64 0, !8, i64 4, !8, i64 5, !14, i64 6, !14, i64 8, !8, i64 10, !8, i64 11}
!35 = !{!34, !8, i64 4}
!36 = !{!34, !8, i64 5}
!37 = !{!34, !14, i64 6}
!38 = !{!34, !14, i64 8}
!39 = !{!34, !8, i64 10}
!40 = !{!34, !8, i64 11}
!41 = distinct !{!41, !42}
!42 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,MergedLoadStoreMotionPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass