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

; 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.GUID = type { i32, i16, i16, [8 x i8] }
%struct._EFI_PXE_BASE_CODE_PROTOCOL = type { i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct._EFI_LOAD_FILE_PROTOCOL = type { ptr }
%struct.EFI_IP4_MODE_DATA = type { i8, i32, %struct.EFI_IP4_CONFIG_DATA, i8, i32, ptr, i32, ptr, i32, ptr }
%struct.EFI_IP4_CONFIG_DATA = type { i8, i8, i8, i8, i8, i8, %struct.EFI_IPv4_ADDRESS, %struct.EFI_IPv4_ADDRESS, i8, i8, i8, i8, i32, i32 }
%struct.EFI_IPv4_ADDRESS = type { [4 x i8] }
%struct._PXEBC_PRIVATE_DATA = type { i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct._EFI_PXE_BASE_CODE_PROTOCOL, %struct._EFI_LOAD_FILE_PROTOCOL, %struct._EFI_PXE_BASE_CODE_CALLBACK_PROTOCOL, ptr, ptr, ptr, ptr, %struct.EFI_IP4_CONFIG_DATA, ptr, ptr, ptr, i16, %struct.EFI_UDP4_CONFIG_DATA, %struct.EFI_PXE_BASE_CODE_MODE, i32, ptr, %union.EFI_IP_ADDRESS, %union.EFI_IP_ADDRESS, %union.EFI_IP_ADDRESS, %union.EFI_IP_ADDRESS, i8, i32, i64, i64, [312 x i8], %struct.EFI_DHCP4_PACKET, %struct.EFI_MAC_ADDRESS, i8, i8, i8, i32, i32, i32, %struct.PXEBC_CACHED_DHCP4_PACKET, %struct.PXEBC_CACHED_DHCP4_PACKET, %struct.PXEBC_CACHED_DHCP4_PACKET, [16 x %struct.PXEBC_CACHED_DHCP4_PACKET], [5 x i32], [5 x [16 x i32]], i32, [5 x i32], [16 x i32], ptr, %struct.EFI_IP4_COMPLETION_TOKEN }
%struct._EFI_PXE_BASE_CODE_CALLBACK_PROTOCOL = type { i64, ptr }
%struct.EFI_UDP4_CONFIG_DATA = type { i8, i8, i8, i8, i8, i8, i8, i32, i32, i8, %struct.EFI_IPv4_ADDRESS, %struct.EFI_IPv4_ADDRESS, i16, %struct.EFI_IPv4_ADDRESS, i16 }
%struct.EFI_PXE_BASE_CODE_MODE = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, %union.EFI_IP_ADDRESS, %union.EFI_IP_ADDRESS, %union.EFI_PXE_BASE_CODE_PACKET, %union.EFI_PXE_BASE_CODE_PACKET, %union.EFI_PXE_BASE_CODE_PACKET, %union.EFI_PXE_BASE_CODE_PACKET, %union.EFI_PXE_BASE_CODE_PACKET, %union.EFI_PXE_BASE_CODE_PACKET, %struct.EFI_PXE_BASE_CODE_IP_FILTER, i32, [8 x %struct.EFI_PXE_BASE_CODE_ARP_ENTRY], i32, [8 x %struct.EFI_PXE_BASE_CODE_ROUTE_ENTRY], %struct.EFI_PXE_BASE_CODE_ICMP_ERROR, %struct.EFI_PXE_BASE_CODE_TFTP_ERROR }
%union.EFI_PXE_BASE_CODE_PACKET = type { %struct.EFI_PXE_BASE_CODE_DHCPV6_PACKET, [444 x i8] }
%struct.EFI_PXE_BASE_CODE_DHCPV6_PACKET = type { i32, [1024 x i8] }
%struct.EFI_PXE_BASE_CODE_IP_FILTER = type { i8, i8, i16, [8 x %union.EFI_IP_ADDRESS] }
%struct.EFI_PXE_BASE_CODE_ARP_ENTRY = type { %union.EFI_IP_ADDRESS, %struct.EFI_MAC_ADDRESS }
%struct.EFI_PXE_BASE_CODE_ROUTE_ENTRY = type { %union.EFI_IP_ADDRESS, %union.EFI_IP_ADDRESS, %union.EFI_IP_ADDRESS }
%struct.EFI_PXE_BASE_CODE_ICMP_ERROR = type { i8, i8, i16, %union.anon, [494 x i8] }
%union.anon = type { i32 }
%struct.EFI_PXE_BASE_CODE_TFTP_ERROR = type { i8, [127 x i8] }
%union.EFI_IP_ADDRESS = type { [4 x i32] }
%struct.EFI_DHCP4_PACKET = type <{ i32, i32, %struct.anon.0 }>
%struct.anon.0 = type <{ %struct.EFI_DHCP4_HEADER, i32, [1 x i8] }>
%struct.EFI_DHCP4_HEADER = type { i8, i8, i8, i8, i32, i16, i16, %struct.EFI_IPv4_ADDRESS, %struct.EFI_IPv4_ADDRESS, %struct.EFI_IPv4_ADDRESS, %struct.EFI_IPv4_ADDRESS, [16 x i8], [64 x i8], [128 x i8] }
%struct.EFI_MAC_ADDRESS = type { [32 x i8] }
%struct.PXEBC_CACHED_DHCP4_PACKET = type { %union.PXEBC_DHCP4_PACKET, i8, i8, [7 x ptr], %struct.PXEBC_VENDOR_OPTION }
%union.PXEBC_DHCP4_PACKET = type { [1480 x i8] }
%struct.PXEBC_VENDOR_OPTION = type { [8 x i32], %struct.EFI_IPv4_ADDRESS, i16, i16, i8, i8, i8, %struct.EFI_IPv4_ADDRESS, %struct.EFI_IPv4_ADDRESS, i16, i16, i16, i16, ptr, i8, ptr, i8, ptr, i8, ptr, i8 }
%struct.EFI_IP4_COMPLETION_TOKEN = type { ptr, i64, %union.anon.1 }
%union.anon.1 = type { ptr }
%struct._EFI_DRIVER_BINDING_PROTOCOL = type { ptr, ptr, ptr, i32, ptr, ptr }
%struct.EFI_BOOT_SERVICES = type { %struct.EFI_TABLE_HEADER, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.EFI_TABLE_HEADER = type { i64, i32, i32, i32, i32 }
%struct._EFI_IP4_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

@gBS = external global ptr, align 8
@gEfiPxeBaseCodeProtocolGuid = external global %struct.GUID, align 4
@gEfiDhcp4ServiceBindingProtocolGuid = external global %struct.GUID, align 4
@gEfiMtftp4ServiceBindingProtocolGuid = external global %struct.GUID, align 4
@mPxeBcProtocolTemplate = external global %struct._EFI_PXE_BASE_CODE_PROTOCOL, align 8
@mLoadFileProtocolTemplate = external global %struct._EFI_LOAD_FILE_PROTOCOL, align 8
@gEfiNetworkInterfaceIdentifierProtocolGuid_31 = external global %struct.GUID, align 4
@gEfiArpServiceBindingProtocolGuid = external global %struct.GUID, align 4
@gEfiArpProtocolGuid = external global %struct.GUID, align 4
@gEfiDhcp4ProtocolGuid = external global %struct.GUID, align 4
@gEfiIp4ServiceBindingProtocolGuid = external global %struct.GUID, align 4
@gEfiIp4ProtocolGuid = external global %struct.GUID, align 4
@gEfiMtftp4ProtocolGuid = external global %struct.GUID, align 4
@gEfiUdp4ServiceBindingProtocolGuid = external global %struct.GUID, align 4
@gEfiUdp4ProtocolGuid = external global %struct.GUID, align 4
@gEfiLoadFileProtocolGuid = external global %struct.GUID, align 4

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

16:                                               ; preds = %3
  store i64 -9223372036854775799, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %509

17:                                               ; preds = %3
  %18 = load ptr, ptr %8, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %18, i32 0, i32 0
  store i32 1346721872, ptr %19, align 8, !tbaa !9
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = load ptr, ptr %8, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %21, i32 0, i32 1
  store ptr %20, ptr %22, align 8, !tbaa !30
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %23, i32 0, i32 5
  %25 = load ptr, ptr %24, align 8, !tbaa !31
  %26 = load ptr, ptr %8, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %26, i32 0, i32 2
  store ptr %25, ptr %27, align 8, !tbaa !33
  %28 = load ptr, ptr %8, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %28, i32 0, i32 10
  %30 = call ptr @CopyMem(ptr noundef %29, ptr noundef @mPxeBcProtocolTemplate, i64 noundef 112)
  %31 = load ptr, ptr %8, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %31, i32 0, i32 23
  %33 = load ptr, ptr %8, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %33, i32 0, i32 10
  %35 = getelementptr inbounds %struct._EFI_PXE_BASE_CODE_PROTOCOL, ptr %34, i32 0, i32 13
  store ptr %32, ptr %35, align 8, !tbaa !34
  %36 = load ptr, ptr %8, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %36, i32 0, i32 11
  %38 = call ptr @CopyMem(ptr noundef %37, ptr noundef @mLoadFileProtocolTemplate, i64 noundef 8)
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %39, i32 0, i32 43
  %41 = getelementptr inbounds %struct.PXEBC_CACHED_DHCP4_PACKET, ptr %40, i32 0, i32 0
  %42 = getelementptr inbounds %struct.EFI_DHCP4_PACKET, ptr %41, i32 0, i32 0
  store i32 1480, ptr %42, align 8, !tbaa !35
  %43 = load ptr, ptr %8, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %43, i32 0, i32 44
  %45 = getelementptr inbounds %struct.PXEBC_CACHED_DHCP4_PACKET, ptr %44, i32 0, i32 0
  %46 = getelementptr inbounds %struct.EFI_DHCP4_PACKET, ptr %45, i32 0, i32 0
  store i32 1480, ptr %46, align 8, !tbaa !35
  %47 = load ptr, ptr %8, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %47, i32 0, i32 45
  %49 = getelementptr inbounds %struct.PXEBC_CACHED_DHCP4_PACKET, ptr %48, i32 0, i32 0
  %50 = getelementptr inbounds %struct.EFI_DHCP4_PACKET, ptr %49, i32 0, i32 0
  store i32 1480, ptr %50, align 8, !tbaa !35
  store i64 0, ptr %9, align 8, !tbaa !36
  br label %51

51:                                               ; preds = %61, %17
  %52 = load i64, ptr %9, align 8, !tbaa !36
  %53 = icmp ult i64 %52, 16
  br i1 %53, label %54, label %64

54:                                               ; preds = %51
  %55 = load ptr, ptr %8, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %55, i32 0, i32 46
  %57 = load i64, ptr %9, align 8, !tbaa !36
  %58 = getelementptr inbounds [16 x %struct.PXEBC_CACHED_DHCP4_PACKET], ptr %56, i64 0, i64 %57
  %59 = getelementptr inbounds %struct.PXEBC_CACHED_DHCP4_PACKET, ptr %58, i32 0, i32 0
  %60 = getelementptr inbounds %struct.EFI_DHCP4_PACKET, ptr %59, i32 0, i32 0
  store i32 1480, ptr %60, align 8, !tbaa !35
  br label %61

61:                                               ; preds = %54
  %62 = load i64, ptr %9, align 8, !tbaa !36
  %63 = add i64 %62, 1
  store i64 %63, ptr %9, align 8, !tbaa !36
  br label %51, !llvm.loop !37

64:                                               ; preds = %51
  %65 = load ptr, ptr @gBS, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %65, i32 0, i32 33
  %67 = load ptr, ptr %66, align 8, !tbaa !39
  %68 = load ptr, ptr %6, align 8, !tbaa !5
  %69 = load ptr, ptr %8, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %69, i32 0, i32 9
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %71, i32 0, i32 5
  %73 = load ptr, ptr %72, align 8, !tbaa !31
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = call i64 %67(ptr noundef %68, ptr noundef @gEfiNetworkInterfaceIdentifierProtocolGuid_31, ptr noundef %70, ptr noundef %73, ptr noundef %74, i32 noundef 2)
  store i64 %75, ptr %10, align 8, !tbaa !36
  %76 = load i64, ptr %10, align 8, !tbaa !36
  %77 = icmp slt i64 %76, 0
  br i1 %77, label %78, label %81

78:                                               ; preds = %64
  %79 = load ptr, ptr %8, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %79, i32 0, i32 9
  store ptr null, ptr %80, align 8, !tbaa !42
  br label %81

81:                                               ; preds = %78, %64
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %83, i32 0, i32 5
  %85 = load ptr, ptr %84, align 8, !tbaa !31
  %86 = load ptr, ptr %8, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %86, i32 0, i32 3
  %88 = call i64 @NetLibCreateServiceChild(ptr noundef %82, ptr noundef %85, ptr noundef @gEfiArpServiceBindingProtocolGuid, ptr noundef %87)
  store i64 %88, ptr %10, align 8, !tbaa !36
  %89 = load i64, ptr %10, align 8, !tbaa !36
  %90 = icmp slt i64 %89, 0
  br i1 %90, label %91, label %92

91:                                               ; preds = %81
  br label %356

92:                                               ; preds = %81
  %93 = load ptr, ptr @gBS, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %93, i32 0, i32 33
  %95 = load ptr, ptr %94, align 8, !tbaa !39
  %96 = load ptr, ptr %8, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %96, i32 0, i32 3
  %98 = load ptr, ptr %97, align 8, !tbaa !43
  %99 = load ptr, ptr %8, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %99, i32 0, i32 14
  %101 = load ptr, ptr %5, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %101, i32 0, i32 5
  %103 = load ptr, ptr %102, align 8, !tbaa !31
  %104 = load ptr, ptr %6, align 8, !tbaa !5
  %105 = call i64 %95(ptr noundef %98, ptr noundef @gEfiArpProtocolGuid, ptr noundef %100, ptr noundef %103, ptr noundef %104, i32 noundef 16)
  store i64 %105, ptr %10, align 8, !tbaa !36
  %106 = load i64, ptr %10, align 8, !tbaa !36
  %107 = icmp slt i64 %106, 0
  br i1 %107, label %108, label %109

108:                                              ; preds = %92
  br label %356

109:                                              ; preds = %92
  %110 = load ptr, ptr %6, align 8, !tbaa !5
  %111 = load ptr, ptr %5, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %111, i32 0, i32 5
  %113 = load ptr, ptr %112, align 8, !tbaa !31
  %114 = load ptr, ptr %8, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %114, i32 0, i32 4
  %116 = call i64 @NetLibCreateServiceChild(ptr noundef %110, ptr noundef %113, ptr noundef @gEfiDhcp4ServiceBindingProtocolGuid, ptr noundef %115)
  store i64 %116, ptr %10, align 8, !tbaa !36
  %117 = load i64, ptr %10, align 8, !tbaa !36
  %118 = icmp slt i64 %117, 0
  br i1 %118, label %119, label %120

119:                                              ; preds = %109
  br label %356

120:                                              ; preds = %109
  %121 = load ptr, ptr @gBS, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %121, i32 0, i32 33
  %123 = load ptr, ptr %122, align 8, !tbaa !39
  %124 = load ptr, ptr %8, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %124, i32 0, i32 4
  %126 = load ptr, ptr %125, align 8, !tbaa !44
  %127 = load ptr, ptr %8, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %127, i32 0, i32 15
  %129 = load ptr, ptr %5, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %129, i32 0, i32 5
  %131 = load ptr, ptr %130, align 8, !tbaa !31
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = call i64 %123(ptr noundef %126, ptr noundef @gEfiDhcp4ProtocolGuid, ptr noundef %128, ptr noundef %131, ptr noundef %132, i32 noundef 16)
  store i64 %133, ptr %10, align 8, !tbaa !36
  %134 = load i64, ptr %10, align 8, !tbaa !36
  %135 = icmp slt i64 %134, 0
  br i1 %135, label %136, label %137

136:                                              ; preds = %120
  br label %356

137:                                              ; preds = %120
  %138 = load ptr, ptr %6, align 8, !tbaa !5
  %139 = load ptr, ptr %5, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %139, i32 0, i32 5
  %141 = load ptr, ptr %140, align 8, !tbaa !31
  %142 = load ptr, ptr %8, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %142, i32 0, i32 5
  %144 = call i64 @NetLibCreateServiceChild(ptr noundef %138, ptr noundef %141, ptr noundef @gEfiIp4ServiceBindingProtocolGuid, ptr noundef %143)
  store i64 %144, ptr %10, align 8, !tbaa !36
  %145 = load i64, ptr %10, align 8, !tbaa !36
  %146 = icmp slt i64 %145, 0
  br i1 %146, label %147, label %148

147:                                              ; preds = %137
  br label %356

148:                                              ; preds = %137
  %149 = load ptr, ptr @gBS, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %149, i32 0, i32 33
  %151 = load ptr, ptr %150, align 8, !tbaa !39
  %152 = load ptr, ptr %8, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %152, i32 0, i32 5
  %154 = load ptr, ptr %153, align 8, !tbaa !45
  %155 = load ptr, ptr %8, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %155, i32 0, i32 16
  %157 = load ptr, ptr %5, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %157, i32 0, i32 5
  %159 = load ptr, ptr %158, align 8, !tbaa !31
  %160 = load ptr, ptr %6, align 8, !tbaa !5
  %161 = call i64 %151(ptr noundef %154, ptr noundef @gEfiIp4ProtocolGuid, ptr noundef %156, ptr noundef %159, ptr noundef %160, i32 noundef 16)
  store i64 %161, ptr %10, align 8, !tbaa !36
  %162 = load i64, ptr %10, align 8, !tbaa !36
  %163 = icmp slt i64 %162, 0
  br i1 %163, label %164, label %165

164:                                              ; preds = %148
  br label %356

165:                                              ; preds = %148
  %166 = load ptr, ptr %8, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %166, i32 0, i32 16
  %168 = load ptr, ptr %167, align 8, !tbaa !46
  %169 = getelementptr inbounds %struct._EFI_IP4_PROTOCOL, ptr %168, i32 0, i32 0
  %170 = load ptr, ptr %169, align 8, !tbaa !47
  %171 = load ptr, ptr %8, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %171, i32 0, i32 16
  %173 = load ptr, ptr %172, align 8, !tbaa !46
  %174 = call i64 %170(ptr noundef %173, ptr noundef %11, ptr noundef null, ptr noundef null)
  store i64 %174, ptr %10, align 8, !tbaa !36
  %175 = load i64, ptr %10, align 8, !tbaa !36
  %176 = icmp slt i64 %175, 0
  br i1 %176, label %177, label %178

177:                                              ; preds = %165
  br label %356

178:                                              ; preds = %165
  %179 = getelementptr inbounds %struct.EFI_IP4_MODE_DATA, ptr %11, i32 0, i32 1
  %180 = load i32, ptr %179, align 4, !tbaa !49
  %181 = load ptr, ptr %8, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %181, i32 0, i32 31
  store i32 %180, ptr %182, align 4, !tbaa !51
  %183 = load ptr, ptr %6, align 8, !tbaa !5
  %184 = load ptr, ptr %5, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %184, i32 0, i32 5
  %186 = load ptr, ptr %185, align 8, !tbaa !31
  %187 = load ptr, ptr %8, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %187, i32 0, i32 6
  %189 = call i64 @NetLibCreateServiceChild(ptr noundef %183, ptr noundef %186, ptr noundef @gEfiMtftp4ServiceBindingProtocolGuid, ptr noundef %188)
  store i64 %189, ptr %10, align 8, !tbaa !36
  %190 = load i64, ptr %10, align 8, !tbaa !36
  %191 = icmp slt i64 %190, 0
  br i1 %191, label %192, label %193

192:                                              ; preds = %178
  br label %356

193:                                              ; preds = %178
  %194 = load ptr, ptr @gBS, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %194, i32 0, i32 33
  %196 = load ptr, ptr %195, align 8, !tbaa !39
  %197 = load ptr, ptr %8, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %197, i32 0, i32 6
  %199 = load ptr, ptr %198, align 8, !tbaa !52
  %200 = load ptr, ptr %8, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %200, i32 0, i32 18
  %202 = load ptr, ptr %5, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %202, i32 0, i32 5
  %204 = load ptr, ptr %203, align 8, !tbaa !31
  %205 = load ptr, ptr %6, align 8, !tbaa !5
  %206 = call i64 %196(ptr noundef %199, ptr noundef @gEfiMtftp4ProtocolGuid, ptr noundef %201, ptr noundef %204, ptr noundef %205, i32 noundef 16)
  store i64 %206, ptr %10, align 8, !tbaa !36
  %207 = load i64, ptr %10, align 8, !tbaa !36
  %208 = icmp slt i64 %207, 0
  br i1 %208, label %209, label %210

209:                                              ; preds = %193
  br label %356

210:                                              ; preds = %193
  %211 = load ptr, ptr %6, align 8, !tbaa !5
  %212 = load ptr, ptr %5, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %212, i32 0, i32 5
  %214 = load ptr, ptr %213, align 8, !tbaa !31
  %215 = load ptr, ptr %8, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %215, i32 0, i32 7
  %217 = call i64 @NetLibCreateServiceChild(ptr noundef %211, ptr noundef %214, ptr noundef @gEfiUdp4ServiceBindingProtocolGuid, ptr noundef %216)
  store i64 %217, ptr %10, align 8, !tbaa !36
  %218 = load i64, ptr %10, align 8, !tbaa !36
  %219 = icmp slt i64 %218, 0
  br i1 %219, label %220, label %221

220:                                              ; preds = %210
  br label %356

221:                                              ; preds = %210
  %222 = load ptr, ptr @gBS, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %222, i32 0, i32 33
  %224 = load ptr, ptr %223, align 8, !tbaa !39
  %225 = load ptr, ptr %8, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %225, i32 0, i32 7
  %227 = load ptr, ptr %226, align 8, !tbaa !53
  %228 = load ptr, ptr %8, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %228, i32 0, i32 19
  %230 = load ptr, ptr %5, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %230, i32 0, i32 5
  %232 = load ptr, ptr %231, align 8, !tbaa !31
  %233 = load ptr, ptr %6, align 8, !tbaa !5
  %234 = call i64 %224(ptr noundef %227, ptr noundef @gEfiUdp4ProtocolGuid, ptr noundef %229, ptr noundef %232, ptr noundef %233, i32 noundef 16)
  store i64 %234, ptr %10, align 8, !tbaa !36
  %235 = load i64, ptr %10, align 8, !tbaa !36
  %236 = icmp slt i64 %235, 0
  br i1 %236, label %237, label %238

237:                                              ; preds = %221
  br label %356

238:                                              ; preds = %221
  %239 = load ptr, ptr %6, align 8, !tbaa !5
  %240 = load ptr, ptr %5, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %240, i32 0, i32 5
  %242 = load ptr, ptr %241, align 8, !tbaa !31
  %243 = load ptr, ptr %8, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %243, i32 0, i32 8
  %245 = call i64 @NetLibCreateServiceChild(ptr noundef %239, ptr noundef %242, ptr noundef @gEfiUdp4ServiceBindingProtocolGuid, ptr noundef %244)
  store i64 %245, ptr %10, align 8, !tbaa !36
  %246 = load i64, ptr %10, align 8, !tbaa !36
  %247 = icmp slt i64 %246, 0
  br i1 %247, label %248, label %249

248:                                              ; preds = %238
  br label %356

249:                                              ; preds = %238
  %250 = load ptr, ptr @gBS, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %250, i32 0, i32 33
  %252 = load ptr, ptr %251, align 8, !tbaa !39
  %253 = load ptr, ptr %8, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %253, i32 0, i32 8
  %255 = load ptr, ptr %254, align 8, !tbaa !54
  %256 = load ptr, ptr %8, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %256, i32 0, i32 20
  %258 = load ptr, ptr %5, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %258, i32 0, i32 5
  %260 = load ptr, ptr %259, align 8, !tbaa !31
  %261 = load ptr, ptr %6, align 8, !tbaa !5
  %262 = call i64 %252(ptr noundef %255, ptr noundef @gEfiUdp4ProtocolGuid, ptr noundef %257, ptr noundef %260, ptr noundef %261, i32 noundef 16)
  store i64 %262, ptr %10, align 8, !tbaa !36
  %263 = load i64, ptr %10, align 8, !tbaa !36
  %264 = icmp slt i64 %263, 0
  br i1 %264, label %265, label %266

265:                                              ; preds = %249
  br label %356

266:                                              ; preds = %249
  %267 = load ptr, ptr %8, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %267, i32 0, i32 22
  %269 = call ptr @ZeroMem(ptr noundef %268, i64 noundef 36)
  %270 = load ptr, ptr %8, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %270, i32 0, i32 22
  %272 = getelementptr inbounds %struct.EFI_UDP4_CONFIG_DATA, ptr %271, i32 0, i32 0
  store i8 0, ptr %272, align 4, !tbaa !55
  %273 = load ptr, ptr %8, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %273, i32 0, i32 22
  %275 = getelementptr inbounds %struct.EFI_UDP4_CONFIG_DATA, ptr %274, i32 0, i32 1
  store i8 0, ptr %275, align 1, !tbaa !56
  %276 = load ptr, ptr %8, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %276, i32 0, i32 22
  %278 = getelementptr inbounds %struct.EFI_UDP4_CONFIG_DATA, ptr %277, i32 0, i32 2
  store i8 1, ptr %278, align 2, !tbaa !57
  %279 = load ptr, ptr %8, align 8, !tbaa !5
  %280 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %279, i32 0, i32 22
  %281 = getelementptr inbounds %struct.EFI_UDP4_CONFIG_DATA, ptr %280, i32 0, i32 3
  store i8 1, ptr %281, align 1, !tbaa !58
  %282 = load ptr, ptr %8, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %282, i32 0, i32 22
  %284 = getelementptr inbounds %struct.EFI_UDP4_CONFIG_DATA, ptr %283, i32 0, i32 4
  store i8 0, ptr %284, align 4, !tbaa !59
  %285 = load ptr, ptr %8, align 8, !tbaa !5
  %286 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %285, i32 0, i32 22
  %287 = getelementptr inbounds %struct.EFI_UDP4_CONFIG_DATA, ptr %286, i32 0, i32 5
  store i8 16, ptr %287, align 1, !tbaa !60
  %288 = load ptr, ptr %8, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %288, i32 0, i32 22
  %290 = getelementptr inbounds %struct.EFI_UDP4_CONFIG_DATA, ptr %289, i32 0, i32 6
  store i8 0, ptr %290, align 2, !tbaa !61
  %291 = load ptr, ptr %8, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %291, i32 0, i32 22
  %293 = getelementptr inbounds %struct.EFI_UDP4_CONFIG_DATA, ptr %292, i32 0, i32 7
  store i32 50000, ptr %293, align 4, !tbaa !62
  %294 = load ptr, ptr %8, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %294, i32 0, i32 22
  %296 = getelementptr inbounds %struct.EFI_UDP4_CONFIG_DATA, ptr %295, i32 0, i32 9
  store i8 0, ptr %296, align 4, !tbaa !63
  %297 = load ptr, ptr %8, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %297, i32 0, i32 35
  %299 = load ptr, ptr %8, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %299, i32 0, i32 19
  %301 = load ptr, ptr %300, align 8, !tbaa !64
  call void @PxeBcInitSeedPacket(ptr noundef %298, ptr noundef %301)
  %302 = load ptr, ptr %8, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %302, i32 0, i32 35
  %304 = getelementptr inbounds %struct.EFI_DHCP4_PACKET, ptr %303, i32 0, i32 2
  %305 = getelementptr inbounds %struct.anon.0, ptr %304, i32 0, i32 0
  %306 = getelementptr inbounds %struct.EFI_DHCP4_HEADER, ptr %305, i32 0, i32 2
  %307 = load i8, ptr %306, align 2, !tbaa !65
  %308 = load ptr, ptr %8, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %308, i32 0, i32 37
  store i8 %307, ptr %309, align 1, !tbaa !66
  %310 = load ptr, ptr %8, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %310, i32 0, i32 36
  %312 = load ptr, ptr %8, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %312, i32 0, i32 35
  %314 = getelementptr inbounds %struct.EFI_DHCP4_PACKET, ptr %313, i32 0, i32 2
  %315 = getelementptr inbounds %struct.anon.0, ptr %314, i32 0, i32 0
  %316 = getelementptr inbounds %struct.EFI_DHCP4_HEADER, ptr %315, i32 0, i32 11
  %317 = getelementptr inbounds [16 x i8], ptr %316, i64 0, i64 0
  %318 = load ptr, ptr %8, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %318, i32 0, i32 37
  %320 = load i8, ptr %319, align 1, !tbaa !66
  %321 = zext i8 %320 to i64
  %322 = call ptr @CopyMem(ptr noundef %311, ptr noundef %317, i64 noundef %321)
  %323 = load ptr, ptr %8, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %323, i32 0, i32 17
  %325 = call ptr @ZeroMem(ptr noundef %324, i64 noundef 28)
  %326 = load ptr, ptr %8, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %326, i32 0, i32 17
  %328 = getelementptr inbounds %struct.EFI_IP4_CONFIG_DATA, ptr %327, i32 0, i32 0
  store i8 1, ptr %328, align 8, !tbaa !67
  %329 = load ptr, ptr %8, align 8, !tbaa !5
  %330 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %329, i32 0, i32 17
  %331 = getelementptr inbounds %struct.EFI_IP4_CONFIG_DATA, ptr %330, i32 0, i32 2
  store i8 1, ptr %331, align 2, !tbaa !68
  %332 = load ptr, ptr %8, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %332, i32 0, i32 17
  %334 = getelementptr inbounds %struct.EFI_IP4_CONFIG_DATA, ptr %333, i32 0, i32 8
  store i8 0, ptr %334, align 2, !tbaa !69
  %335 = load ptr, ptr %8, align 8, !tbaa !5
  %336 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %335, i32 0, i32 17
  %337 = getelementptr inbounds %struct.EFI_IP4_CONFIG_DATA, ptr %336, i32 0, i32 9
  store i8 16, ptr %337, align 1, !tbaa !70
  %338 = load ptr, ptr %8, align 8, !tbaa !5
  %339 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %338, i32 0, i32 17
  %340 = getelementptr inbounds %struct.EFI_IP4_CONFIG_DATA, ptr %339, i32 0, i32 10
  store i8 0, ptr %340, align 8, !tbaa !71
  %341 = load ptr, ptr %8, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %341, i32 0, i32 17
  %343 = getelementptr inbounds %struct.EFI_IP4_CONFIG_DATA, ptr %342, i32 0, i32 11
  store i8 0, ptr %343, align 1, !tbaa !72
  %344 = load ptr, ptr @gBS, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %344, i32 0, i32 39
  %346 = load ptr, ptr %345, align 8, !tbaa !73
  %347 = load ptr, ptr %8, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %347, i32 0, i32 10
  %349 = load ptr, ptr %8, align 8, !tbaa !5
  %350 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %349, i32 0, i32 11
  %351 = call i64 (ptr, ...) %346(ptr noundef %6, ptr noundef @gEfiPxeBaseCodeProtocolGuid, ptr noundef %348, ptr noundef @gEfiLoadFileProtocolGuid, ptr noundef %350, ptr noundef null)
  store i64 %351, ptr %10, align 8, !tbaa !36
  %352 = load i64, ptr %10, align 8, !tbaa !36
  %353 = icmp slt i64 %352, 0
  br i1 %353, label %354, label %355

354:                                              ; preds = %266
  br label %356

355:                                              ; preds = %266
  store i64 0, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %509

356:                                              ; preds = %354, %265, %248, %237, %220, %209, %192, %177, %164, %147, %136, %119, %108, %91
  %357 = load ptr, ptr %8, align 8, !tbaa !5
  %358 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %357, i32 0, i32 8
  %359 = load ptr, ptr %358, align 8, !tbaa !54
  %360 = icmp ne ptr %359, null
  br i1 %360, label %361, label %381

361:                                              ; preds = %356
  %362 = load ptr, ptr @gBS, align 8, !tbaa !5
  %363 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %362, i32 0, i32 34
  %364 = load ptr, ptr %363, align 8, !tbaa !74
  %365 = load ptr, ptr %8, align 8, !tbaa !5
  %366 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %365, i32 0, i32 8
  %367 = load ptr, ptr %366, align 8, !tbaa !54
  %368 = load ptr, ptr %5, align 8, !tbaa !5
  %369 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %368, i32 0, i32 5
  %370 = load ptr, ptr %369, align 8, !tbaa !31
  %371 = load ptr, ptr %6, align 8, !tbaa !5
  %372 = call i64 %364(ptr noundef %367, ptr noundef @gEfiUdp4ProtocolGuid, ptr noundef %370, ptr noundef %371)
  %373 = load ptr, ptr %6, align 8, !tbaa !5
  %374 = load ptr, ptr %5, align 8, !tbaa !5
  %375 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %374, i32 0, i32 5
  %376 = load ptr, ptr %375, align 8, !tbaa !31
  %377 = load ptr, ptr %8, align 8, !tbaa !5
  %378 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %377, i32 0, i32 8
  %379 = load ptr, ptr %378, align 8, !tbaa !54
  %380 = call i64 @NetLibDestroyServiceChild(ptr noundef %373, ptr noundef %376, ptr noundef @gEfiUdp4ServiceBindingProtocolGuid, ptr noundef %379)
  br label %381

381:                                              ; preds = %361, %356
  %382 = load ptr, ptr %8, align 8, !tbaa !5
  %383 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %382, i32 0, i32 7
  %384 = load ptr, ptr %383, align 8, !tbaa !53
  %385 = icmp ne ptr %384, null
  br i1 %385, label %386, label %406

386:                                              ; preds = %381
  %387 = load ptr, ptr @gBS, align 8, !tbaa !5
  %388 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %387, i32 0, i32 34
  %389 = load ptr, ptr %388, align 8, !tbaa !74
  %390 = load ptr, ptr %8, align 8, !tbaa !5
  %391 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %390, i32 0, i32 7
  %392 = load ptr, ptr %391, align 8, !tbaa !53
  %393 = load ptr, ptr %5, align 8, !tbaa !5
  %394 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %393, i32 0, i32 5
  %395 = load ptr, ptr %394, align 8, !tbaa !31
  %396 = load ptr, ptr %6, align 8, !tbaa !5
  %397 = call i64 %389(ptr noundef %392, ptr noundef @gEfiUdp4ProtocolGuid, ptr noundef %395, ptr noundef %396)
  %398 = load ptr, ptr %6, align 8, !tbaa !5
  %399 = load ptr, ptr %5, align 8, !tbaa !5
  %400 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %399, i32 0, i32 5
  %401 = load ptr, ptr %400, align 8, !tbaa !31
  %402 = load ptr, ptr %8, align 8, !tbaa !5
  %403 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %402, i32 0, i32 7
  %404 = load ptr, ptr %403, align 8, !tbaa !53
  %405 = call i64 @NetLibDestroyServiceChild(ptr noundef %398, ptr noundef %401, ptr noundef @gEfiUdp4ServiceBindingProtocolGuid, ptr noundef %404)
  br label %406

406:                                              ; preds = %386, %381
  %407 = load ptr, ptr %8, align 8, !tbaa !5
  %408 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %407, i32 0, i32 6
  %409 = load ptr, ptr %408, align 8, !tbaa !52
  %410 = icmp ne ptr %409, null
  br i1 %410, label %411, label %431

411:                                              ; preds = %406
  %412 = load ptr, ptr @gBS, align 8, !tbaa !5
  %413 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %412, i32 0, i32 34
  %414 = load ptr, ptr %413, align 8, !tbaa !74
  %415 = load ptr, ptr %8, align 8, !tbaa !5
  %416 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %415, i32 0, i32 6
  %417 = load ptr, ptr %416, align 8, !tbaa !52
  %418 = load ptr, ptr %5, align 8, !tbaa !5
  %419 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %418, i32 0, i32 5
  %420 = load ptr, ptr %419, align 8, !tbaa !31
  %421 = load ptr, ptr %6, align 8, !tbaa !5
  %422 = call i64 %414(ptr noundef %417, ptr noundef @gEfiMtftp4ProtocolGuid, ptr noundef %420, ptr noundef %421)
  %423 = load ptr, ptr %6, align 8, !tbaa !5
  %424 = load ptr, ptr %5, align 8, !tbaa !5
  %425 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %424, i32 0, i32 5
  %426 = load ptr, ptr %425, align 8, !tbaa !31
  %427 = load ptr, ptr %8, align 8, !tbaa !5
  %428 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %427, i32 0, i32 6
  %429 = load ptr, ptr %428, align 8, !tbaa !52
  %430 = call i64 @NetLibDestroyServiceChild(ptr noundef %423, ptr noundef %426, ptr noundef @gEfiMtftp4ServiceBindingProtocolGuid, ptr noundef %429)
  br label %431

431:                                              ; preds = %411, %406
  %432 = load ptr, ptr %8, align 8, !tbaa !5
  %433 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %432, i32 0, i32 5
  %434 = load ptr, ptr %433, align 8, !tbaa !45
  %435 = icmp ne ptr %434, null
  br i1 %435, label %436, label %456

436:                                              ; preds = %431
  %437 = load ptr, ptr @gBS, align 8, !tbaa !5
  %438 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %437, i32 0, i32 34
  %439 = load ptr, ptr %438, align 8, !tbaa !74
  %440 = load ptr, ptr %8, align 8, !tbaa !5
  %441 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %440, i32 0, i32 5
  %442 = load ptr, ptr %441, align 8, !tbaa !45
  %443 = load ptr, ptr %5, align 8, !tbaa !5
  %444 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %443, i32 0, i32 5
  %445 = load ptr, ptr %444, align 8, !tbaa !31
  %446 = load ptr, ptr %6, align 8, !tbaa !5
  %447 = call i64 %439(ptr noundef %442, ptr noundef @gEfiIp4ProtocolGuid, ptr noundef %445, ptr noundef %446)
  %448 = load ptr, ptr %6, align 8, !tbaa !5
  %449 = load ptr, ptr %5, align 8, !tbaa !5
  %450 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %449, i32 0, i32 5
  %451 = load ptr, ptr %450, align 8, !tbaa !31
  %452 = load ptr, ptr %8, align 8, !tbaa !5
  %453 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %452, i32 0, i32 5
  %454 = load ptr, ptr %453, align 8, !tbaa !45
  %455 = call i64 @NetLibDestroyServiceChild(ptr noundef %448, ptr noundef %451, ptr noundef @gEfiIp4ServiceBindingProtocolGuid, ptr noundef %454)
  br label %456

456:                                              ; preds = %436, %431
  %457 = load ptr, ptr %8, align 8, !tbaa !5
  %458 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %457, i32 0, i32 4
  %459 = load ptr, ptr %458, align 8, !tbaa !44
  %460 = icmp ne ptr %459, null
  br i1 %460, label %461, label %481

461:                                              ; preds = %456
  %462 = load ptr, ptr @gBS, align 8, !tbaa !5
  %463 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %462, i32 0, i32 34
  %464 = load ptr, ptr %463, align 8, !tbaa !74
  %465 = load ptr, ptr %8, align 8, !tbaa !5
  %466 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %465, i32 0, i32 4
  %467 = load ptr, ptr %466, align 8, !tbaa !44
  %468 = load ptr, ptr %5, align 8, !tbaa !5
  %469 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %468, i32 0, i32 5
  %470 = load ptr, ptr %469, align 8, !tbaa !31
  %471 = load ptr, ptr %6, align 8, !tbaa !5
  %472 = call i64 %464(ptr noundef %467, ptr noundef @gEfiDhcp4ProtocolGuid, ptr noundef %470, ptr noundef %471)
  %473 = load ptr, ptr %6, align 8, !tbaa !5
  %474 = load ptr, ptr %5, align 8, !tbaa !5
  %475 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %474, i32 0, i32 5
  %476 = load ptr, ptr %475, align 8, !tbaa !31
  %477 = load ptr, ptr %8, align 8, !tbaa !5
  %478 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %477, i32 0, i32 4
  %479 = load ptr, ptr %478, align 8, !tbaa !44
  %480 = call i64 @NetLibDestroyServiceChild(ptr noundef %473, ptr noundef %476, ptr noundef @gEfiDhcp4ServiceBindingProtocolGuid, ptr noundef %479)
  br label %481

481:                                              ; preds = %461, %456
  %482 = load ptr, ptr %8, align 8, !tbaa !5
  %483 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %482, i32 0, i32 3
  %484 = load ptr, ptr %483, align 8, !tbaa !43
  %485 = icmp ne ptr %484, null
  br i1 %485, label %486, label %506

486:                                              ; preds = %481
  %487 = load ptr, ptr @gBS, align 8, !tbaa !5
  %488 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %487, i32 0, i32 34
  %489 = load ptr, ptr %488, align 8, !tbaa !74
  %490 = load ptr, ptr %8, align 8, !tbaa !5
  %491 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %490, i32 0, i32 3
  %492 = load ptr, ptr %491, align 8, !tbaa !43
  %493 = load ptr, ptr %5, align 8, !tbaa !5
  %494 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %493, i32 0, i32 5
  %495 = load ptr, ptr %494, align 8, !tbaa !31
  %496 = load ptr, ptr %6, align 8, !tbaa !5
  %497 = call i64 %489(ptr noundef %492, ptr noundef @gEfiArpProtocolGuid, ptr noundef %495, ptr noundef %496)
  %498 = load ptr, ptr %6, align 8, !tbaa !5
  %499 = load ptr, ptr %5, align 8, !tbaa !5
  %500 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %499, i32 0, i32 5
  %501 = load ptr, ptr %500, align 8, !tbaa !31
  %502 = load ptr, ptr %8, align 8, !tbaa !5
  %503 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %502, i32 0, i32 3
  %504 = load ptr, ptr %503, align 8, !tbaa !43
  %505 = call i64 @NetLibDestroyServiceChild(ptr noundef %498, ptr noundef %501, ptr noundef @gEfiArpServiceBindingProtocolGuid, ptr noundef %504)
  br label %506

506:                                              ; preds = %486, %481
  %507 = load ptr, ptr %8, align 8, !tbaa !5
  call void @FreePool(ptr noundef %507)
  %508 = load i64, ptr %10, align 8, !tbaa !36
  store i64 %508, ptr %4, align 8
  store i32 1, ptr %12, align 4
  br label %509

509:                                              ; preds = %506, %355, %16
  call void @llvm.lifetime.end.p0(i64 88, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  %510 = load i64, ptr %4, align 8
  ret i64 %510
}

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

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

declare ptr @AllocateZeroPool(i64 noundef) #2

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

declare i64 @NetLibCreateServiceChild(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare ptr @ZeroMem(ptr noundef, i64 noundef) #2

declare void @PxeBcInitSeedPacket(ptr noundef, ptr noundef) #2

declare i64 @NetLibDestroyServiceChild(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare void @FreePool(ptr noundef) #2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_PXEBC_PRIVATE_DATA", !11, 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, !12, i64 80, !14, i64 192, !15, i64 200, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !16, i64 248, !6, i64 280, !6, i64 288, !6, i64 296, !18, i64 304, !19, i64 308, !20, i64 344, !11, i64 10768, !6, i64 10776, !7, i64 10784, !7, i64 10800, !7, i64 10816, !7, i64 10832, !7, i64 10848, !11, i64 10852, !13, i64 10856, !13, i64 10864, !7, i64 10872, !24, i64 11184, !17, i64 11433, !7, i64 11465, !7, i64 11466, !7, i64 11467, !11, i64 11468, !11, i64 11472, !11, i64 11476, !27, i64 11480, !27, i64 13152, !27, i64 14824, !7, i64 16496, !7, i64 43248, !7, i64 43268, !11, i64 43588, !7, i64 43592, !7, i64 43612, !6, i64 43680, !29, i64 43688}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_EFI_PXE_BASE_CODE_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}
!13 = !{!"long long", !7, i64 0}
!14 = !{!"_EFI_LOAD_FILE_PROTOCOL", !6, i64 0}
!15 = !{!"_EFI_PXE_BASE_CODE_CALLBACK_PROTOCOL", !13, i64 0, !6, i64 8}
!16 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4, !7, i64 5, !17, i64 6, !17, i64 10, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !11, i64 20, !11, i64 24}
!17 = !{!"", !7, i64 0}
!18 = !{!"short", !7, i64 0}
!19 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4, !7, i64 5, !7, i64 6, !11, i64 8, !11, i64 12, !7, i64 16, !17, i64 17, !17, i64 21, !18, i64 26, !17, i64 28, !18, i64 32}
!20 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7, !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 20, !7, i64 36, !7, i64 52, !7, i64 1524, !7, i64 2996, !7, i64 4468, !7, i64 5940, !7, i64 7412, !21, i64 8884, !11, i64 9016, !7, i64 9020, !11, i64 9404, !7, i64 9408, !22, i64 9792, !23, i64 10296}
!21 = !{!"", !7, i64 0, !7, i64 1, !18, i64 2, !7, i64 4}
!22 = !{!"", !7, i64 0, !7, i64 1, !18, i64 2, !7, i64 4, !7, i64 8}
!23 = !{!"", !7, i64 0, !7, i64 1}
!24 = !{!"", !11, i64 0, !11, i64 4, !25, i64 8}
!25 = !{!"", !26, i64 0, !11, i64 236, !7, i64 240}
!26 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !11, i64 4, !18, i64 8, !18, i64 10, !17, i64 12, !17, i64 16, !17, i64 20, !17, i64 24, !7, i64 28, !7, i64 44, !7, i64 108}
!27 = !{!"", !7, i64 0, !7, i64 1480, !7, i64 1481, !7, i64 1488, !28, i64 1544}
!28 = !{!"", !7, i64 0, !17, i64 32, !18, i64 36, !18, i64 38, !7, i64 40, !7, i64 41, !7, i64 42, !17, i64 43, !17, i64 47, !18, i64 52, !18, i64 54, !18, i64 56, !18, i64 58, !6, i64 64, !7, i64 72, !6, i64 80, !7, i64 88, !6, i64 96, !7, i64 104, !6, i64 112, !7, i64 120}
!29 = !{!"", !6, i64 0, !13, i64 8, !7, i64 16}
!30 = !{!10, !6, i64 8}
!31 = !{!32, !6, i64 40}
!32 = !{!"_EFI_DRIVER_BINDING_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !11, i64 24, !6, i64 32, !6, i64 40}
!33 = !{!10, !6, i64 16}
!34 = !{!10, !6, i64 184}
!35 = !{!7, !7, i64 0}
!36 = !{!13, !13, i64 0}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!40, !6, i64 280}
!40 = !{!"", !41, i64 0, !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, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !6, i64 368}
!41 = !{!"", !13, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!42 = !{!10, !6, i64 72}
!43 = !{!10, !6, i64 24}
!44 = !{!10, !6, i64 32}
!45 = !{!10, !6, i64 40}
!46 = !{!10, !6, i64 240}
!47 = !{!48, !6, i64 0}
!48 = !{!"_EFI_IP4_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56}
!49 = !{!50, !11, i64 4}
!50 = !{!"", !7, i64 0, !11, i64 4, !16, i64 8, !7, i64 36, !11, i64 40, !6, i64 48, !11, i64 56, !6, i64 64, !11, i64 72, !6, i64 80}
!51 = !{!10, !11, i64 10852}
!52 = !{!10, !6, i64 48}
!53 = !{!10, !6, i64 56}
!54 = !{!10, !6, i64 64}
!55 = !{!10, !7, i64 308}
!56 = !{!10, !7, i64 309}
!57 = !{!10, !7, i64 310}
!58 = !{!10, !7, i64 311}
!59 = !{!10, !7, i64 312}
!60 = !{!10, !7, i64 313}
!61 = !{!10, !7, i64 314}
!62 = !{!10, !11, i64 316}
!63 = !{!10, !7, i64 324}
!64 = !{!10, !6, i64 288}
!65 = !{!10, !7, i64 11194}
!66 = !{!10, !7, i64 11465}
!67 = !{!10, !7, i64 248}
!68 = !{!10, !7, i64 250}
!69 = !{!10, !7, i64 262}
!70 = !{!10, !7, i64 263}
!71 = !{!10, !7, i64 264}
!72 = !{!10, !7, i64 265}
!73 = !{!40, !6, i64 328}
!74 = !{!40, !6, i64 288}


; 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.GUID = type { i32, i16, i16, [8 x i8] }
%struct._EFI_PXE_BASE_CODE_PROTOCOL = type { i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct._EFI_LOAD_FILE_PROTOCOL = type { ptr }
%struct.EFI_IP4_MODE_DATA = type { i8, i32, %struct.EFI_IP4_CONFIG_DATA, i8, i32, ptr, i32, ptr, i32, ptr }
%struct.EFI_IP4_CONFIG_DATA = type { i8, i8, i8, i8, i8, i8, %struct.EFI_IPv4_ADDRESS, %struct.EFI_IPv4_ADDRESS, i8, i8, i8, i8, i32, i32 }
%struct.EFI_IPv4_ADDRESS = type { [4 x i8] }

@gBS = external local_unnamed_addr global ptr, align 8
@gEfiPxeBaseCodeProtocolGuid = external global %struct.GUID, align 4
@gEfiDhcp4ServiceBindingProtocolGuid = external global %struct.GUID, align 4
@gEfiMtftp4ServiceBindingProtocolGuid = external global %struct.GUID, align 4
@mPxeBcProtocolTemplate = external global %struct._EFI_PXE_BASE_CODE_PROTOCOL, align 8
@mLoadFileProtocolTemplate = external global %struct._EFI_LOAD_FILE_PROTOCOL, align 8
@gEfiNetworkInterfaceIdentifierProtocolGuid_31 = external global %struct.GUID, align 4
@gEfiArpServiceBindingProtocolGuid = external global %struct.GUID, align 4
@gEfiArpProtocolGuid = external global %struct.GUID, align 4
@gEfiDhcp4ProtocolGuid = external global %struct.GUID, align 4
@gEfiIp4ServiceBindingProtocolGuid = external global %struct.GUID, align 4
@gEfiIp4ProtocolGuid = external global %struct.GUID, align 4
@gEfiMtftp4ProtocolGuid = external global %struct.GUID, align 4
@gEfiUdp4ServiceBindingProtocolGuid = external global %struct.GUID, align 4
@gEfiUdp4ProtocolGuid = external global %struct.GUID, align 4
@gEfiLoadFileProtocolGuid = external global %struct.GUID, align 4

; Function Attrs: nounwind uwtable
define dso_local range(i64 -9223372036854775808, 1) i64 @PxeBcDriverBindingStart(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef readnone %2) local_unnamed_addr #0 {
  %4 = alloca ptr, align 8
  %5 = alloca %struct.EFI_IP4_MODE_DATA, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %5) #3
  %6 = tail call ptr @AllocateZeroPool(i64 noundef 43712) #3
  %7 = icmp eq ptr %6, null
  br i1 %7, label %248, label %8

8:                                                ; preds = %3
  store i32 1346721872, ptr %6, align 8, !tbaa !9
  %9 = getelementptr inbounds i8, ptr %6, i64 8
  store ptr %1, ptr %9, align 8, !tbaa !30
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  %11 = load ptr, ptr %10, align 8, !tbaa !31
  %12 = getelementptr inbounds i8, ptr %6, i64 16
  store ptr %11, ptr %12, align 8, !tbaa !33
  %13 = getelementptr inbounds i8, ptr %6, i64 80
  %14 = tail call ptr @CopyMem(ptr noundef nonnull %13, ptr noundef nonnull @mPxeBcProtocolTemplate, i64 noundef 112) #3
  %15 = getelementptr inbounds i8, ptr %6, i64 344
  %16 = getelementptr inbounds i8, ptr %6, i64 184
  store ptr %15, ptr %16, align 8, !tbaa !34
  %17 = getelementptr inbounds i8, ptr %6, i64 192
  %18 = tail call ptr @CopyMem(ptr noundef nonnull %17, ptr noundef nonnull @mLoadFileProtocolTemplate, i64 noundef 8) #3
  %19 = getelementptr inbounds i8, ptr %6, i64 11480
  store i32 1480, ptr %19, align 8, !tbaa !35
  %20 = getelementptr inbounds i8, ptr %6, i64 13152
  store i32 1480, ptr %20, align 8, !tbaa !35
  %21 = getelementptr inbounds i8, ptr %6, i64 14824
  store i32 1480, ptr %21, align 8, !tbaa !35
  %22 = getelementptr inbounds i8, ptr %6, i64 16496
  store i32 1480, ptr %22, align 8, !tbaa !35
  %23 = getelementptr inbounds i8, ptr %6, i64 18168
  store i32 1480, ptr %23, align 8, !tbaa !35
  %24 = getelementptr inbounds i8, ptr %6, i64 19840
  store i32 1480, ptr %24, align 8, !tbaa !35
  %25 = getelementptr inbounds i8, ptr %6, i64 21512
  store i32 1480, ptr %25, align 8, !tbaa !35
  %26 = getelementptr inbounds i8, ptr %6, i64 23184
  store i32 1480, ptr %26, align 8, !tbaa !35
  %27 = getelementptr inbounds i8, ptr %6, i64 24856
  store i32 1480, ptr %27, align 8, !tbaa !35
  %28 = getelementptr inbounds i8, ptr %6, i64 26528
  store i32 1480, ptr %28, align 8, !tbaa !35
  %29 = getelementptr inbounds i8, ptr %6, i64 28200
  store i32 1480, ptr %29, align 8, !tbaa !35
  %30 = getelementptr inbounds i8, ptr %6, i64 29872
  store i32 1480, ptr %30, align 8, !tbaa !35
  %31 = getelementptr inbounds i8, ptr %6, i64 31544
  store i32 1480, ptr %31, align 8, !tbaa !35
  %32 = getelementptr inbounds i8, ptr %6, i64 33216
  store i32 1480, ptr %32, align 8, !tbaa !35
  %33 = getelementptr inbounds i8, ptr %6, i64 34888
  store i32 1480, ptr %33, align 8, !tbaa !35
  %34 = getelementptr inbounds i8, ptr %6, i64 36560
  store i32 1480, ptr %34, align 8, !tbaa !35
  %35 = getelementptr inbounds i8, ptr %6, i64 38232
  store i32 1480, ptr %35, align 8, !tbaa !35
  %36 = getelementptr inbounds i8, ptr %6, i64 39904
  store i32 1480, ptr %36, align 8, !tbaa !35
  %37 = getelementptr inbounds i8, ptr %6, i64 41576
  store i32 1480, ptr %37, align 8, !tbaa !35
  %38 = load ptr, ptr @gBS, align 8, !tbaa !5
  %39 = getelementptr inbounds i8, ptr %38, i64 280
  %40 = load ptr, ptr %39, align 8, !tbaa !36
  %41 = getelementptr inbounds i8, ptr %6, i64 72
  %42 = load ptr, ptr %10, align 8, !tbaa !31
  %43 = tail call i64 %40(ptr noundef %1, ptr noundef nonnull @gEfiNetworkInterfaceIdentifierProtocolGuid_31, ptr noundef nonnull %41, ptr noundef %42, ptr noundef %1, i32 noundef 2) #3
  %44 = icmp slt i64 %43, 0
  br i1 %44, label %45, label %46

45:                                               ; preds = %8
  store ptr null, ptr %41, align 8, !tbaa !39
  br label %46

46:                                               ; preds = %45, %8
  %47 = load ptr, ptr %10, align 8, !tbaa !31
  %48 = getelementptr inbounds i8, ptr %6, i64 24
  %49 = tail call i64 @NetLibCreateServiceChild(ptr noundef %1, ptr noundef %47, ptr noundef nonnull @gEfiArpServiceBindingProtocolGuid, ptr noundef nonnull %48) #3
  %50 = icmp slt i64 %49, 0
  br i1 %50, label %164, label %51

51:                                               ; preds = %46
  %52 = load ptr, ptr @gBS, align 8, !tbaa !5
  %53 = getelementptr inbounds i8, ptr %52, i64 280
  %54 = load ptr, ptr %53, align 8, !tbaa !36
  %55 = load ptr, ptr %48, align 8, !tbaa !40
  %56 = getelementptr inbounds i8, ptr %6, i64 224
  %57 = load ptr, ptr %10, align 8, !tbaa !31
  %58 = tail call i64 %54(ptr noundef %55, ptr noundef nonnull @gEfiArpProtocolGuid, ptr noundef nonnull %56, ptr noundef %57, ptr noundef %1, i32 noundef 16) #3
  %59 = icmp slt i64 %58, 0
  br i1 %59, label %164, label %60

60:                                               ; preds = %51
  %61 = load ptr, ptr %10, align 8, !tbaa !31
  %62 = getelementptr inbounds i8, ptr %6, i64 32
  %63 = tail call i64 @NetLibCreateServiceChild(ptr noundef %1, ptr noundef %61, ptr noundef nonnull @gEfiDhcp4ServiceBindingProtocolGuid, ptr noundef nonnull %62) #3
  %64 = icmp slt i64 %63, 0
  br i1 %64, label %164, label %65

65:                                               ; preds = %60
  %66 = load ptr, ptr @gBS, align 8, !tbaa !5
  %67 = getelementptr inbounds i8, ptr %66, i64 280
  %68 = load ptr, ptr %67, align 8, !tbaa !36
  %69 = load ptr, ptr %62, align 8, !tbaa !41
  %70 = getelementptr inbounds i8, ptr %6, i64 232
  %71 = load ptr, ptr %10, align 8, !tbaa !31
  %72 = tail call i64 %68(ptr noundef %69, ptr noundef nonnull @gEfiDhcp4ProtocolGuid, ptr noundef nonnull %70, ptr noundef %71, ptr noundef %1, i32 noundef 16) #3
  %73 = icmp slt i64 %72, 0
  br i1 %73, label %164, label %74

74:                                               ; preds = %65
  %75 = load ptr, ptr %10, align 8, !tbaa !31
  %76 = getelementptr inbounds i8, ptr %6, i64 40
  %77 = tail call i64 @NetLibCreateServiceChild(ptr noundef %1, ptr noundef %75, ptr noundef nonnull @gEfiIp4ServiceBindingProtocolGuid, ptr noundef nonnull %76) #3
  %78 = icmp slt i64 %77, 0
  br i1 %78, label %164, label %79

79:                                               ; preds = %74
  %80 = load ptr, ptr @gBS, align 8, !tbaa !5
  %81 = getelementptr inbounds i8, ptr %80, i64 280
  %82 = load ptr, ptr %81, align 8, !tbaa !36
  %83 = load ptr, ptr %76, align 8, !tbaa !42
  %84 = getelementptr inbounds i8, ptr %6, i64 240
  %85 = load ptr, ptr %10, align 8, !tbaa !31
  %86 = tail call i64 %82(ptr noundef %83, ptr noundef nonnull @gEfiIp4ProtocolGuid, ptr noundef nonnull %84, ptr noundef %85, ptr noundef %1, i32 noundef 16) #3
  %87 = icmp slt i64 %86, 0
  br i1 %87, label %164, label %88

88:                                               ; preds = %79
  %89 = load ptr, ptr %84, align 8, !tbaa !43
  %90 = load ptr, ptr %89, align 8, !tbaa !44
  %91 = call i64 %90(ptr noundef nonnull %89, ptr noundef nonnull %5, ptr noundef null, ptr noundef null) #3
  %92 = icmp slt i64 %91, 0
  br i1 %92, label %164, label %93

93:                                               ; preds = %88
  %94 = getelementptr inbounds i8, ptr %5, i64 4
  %95 = load i32, ptr %94, align 4, !tbaa !46
  %96 = getelementptr inbounds i8, ptr %6, i64 10852
  store i32 %95, ptr %96, align 4, !tbaa !48
  %97 = load ptr, ptr %10, align 8, !tbaa !31
  %98 = getelementptr inbounds i8, ptr %6, i64 48
  %99 = call i64 @NetLibCreateServiceChild(ptr noundef %1, ptr noundef %97, ptr noundef nonnull @gEfiMtftp4ServiceBindingProtocolGuid, ptr noundef nonnull %98) #3
  %100 = icmp slt i64 %99, 0
  br i1 %100, label %164, label %101

101:                                              ; preds = %93
  %102 = load ptr, ptr @gBS, align 8, !tbaa !5
  %103 = getelementptr inbounds i8, ptr %102, i64 280
  %104 = load ptr, ptr %103, align 8, !tbaa !36
  %105 = load ptr, ptr %98, align 8, !tbaa !49
  %106 = getelementptr inbounds i8, ptr %6, i64 280
  %107 = load ptr, ptr %10, align 8, !tbaa !31
  %108 = call i64 %104(ptr noundef %105, ptr noundef nonnull @gEfiMtftp4ProtocolGuid, ptr noundef nonnull %106, ptr noundef %107, ptr noundef %1, i32 noundef 16) #3
  %109 = icmp slt i64 %108, 0
  br i1 %109, label %164, label %110

110:                                              ; preds = %101
  %111 = load ptr, ptr %10, align 8, !tbaa !31
  %112 = getelementptr inbounds i8, ptr %6, i64 56
  %113 = call i64 @NetLibCreateServiceChild(ptr noundef %1, ptr noundef %111, ptr noundef nonnull @gEfiUdp4ServiceBindingProtocolGuid, ptr noundef nonnull %112) #3
  %114 = icmp slt i64 %113, 0
  br i1 %114, label %164, label %115

115:                                              ; preds = %110
  %116 = load ptr, ptr @gBS, align 8, !tbaa !5
  %117 = getelementptr inbounds i8, ptr %116, i64 280
  %118 = load ptr, ptr %117, align 8, !tbaa !36
  %119 = load ptr, ptr %112, align 8, !tbaa !50
  %120 = getelementptr inbounds i8, ptr %6, i64 288
  %121 = load ptr, ptr %10, align 8, !tbaa !31
  %122 = call i64 %118(ptr noundef %119, ptr noundef nonnull @gEfiUdp4ProtocolGuid, ptr noundef nonnull %120, ptr noundef %121, ptr noundef %1, i32 noundef 16) #3
  %123 = icmp slt i64 %122, 0
  br i1 %123, label %164, label %124

124:                                              ; preds = %115
  %125 = load ptr, ptr %10, align 8, !tbaa !31
  %126 = getelementptr inbounds i8, ptr %6, i64 64
  %127 = call i64 @NetLibCreateServiceChild(ptr noundef %1, ptr noundef %125, ptr noundef nonnull @gEfiUdp4ServiceBindingProtocolGuid, ptr noundef nonnull %126) #3
  %128 = icmp slt i64 %127, 0
  br i1 %128, label %164, label %129

129:                                              ; preds = %124
  %130 = load ptr, ptr @gBS, align 8, !tbaa !5
  %131 = getelementptr inbounds i8, ptr %130, i64 280
  %132 = load ptr, ptr %131, align 8, !tbaa !36
  %133 = load ptr, ptr %126, align 8, !tbaa !51
  %134 = getelementptr inbounds i8, ptr %6, i64 296
  %135 = load ptr, ptr %10, align 8, !tbaa !31
  %136 = call i64 %132(ptr noundef %133, ptr noundef nonnull @gEfiUdp4ProtocolGuid, ptr noundef nonnull %134, ptr noundef %135, ptr noundef %1, i32 noundef 16) #3
  %137 = icmp slt i64 %136, 0
  br i1 %137, label %164, label %138

138:                                              ; preds = %129
  %139 = getelementptr inbounds i8, ptr %6, i64 308
  %140 = call ptr @ZeroMem(ptr noundef nonnull %139, i64 noundef 36) #3
  store <4 x i8> <i8 0, i8 0, i8 1, i8 1>, ptr %139, align 4, !tbaa !35
  %141 = getelementptr inbounds i8, ptr %6, i64 312
  store i8 0, ptr %141, align 4, !tbaa !52
  %142 = getelementptr inbounds i8, ptr %6, i64 313
  store i8 16, ptr %142, align 1, !tbaa !53
  %143 = getelementptr inbounds i8, ptr %6, i64 314
  store i8 0, ptr %143, align 2, !tbaa !54
  %144 = getelementptr inbounds i8, ptr %6, i64 316
  store i32 50000, ptr %144, align 4, !tbaa !55
  %145 = getelementptr inbounds i8, ptr %6, i64 324
  store i8 0, ptr %145, align 4, !tbaa !56
  %146 = getelementptr inbounds i8, ptr %6, i64 11184
  %147 = load ptr, ptr %120, align 8, !tbaa !57
  call void @PxeBcInitSeedPacket(ptr noundef nonnull %146, ptr noundef %147) #3
  %148 = getelementptr inbounds i8, ptr %6, i64 11194
  %149 = load i8, ptr %148, align 2, !tbaa !58
  %150 = getelementptr inbounds i8, ptr %6, i64 11465
  store i8 %149, ptr %150, align 1, !tbaa !59
  %151 = getelementptr inbounds i8, ptr %6, i64 11433
  %152 = getelementptr inbounds i8, ptr %6, i64 11220
  %153 = zext i8 %149 to i64
  %154 = call ptr @CopyMem(ptr noundef nonnull %151, ptr noundef nonnull %152, i64 noundef %153) #3
  %155 = getelementptr inbounds i8, ptr %6, i64 248
  %156 = call ptr @ZeroMem(ptr noundef nonnull %155, i64 noundef 28) #3
  store i8 1, ptr %155, align 8, !tbaa !60
  %157 = getelementptr inbounds i8, ptr %6, i64 250
  store i8 1, ptr %157, align 2, !tbaa !61
  %158 = getelementptr inbounds i8, ptr %6, i64 262
  store <4 x i8> <i8 0, i8 16, i8 0, i8 0>, ptr %158, align 2, !tbaa !35
  %159 = load ptr, ptr @gBS, align 8, !tbaa !5
  %160 = getelementptr inbounds i8, ptr %159, i64 328
  %161 = load ptr, ptr %160, align 8, !tbaa !62
  %162 = call i64 (ptr, ...) %161(ptr noundef nonnull %4, ptr noundef nonnull @gEfiPxeBaseCodeProtocolGuid, ptr noundef nonnull %13, ptr noundef nonnull @gEfiLoadFileProtocolGuid, ptr noundef nonnull %17, ptr noundef null) #3
  %163 = icmp slt i64 %162, 0
  br i1 %163, label %164, label %248

164:                                              ; preds = %138, %129, %124, %115, %110, %101, %93, %88, %79, %74, %65, %60, %51, %46
  %.0 = phi i64 [ %49, %46 ], [ %58, %51 ], [ %63, %60 ], [ %72, %65 ], [ %77, %74 ], [ %86, %79 ], [ %91, %88 ], [ %99, %93 ], [ %108, %101 ], [ %113, %110 ], [ %122, %115 ], [ %127, %124 ], [ %136, %129 ], [ %162, %138 ]
  %165 = getelementptr inbounds i8, ptr %6, i64 64
  %166 = load ptr, ptr %165, align 8, !tbaa !51
  %.not = icmp eq ptr %166, null
  br i1 %.not, label %178, label %167

167:                                              ; preds = %164
  %168 = load ptr, ptr @gBS, align 8, !tbaa !5
  %169 = getelementptr inbounds i8, ptr %168, i64 288
  %170 = load ptr, ptr %169, align 8, !tbaa !63
  %171 = load ptr, ptr %10, align 8, !tbaa !31
  %172 = load ptr, ptr %4, align 8, !tbaa !5
  %173 = call i64 %170(ptr noundef nonnull %166, ptr noundef nonnull @gEfiUdp4ProtocolGuid, ptr noundef %171, ptr noundef %172) #3
  %174 = load ptr, ptr %4, align 8, !tbaa !5
  %175 = load ptr, ptr %10, align 8, !tbaa !31
  %176 = load ptr, ptr %165, align 8, !tbaa !51
  %177 = call i64 @NetLibDestroyServiceChild(ptr noundef %174, ptr noundef %175, ptr noundef nonnull @gEfiUdp4ServiceBindingProtocolGuid, ptr noundef %176) #3
  br label %178

178:                                              ; preds = %167, %164
  %179 = getelementptr inbounds i8, ptr %6, i64 56
  %180 = load ptr, ptr %179, align 8, !tbaa !50
  %.not148 = icmp eq ptr %180, null
  br i1 %.not148, label %192, label %181

181:                                              ; preds = %178
  %182 = load ptr, ptr @gBS, align 8, !tbaa !5
  %183 = getelementptr inbounds i8, ptr %182, i64 288
  %184 = load ptr, ptr %183, align 8, !tbaa !63
  %185 = load ptr, ptr %10, align 8, !tbaa !31
  %186 = load ptr, ptr %4, align 8, !tbaa !5
  %187 = call i64 %184(ptr noundef nonnull %180, ptr noundef nonnull @gEfiUdp4ProtocolGuid, ptr noundef %185, ptr noundef %186) #3
  %188 = load ptr, ptr %4, align 8, !tbaa !5
  %189 = load ptr, ptr %10, align 8, !tbaa !31
  %190 = load ptr, ptr %179, align 8, !tbaa !50
  %191 = call i64 @NetLibDestroyServiceChild(ptr noundef %188, ptr noundef %189, ptr noundef nonnull @gEfiUdp4ServiceBindingProtocolGuid, ptr noundef %190) #3
  br label %192

192:                                              ; preds = %181, %178
  %193 = getelementptr inbounds i8, ptr %6, i64 48
  %194 = load ptr, ptr %193, align 8, !tbaa !49
  %.not149 = icmp eq ptr %194, null
  br i1 %.not149, label %206, label %195

195:                                              ; preds = %192
  %196 = load ptr, ptr @gBS, align 8, !tbaa !5
  %197 = getelementptr inbounds i8, ptr %196, i64 288
  %198 = load ptr, ptr %197, align 8, !tbaa !63
  %199 = load ptr, ptr %10, align 8, !tbaa !31
  %200 = load ptr, ptr %4, align 8, !tbaa !5
  %201 = call i64 %198(ptr noundef nonnull %194, ptr noundef nonnull @gEfiMtftp4ProtocolGuid, ptr noundef %199, ptr noundef %200) #3
  %202 = load ptr, ptr %4, align 8, !tbaa !5
  %203 = load ptr, ptr %10, align 8, !tbaa !31
  %204 = load ptr, ptr %193, align 8, !tbaa !49
  %205 = call i64 @NetLibDestroyServiceChild(ptr noundef %202, ptr noundef %203, ptr noundef nonnull @gEfiMtftp4ServiceBindingProtocolGuid, ptr noundef %204) #3
  br label %206

206:                                              ; preds = %195, %192
  %207 = getelementptr inbounds i8, ptr %6, i64 40
  %208 = load ptr, ptr %207, align 8, !tbaa !42
  %.not150 = icmp eq ptr %208, null
  br i1 %.not150, label %220, label %209

209:                                              ; preds = %206
  %210 = load ptr, ptr @gBS, align 8, !tbaa !5
  %211 = getelementptr inbounds i8, ptr %210, i64 288
  %212 = load ptr, ptr %211, align 8, !tbaa !63
  %213 = load ptr, ptr %10, align 8, !tbaa !31
  %214 = load ptr, ptr %4, align 8, !tbaa !5
  %215 = call i64 %212(ptr noundef nonnull %208, ptr noundef nonnull @gEfiIp4ProtocolGuid, ptr noundef %213, ptr noundef %214) #3
  %216 = load ptr, ptr %4, align 8, !tbaa !5
  %217 = load ptr, ptr %10, align 8, !tbaa !31
  %218 = load ptr, ptr %207, align 8, !tbaa !42
  %219 = call i64 @NetLibDestroyServiceChild(ptr noundef %216, ptr noundef %217, ptr noundef nonnull @gEfiIp4ServiceBindingProtocolGuid, ptr noundef %218) #3
  br label %220

220:                                              ; preds = %209, %206
  %221 = getelementptr inbounds i8, ptr %6, i64 32
  %222 = load ptr, ptr %221, align 8, !tbaa !41
  %.not151 = icmp eq ptr %222, null
  br i1 %.not151, label %234, label %223

223:                                              ; preds = %220
  %224 = load ptr, ptr @gBS, align 8, !tbaa !5
  %225 = getelementptr inbounds i8, ptr %224, i64 288
  %226 = load ptr, ptr %225, align 8, !tbaa !63
  %227 = load ptr, ptr %10, align 8, !tbaa !31
  %228 = load ptr, ptr %4, align 8, !tbaa !5
  %229 = call i64 %226(ptr noundef nonnull %222, ptr noundef nonnull @gEfiDhcp4ProtocolGuid, ptr noundef %227, ptr noundef %228) #3
  %230 = load ptr, ptr %4, align 8, !tbaa !5
  %231 = load ptr, ptr %10, align 8, !tbaa !31
  %232 = load ptr, ptr %221, align 8, !tbaa !41
  %233 = call i64 @NetLibDestroyServiceChild(ptr noundef %230, ptr noundef %231, ptr noundef nonnull @gEfiDhcp4ServiceBindingProtocolGuid, ptr noundef %232) #3
  br label %234

234:                                              ; preds = %223, %220
  %235 = load ptr, ptr %48, align 8, !tbaa !40
  %.not152 = icmp eq ptr %235, null
  br i1 %.not152, label %247, label %236

236:                                              ; preds = %234
  %237 = load ptr, ptr @gBS, align 8, !tbaa !5
  %238 = getelementptr inbounds i8, ptr %237, i64 288
  %239 = load ptr, ptr %238, align 8, !tbaa !63
  %240 = load ptr, ptr %10, align 8, !tbaa !31
  %241 = load ptr, ptr %4, align 8, !tbaa !5
  %242 = call i64 %239(ptr noundef nonnull %235, ptr noundef nonnull @gEfiArpProtocolGuid, ptr noundef %240, ptr noundef %241) #3
  %243 = load ptr, ptr %4, align 8, !tbaa !5
  %244 = load ptr, ptr %10, align 8, !tbaa !31
  %245 = load ptr, ptr %48, align 8, !tbaa !40
  %246 = call i64 @NetLibDestroyServiceChild(ptr noundef %243, ptr noundef %244, ptr noundef nonnull @gEfiArpServiceBindingProtocolGuid, ptr noundef %245) #3
  br label %247

247:                                              ; preds = %236, %234
  call void @FreePool(ptr noundef nonnull %6) #3
  br label %248

248:                                              ; preds = %138, %3, %247
  %.0126 = phi i64 [ %.0, %247 ], [ -9223372036854775799, %3 ], [ 0, %138 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %5) #3
  ret i64 %.0126
}

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

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

declare ptr @AllocateZeroPool(i64 noundef) local_unnamed_addr #2

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

declare i64 @NetLibCreateServiceChild(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare ptr @ZeroMem(ptr noundef, i64 noundef) local_unnamed_addr #2

declare void @PxeBcInitSeedPacket(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i64 @NetLibDestroyServiceChild(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @FreePool(ptr noundef) local_unnamed_addr #2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_PXEBC_PRIVATE_DATA", !11, 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, !12, i64 80, !14, i64 192, !15, i64 200, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !16, i64 248, !6, i64 280, !6, i64 288, !6, i64 296, !18, i64 304, !19, i64 308, !20, i64 344, !11, i64 10768, !6, i64 10776, !7, i64 10784, !7, i64 10800, !7, i64 10816, !7, i64 10832, !7, i64 10848, !11, i64 10852, !13, i64 10856, !13, i64 10864, !7, i64 10872, !24, i64 11184, !17, i64 11433, !7, i64 11465, !7, i64 11466, !7, i64 11467, !11, i64 11468, !11, i64 11472, !11, i64 11476, !27, i64 11480, !27, i64 13152, !27, i64 14824, !7, i64 16496, !7, i64 43248, !7, i64 43268, !11, i64 43588, !7, i64 43592, !7, i64 43612, !6, i64 43680, !29, i64 43688}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_EFI_PXE_BASE_CODE_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}
!13 = !{!"long long", !7, i64 0}
!14 = !{!"_EFI_LOAD_FILE_PROTOCOL", !6, i64 0}
!15 = !{!"_EFI_PXE_BASE_CODE_CALLBACK_PROTOCOL", !13, i64 0, !6, i64 8}
!16 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4, !7, i64 5, !17, i64 6, !17, i64 10, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !11, i64 20, !11, i64 24}
!17 = !{!"", !7, i64 0}
!18 = !{!"short", !7, i64 0}
!19 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4, !7, i64 5, !7, i64 6, !11, i64 8, !11, i64 12, !7, i64 16, !17, i64 17, !17, i64 21, !18, i64 26, !17, i64 28, !18, i64 32}
!20 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7, !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 20, !7, i64 36, !7, i64 52, !7, i64 1524, !7, i64 2996, !7, i64 4468, !7, i64 5940, !7, i64 7412, !21, i64 8884, !11, i64 9016, !7, i64 9020, !11, i64 9404, !7, i64 9408, !22, i64 9792, !23, i64 10296}
!21 = !{!"", !7, i64 0, !7, i64 1, !18, i64 2, !7, i64 4}
!22 = !{!"", !7, i64 0, !7, i64 1, !18, i64 2, !7, i64 4, !7, i64 8}
!23 = !{!"", !7, i64 0, !7, i64 1}
!24 = !{!"", !11, i64 0, !11, i64 4, !25, i64 8}
!25 = !{!"", !26, i64 0, !11, i64 236, !7, i64 240}
!26 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !11, i64 4, !18, i64 8, !18, i64 10, !17, i64 12, !17, i64 16, !17, i64 20, !17, i64 24, !7, i64 28, !7, i64 44, !7, i64 108}
!27 = !{!"", !7, i64 0, !7, i64 1480, !7, i64 1481, !7, i64 1488, !28, i64 1544}
!28 = !{!"", !7, i64 0, !17, i64 32, !18, i64 36, !18, i64 38, !7, i64 40, !7, i64 41, !7, i64 42, !17, i64 43, !17, i64 47, !18, i64 52, !18, i64 54, !18, i64 56, !18, i64 58, !6, i64 64, !7, i64 72, !6, i64 80, !7, i64 88, !6, i64 96, !7, i64 104, !6, i64 112, !7, i64 120}
!29 = !{!"", !6, i64 0, !13, i64 8, !7, i64 16}
!30 = !{!10, !6, i64 8}
!31 = !{!32, !6, i64 40}
!32 = !{!"_EFI_DRIVER_BINDING_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !11, i64 24, !6, i64 32, !6, i64 40}
!33 = !{!10, !6, i64 16}
!34 = !{!10, !6, i64 184}
!35 = !{!7, !7, i64 0}
!36 = !{!37, !6, i64 280}
!37 = !{!"", !38, i64 0, !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, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !6, i64 368}
!38 = !{!"", !13, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!39 = !{!10, !6, i64 72}
!40 = !{!10, !6, i64 24}
!41 = !{!10, !6, i64 32}
!42 = !{!10, !6, i64 40}
!43 = !{!10, !6, i64 240}
!44 = !{!45, !6, i64 0}
!45 = !{!"_EFI_IP4_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56}
!46 = !{!47, !11, i64 4}
!47 = !{!"", !7, i64 0, !11, i64 4, !16, i64 8, !7, i64 36, !11, i64 40, !6, i64 48, !11, i64 56, !6, i64 64, !11, i64 72, !6, i64 80}
!48 = !{!10, !11, i64 10852}
!49 = !{!10, !6, i64 48}
!50 = !{!10, !6, i64 56}
!51 = !{!10, !6, i64 64}
!52 = !{!10, !7, i64 312}
!53 = !{!10, !7, i64 313}
!54 = !{!10, !7, i64 314}
!55 = !{!10, !11, i64 316}
!56 = !{!10, !7, i64 324}
!57 = !{!10, !6, i64 288}
!58 = !{!10, !7, i64 11194}
!59 = !{!10, !7, i64 11465}
!60 = !{!10, !7, i64 248}
!61 = !{!10, !7, i64 250}
!62 = !{!37, !6, i64 328}
!63 = !{!37, !6, i64 288}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass