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

; 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._PXEBC_PRIVATE_DATA = type { i32, ptr, ptr, %struct._PXEBC_PRIVATE_PROTOCOL, 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_PXE_BASE_CODE_PROTOCOL, %struct._EFI_PXE_BASE_CODE_CALLBACK_PROTOCOL, ptr, ptr, %struct.EFI_PXE_BASE_CODE_MODE, i32, i32, i32, i64, %struct.EFI_UDP4_CONFIG_DATA, %struct.EFI_UDP6_CONFIG_DATA, %struct.EFI_IP4_CONFIG_DATA, %struct.EFI_IP6_CONFIG_DATA, ptr, ptr, %struct.EFI_IP4_COMPLETION_TOKEN, %struct.EFI_IP6_COMPLETION_TOKEN, i8, i8, i8, i8, %union.EFI_IP_ADDRESS, %union.EFI_IP_ADDRESS, %union.EFI_IP_ADDRESS, %union.EFI_IP_ADDRESS, i16, i32, i32, i32, ptr, i64, i64, %union.PXEBC_DHCP_PACKET_CACHE, %union.PXEBC_DHCP_PACKET_CACHE, %union.PXEBC_DHCP_PACKET_CACHE, ptr, %struct.EFI_DHCP4_PACKET, i32, i32, [16 x %union.PXEBC_DHCP_PACKET_CACHE], i32, [8 x i32], [8 x [16 x i32]] }
%struct._PXEBC_PRIVATE_PROTOCOL = type { i64 }
%struct._EFI_PXE_BASE_CODE_PROTOCOL = type { i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct._EFI_PXE_BASE_CODE_CALLBACK_PROTOCOL = type { i64, ptr }
%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_MAC_ADDRESS = type { [32 x i8] }
%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] }
%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_IPv4_ADDRESS = type { [4 x i8] }
%struct.EFI_UDP6_CONFIG_DATA = type { i8, i8, i8, i8, i8, i32, i32, %struct.EFI_IPv6_ADDRESS, i16, %struct.EFI_IPv6_ADDRESS, i16 }
%struct.EFI_IPv6_ADDRESS = type { [16 x i8] }
%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_IP6_CONFIG_DATA = type { i8, i8, i8, i8, %struct.EFI_IPv6_ADDRESS, %struct.EFI_IPv6_ADDRESS, i8, i8, i32, i32, i32 }
%struct.EFI_IP4_COMPLETION_TOKEN = type { ptr, i64, %union.anon.0 }
%union.anon.0 = type { ptr }
%struct.EFI_IP6_COMPLETION_TOKEN = type { ptr, i64, %union.anon.1 }
%union.anon.1 = type { ptr }
%union.EFI_IP_ADDRESS = type { [4 x i32] }
%union.PXEBC_DHCP_PACKET_CACHE = type { %struct.PXEBC_DHCP4_PACKET_CACHE }
%struct.PXEBC_DHCP4_PACKET_CACHE = type { %union.PXEBC_DHCP4_PACKET, i32, [7 x ptr], %struct.PXEBC_VENDOR_OPTION }
%union.PXEBC_DHCP4_PACKET = type { [1472 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_DHCP4_PACKET = type <{ i32, i32, %struct.anon.2 }>
%struct.anon.2 = 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_DHCP6_PACKET = type <{ i32, i32, %struct.anon.3 }>
%struct.anon.3 = type <{ %struct.EFI_DHCP6_HEADER, [1 x i8] }>
%struct.EFI_DHCP6_HEADER = type { i32 }
%struct.PXEBC_DHCP6_PACKET_CACHE = type { %union.PXEBC_DHCP6_PACKET, i32, [4 x ptr] }
%union.PXEBC_DHCP6_PACKET = type { [1472 x i8] }

@.str.1 = external hidden unnamed_addr constant [138 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [2 x i8], align 1

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

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

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

declare zeroext i8 @DebugAssertEnabled() #1

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

declare void @FreePool(ptr noundef) #1

declare ptr @AllocateZeroPool(i64 noundef) #1

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

declare void @CalcElapsedTime(ptr noundef) #1

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

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

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

23:                                               ; preds = %6
  %24 = load i32, ptr %11, align 4, !tbaa !9
  %25 = icmp ne i32 %24, 2
  br i1 %25, label %26, label %36

26:                                               ; preds = %23
  %27 = load i32, ptr %11, align 4, !tbaa !9
  %28 = icmp ne i32 %27, 0
  br i1 %28, label %29, label %36

29:                                               ; preds = %26
  %30 = load i32, ptr %11, align 4, !tbaa !9
  %31 = icmp ne i32 %30, 3
  br i1 %31, label %32, label %36

32:                                               ; preds = %29
  %33 = load i32, ptr %11, align 4, !tbaa !9
  %34 = icmp ne i32 %33, 4
  br i1 %34, label %35, label %36

35:                                               ; preds = %32
  store i64 0, ptr %7, align 8
  store i32 1, ptr %20, align 4
  br label %235

36:                                               ; preds = %32, %29, %26, %23, %6
  br label %37

37:                                               ; preds = %36
  %38 = call zeroext i8 @DebugAssertEnabled()
  %39 = icmp ne i8 %38, 0
  br i1 %39, label %40, label %45

40:                                               ; preds = %37
  %41 = load ptr, ptr %12, align 8, !tbaa !5
  %42 = icmp ne ptr %41, null
  br i1 %42, label %44, label %43

43:                                               ; preds = %40
  call void @DebugAssert(ptr noundef @.str.1, i64 noundef 1444, ptr noundef @.str.17)
  br label %44

44:                                               ; preds = %43, %40
  br label %45

45:                                               ; preds = %44, %37
  br label %46

46:                                               ; preds = %45
  br label %47

47:                                               ; preds = %46
  %48 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %48, ptr %14, align 8, !tbaa !5
  %49 = load ptr, ptr %14, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %49, i32 0, i32 31
  %51 = getelementptr inbounds %struct._EFI_PXE_BASE_CODE_PROTOCOL, ptr %50, i32 0, i32 13
  %52 = load ptr, ptr %51, align 8, !tbaa !11
  store ptr %52, ptr %15, align 8, !tbaa !5
  %53 = load ptr, ptr %14, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %53, i32 0, i32 33
  %55 = load ptr, ptr %54, align 8, !tbaa !31
  store ptr %55, ptr %16, align 8, !tbaa !5
  %56 = load i32, ptr %11, align 4, !tbaa !9
  %57 = icmp ne i32 %56, 2
  br i1 %57, label %58, label %90

58:                                               ; preds = %47
  %59 = load ptr, ptr %16, align 8, !tbaa !5
  %60 = icmp ne ptr %59, null
  br i1 %60, label %61, label %90

61:                                               ; preds = %58
  %62 = load i32, ptr %11, align 4, !tbaa !9
  %63 = icmp eq i32 %62, 1
  br i1 %63, label %67, label %64

64:                                               ; preds = %61
  %65 = load i32, ptr %11, align 4, !tbaa !9
  %66 = icmp eq i32 %65, 4
  br label %67

67:                                               ; preds = %64, %61
  %68 = phi i1 [ true, %61 ], [ %66, %64 ]
  %69 = zext i1 %68 to i32
  %70 = trunc i32 %69 to i8
  store i8 %70, ptr %19, align 1, !tbaa !32
  %71 = load ptr, ptr %16, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct._EFI_PXE_BASE_CODE_CALLBACK_PROTOCOL, ptr %71, i32 0, i32 1
  %73 = load ptr, ptr %72, align 8, !tbaa !33
  %74 = load ptr, ptr %16, align 8, !tbaa !5
  %75 = load ptr, ptr %14, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %75, i32 0, i32 36
  %77 = load i32, ptr %76, align 8, !tbaa !34
  %78 = load i8, ptr %19, align 1, !tbaa !32
  %79 = load ptr, ptr %12, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.EFI_DHCP6_PACKET, ptr %79, i32 0, i32 1
  %81 = load i32, ptr %80, align 1, !tbaa !35
  %82 = load ptr, ptr %12, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.EFI_DHCP6_PACKET, ptr %82, i32 0, i32 2
  %84 = call i32 %73(ptr noundef %74, i32 noundef %77, i8 noundef zeroext %78, i32 noundef %81, ptr noundef %83)
  %85 = zext i32 %84 to i64
  store i64 %85, ptr %18, align 8, !tbaa !39
  %86 = load i64, ptr %18, align 8, !tbaa !39
  %87 = icmp ne i64 %86, 1
  br i1 %87, label %88, label %89

88:                                               ; preds = %67
  store i64 -9223372036854775787, ptr %7, align 8
  store i32 1, ptr %20, align 4
  br label %235

89:                                               ; preds = %67
  br label %90

90:                                               ; preds = %89, %58, %47
  store i64 0, ptr %18, align 8, !tbaa !39
  %91 = load i32, ptr %11, align 4, !tbaa !9
  switch i32 %91, label %225 [
    i32 0, label %92
    i32 1, label %113
    i32 3, label %122
    i32 2, label %154
    i32 4, label %209
  ]

92:                                               ; preds = %90
  %93 = load ptr, ptr %14, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %93, i32 0, i32 38
  %95 = load i32, ptr %94, align 8, !tbaa !40
  %96 = icmp eq i32 %95, 0
  br i1 %96, label %97, label %103

97:                                               ; preds = %92
  %98 = load ptr, ptr %14, align 8, !tbaa !5
  call void @CalcElapsedTime(ptr noundef %98)
  %99 = load ptr, ptr %14, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %99, i32 0, i32 38
  %101 = load i32, ptr %100, align 8, !tbaa !40
  %102 = add i32 %101, 1
  store i32 %102, ptr %100, align 8, !tbaa !40
  br label %103

103:                                              ; preds = %97, %92
  %104 = load ptr, ptr %15, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.EFI_PXE_BASE_CODE_MODE, ptr %104, i32 0, i32 21
  %106 = load ptr, ptr %12, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.EFI_DHCP6_PACKET, ptr %106, i32 0, i32 2
  %108 = load ptr, ptr %12, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.EFI_DHCP6_PACKET, ptr %108, i32 0, i32 1
  %110 = load i32, ptr %109, align 1, !tbaa !35
  %111 = zext i32 %110 to i64
  %112 = call ptr @CopyMem(ptr noundef %105, ptr noundef %107, i64 noundef %111)
  br label %233

113:                                              ; preds = %90
  store i64 -9223372036854775802, ptr %18, align 8, !tbaa !39
  %114 = load ptr, ptr %14, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %114, i32 0, i32 71
  %116 = load i32, ptr %115, align 8, !tbaa !41
  %117 = icmp ult i32 %116, 16
  br i1 %117, label %118, label %121

118:                                              ; preds = %113
  %119 = load ptr, ptr %14, align 8, !tbaa !5
  %120 = load ptr, ptr %12, align 8, !tbaa !5
  call void @PxeBcCacheDhcp6Offer(ptr noundef %119, ptr noundef %120)
  br label %121

121:                                              ; preds = %118, %113
  br label %233

122:                                              ; preds = %90
  %123 = load ptr, ptr %14, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %123, i32 0, i32 66
  %125 = load ptr, ptr %124, align 8, !tbaa !42
  %126 = icmp ne ptr %125, null
  br i1 %126, label %127, label %131

127:                                              ; preds = %122
  %128 = load ptr, ptr %14, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %128, i32 0, i32 66
  %130 = load ptr, ptr %129, align 8, !tbaa !42
  call void @FreePool(ptr noundef %130)
  br label %131

131:                                              ; preds = %127, %122
  %132 = load ptr, ptr %12, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.EFI_DHCP6_PACKET, ptr %132, i32 0, i32 0
  %134 = load i32, ptr %133, align 1, !tbaa !43
  %135 = zext i32 %134 to i64
  %136 = call ptr @AllocateZeroPool(i64 noundef %135)
  %137 = load ptr, ptr %14, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %137, i32 0, i32 66
  store ptr %136, ptr %138, align 8, !tbaa !42
  %139 = load ptr, ptr %14, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %139, i32 0, i32 66
  %141 = load ptr, ptr %140, align 8, !tbaa !42
  %142 = icmp ne ptr %141, null
  br i1 %142, label %143, label %153

143:                                              ; preds = %131
  %144 = load ptr, ptr %14, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %144, i32 0, i32 66
  %146 = load ptr, ptr %145, align 8, !tbaa !42
  %147 = load ptr, ptr %12, align 8, !tbaa !5
  %148 = load ptr, ptr %12, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.EFI_DHCP6_PACKET, ptr %148, i32 0, i32 0
  %150 = load i32, ptr %149, align 1, !tbaa !43
  %151 = zext i32 %150 to i64
  %152 = call ptr @CopyMem(ptr noundef %146, ptr noundef %147, i64 noundef %151)
  br label %153

153:                                              ; preds = %143, %131
  br label %233

154:                                              ; preds = %90
  %155 = load ptr, ptr %14, align 8, !tbaa !5
  call void @PxeBcSelectDhcp6Offer(ptr noundef %155)
  %156 = load ptr, ptr %14, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %156, i32 0, i32 68
  %158 = load i32, ptr %157, align 4, !tbaa !44
  %159 = icmp eq i32 %158, 0
  br i1 %159, label %160, label %161

160:                                              ; preds = %154
  store i64 -9223372036854775787, ptr %18, align 8, !tbaa !39
  br label %208

161:                                              ; preds = %154
  br label %162

162:                                              ; preds = %161
  %163 = call zeroext i8 @DebugAssertEnabled()
  %164 = icmp ne i8 %163, 0
  br i1 %164, label %165, label %170

165:                                              ; preds = %162
  %166 = load ptr, ptr %13, align 8, !tbaa !5
  %167 = icmp ne ptr %166, null
  br i1 %167, label %169, label %168

168:                                              ; preds = %165
  call void @DebugAssert(ptr noundef @.str.1, i64 noundef 1519, ptr noundef @.str.18)
  br label %169

169:                                              ; preds = %168, %165
  br label %170

170:                                              ; preds = %169, %162
  br label %171

171:                                              ; preds = %170
  br label %172

172:                                              ; preds = %171
  %173 = load ptr, ptr %14, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %173, i32 0, i32 70
  %175 = load ptr, ptr %14, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %175, i32 0, i32 68
  %177 = load i32, ptr %176, align 4, !tbaa !44
  %178 = sub i32 %177, 1
  %179 = zext i32 %178 to i64
  %180 = getelementptr inbounds [16 x %union.PXEBC_DHCP_PACKET_CACHE], ptr %174, i64 0, i64 %179
  %181 = getelementptr inbounds %struct.PXEBC_DHCP6_PACKET_CACHE, ptr %180, i32 0, i32 0
  store ptr %181, ptr %17, align 8, !tbaa !5
  %182 = load ptr, ptr %17, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.EFI_DHCP6_PACKET, ptr %182, i32 0, i32 0
  %184 = load i32, ptr %183, align 1, !tbaa !43
  %185 = zext i32 %184 to i64
  %186 = call ptr @AllocateZeroPool(i64 noundef %185)
  %187 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %186, ptr %187, align 8, !tbaa !5
  br label %188

188:                                              ; preds = %172
  %189 = call zeroext i8 @DebugAssertEnabled()
  %190 = icmp ne i8 %189, 0
  br i1 %190, label %191, label %197

191:                                              ; preds = %188
  %192 = load ptr, ptr %13, align 8, !tbaa !5
  %193 = load ptr, ptr %192, align 8, !tbaa !5
  %194 = icmp ne ptr %193, null
  br i1 %194, label %196, label %195

195:                                              ; preds = %191
  call void @DebugAssert(ptr noundef @.str.1, i64 noundef 1522, ptr noundef @.str.19)
  br label %196

196:                                              ; preds = %195, %191
  br label %197

197:                                              ; preds = %196, %188
  br label %198

198:                                              ; preds = %197
  br label %199

199:                                              ; preds = %198
  %200 = load ptr, ptr %13, align 8, !tbaa !5
  %201 = load ptr, ptr %200, align 8, !tbaa !5
  %202 = load ptr, ptr %17, align 8, !tbaa !5
  %203 = load ptr, ptr %17, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.EFI_DHCP6_PACKET, ptr %203, i32 0, i32 0
  %205 = load i32, ptr %204, align 1, !tbaa !43
  %206 = zext i32 %205 to i64
  %207 = call ptr @CopyMem(ptr noundef %201, ptr noundef %202, i64 noundef %206)
  br label %208

208:                                              ; preds = %199, %160
  br label %233

209:                                              ; preds = %90
  br label %210

210:                                              ; preds = %209
  %211 = call zeroext i8 @DebugAssertEnabled()
  %212 = icmp ne i8 %211, 0
  br i1 %212, label %213, label %220

213:                                              ; preds = %210
  %214 = load ptr, ptr %14, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %214, i32 0, i32 68
  %216 = load i32, ptr %215, align 4, !tbaa !44
  %217 = icmp ne i32 %216, 0
  br i1 %217, label %219, label %218

218:                                              ; preds = %213
  call void @DebugAssert(ptr noundef @.str.1, i64 noundef 1532, ptr noundef @.str.20)
  br label %219

219:                                              ; preds = %218, %213
  br label %220

220:                                              ; preds = %219, %210
  br label %221

221:                                              ; preds = %220
  br label %222

222:                                              ; preds = %221
  %223 = load ptr, ptr %14, align 8, !tbaa !5
  %224 = load ptr, ptr %12, align 8, !tbaa !5
  call void @PxeBcCopyDhcp6Ack(ptr noundef %223, ptr noundef %224, i8 noundef zeroext 0)
  br label %233

225:                                              ; preds = %90
  br label %226

226:                                              ; preds = %225
  %227 = call zeroext i8 @DebugAssertEnabled()
  %228 = icmp ne i8 %227, 0
  br i1 %228, label %229, label %230

229:                                              ; preds = %226
  call void @DebugAssert(ptr noundef @.str.1, i64 noundef 1537, ptr noundef @.str.21)
  br label %230

230:                                              ; preds = %229, %226
  br label %231

231:                                              ; preds = %230
  br label %232

232:                                              ; preds = %231
  br label %233

233:                                              ; preds = %232, %222, %208, %153, %121, %103
  %234 = load i64, ptr %18, align 8, !tbaa !39
  store i64 %234, ptr %7, align 8
  store i32 1, ptr %20, align 4
  br label %235

235:                                              ; preds = %233, %88, %35
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  %236 = load i64, ptr %7, align 8
  ret i64 %236
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 352}
!12 = !{!"_PXEBC_PRIVATE_DATA", !10, i64 0, !6, i64 8, !6, i64 16, !13, 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, !15, i64 248, !16, i64 360, !6, i64 376, !6, i64 384, !17, i64 392, !10, i64 10816, !10, i64 10820, !10, i64 10824, !14, i64 10832, !22, i64 10840, !24, i64 10876, !25, i64 10928, !26, i64 10956, !6, i64 11008, !6, i64 11016, !27, i64 11024, !27, i64 11048, !7, i64 11072, !7, i64 11073, !7, i64 11074, !7, i64 11075, !7, i64 11076, !7, i64 11092, !7, i64 11108, !7, i64 11124, !19, i64 11140, !10, i64 11144, !10, i64 11148, !10, i64 11152, !6, i64 11160, !14, i64 11168, !14, i64 11176, !7, i64 11184, !7, i64 12848, !7, i64 14512, !6, i64 16176, !28, i64 16184, !10, i64 16436, !10, i64 16440, !7, i64 16448, !10, i64 43072, !7, i64 43076, !7, i64 43108}
!13 = !{!"_PXEBC_PRIVATE_PROTOCOL", !14, i64 0}
!14 = !{!"long long", !7, i64 0}
!15 = !{!"_EFI_PXE_BASE_CODE_PROTOCOL", !14, 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}
!16 = !{!"_EFI_PXE_BASE_CODE_CALLBACK_PROTOCOL", !14, i64 0, !6, i64 8}
!17 = !{!"", !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, !18, i64 8884, !10, i64 9016, !7, i64 9020, !10, i64 9404, !7, i64 9408, !20, i64 9792, !21, i64 10296}
!18 = !{!"", !7, i64 0, !7, i64 1, !19, i64 2, !7, i64 4}
!19 = !{!"short", !7, i64 0}
!20 = !{!"", !7, i64 0, !7, i64 1, !19, i64 2, !7, i64 4, !7, i64 8}
!21 = !{!"", !7, i64 0, !7, i64 1}
!22 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4, !7, i64 5, !7, i64 6, !10, i64 8, !10, i64 12, !7, i64 16, !23, i64 17, !23, i64 21, !19, i64 26, !23, i64 28, !19, i64 32}
!23 = !{!"", !7, i64 0}
!24 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4, !10, i64 8, !10, i64 12, !23, i64 16, !19, i64 32, !23, i64 34, !19, i64 50}
!25 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4, !7, i64 5, !23, i64 6, !23, i64 10, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !10, i64 20, !10, i64 24}
!26 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !23, i64 4, !23, i64 20, !7, i64 36, !7, i64 37, !10, i64 40, !10, i64 44, !10, i64 48}
!27 = !{!"", !6, i64 0, !14, i64 8, !7, i64 16}
!28 = !{!"", !10, i64 0, !10, i64 4, !29, i64 8}
!29 = !{!"", !30, i64 0, !10, i64 236, !7, i64 240}
!30 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !10, i64 4, !19, i64 8, !19, i64 10, !23, i64 12, !23, i64 16, !23, i64 20, !23, i64 24, !7, i64 28, !7, i64 44, !7, i64 108}
!31 = !{!12, !6, i64 376}
!32 = !{!7, !7, i64 0}
!33 = !{!16, !6, i64 8}
!34 = !{!12, !10, i64 10816}
!35 = !{!36, !10, i64 4}
!36 = !{!"", !10, i64 0, !10, i64 4, !37, i64 8}
!37 = !{!"", !38, i64 0, !7, i64 4}
!38 = !{!"", !10, i64 0, !10, i64 1}
!39 = !{!14, !14, i64 0}
!40 = !{!12, !10, i64 10824}
!41 = !{!12, !10, i64 43072}
!42 = !{!12, !6, i64 16176}
!43 = !{!36, !10, i64 0}
!44 = !{!12, !10, i64 16436}


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

%union.PXEBC_DHCP_PACKET_CACHE = type { %struct.PXEBC_DHCP4_PACKET_CACHE }
%struct.PXEBC_DHCP4_PACKET_CACHE = type { %union.PXEBC_DHCP4_PACKET, i32, [7 x ptr], %struct.PXEBC_VENDOR_OPTION }
%union.PXEBC_DHCP4_PACKET = type { [1472 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_IPv4_ADDRESS = type { [4 x i8] }

@.str.1 = external hidden unnamed_addr constant [138 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [26 x i8], align 1

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

declare zeroext i8 @DebugAssertEnabled() local_unnamed_addr #0

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

declare void @FreePool(ptr noundef) local_unnamed_addr #0

declare ptr @AllocateZeroPool(i64 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @PxeBcCopyDhcp6Ack(ptr noundef, ptr noundef, i8 noundef zeroext) local_unnamed_addr #1

declare void @CalcElapsedTime(ptr noundef) local_unnamed_addr #0

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

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

; Function Attrs: nounwind uwtable
define dso_local range(i64 -9223372036854775802, 1) i64 @PxeBcDhcp6CallBack(ptr nocapture noundef readnone %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #1 {
  %7 = icmp ne i32 %3, 2
  %or.cond7 = icmp ugt i32 %3, 4
  br i1 %or.cond7, label %96, label %8

8:                                                ; preds = %6
  %9 = tail call zeroext i8 @DebugAssertEnabled() #2
  %10 = icmp eq i8 %9, 0
  %11 = icmp ne ptr %4, null
  %or.cond11 = or i1 %11, %10
  br i1 %or.cond11, label %13, label %12

12:                                               ; preds = %8
  tail call void @DebugAssert(ptr noundef nonnull @.str.1, i64 noundef 1444, ptr noundef nonnull @.str.17) #2
  br label %13

13:                                               ; preds = %12, %8
  %14 = getelementptr inbounds i8, ptr %1, i64 352
  %15 = load ptr, ptr %14, align 8, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %1, i64 376
  %17 = load ptr, ptr %16, align 8, !tbaa !29
  %18 = icmp ne ptr %17, null
  %or.cond9 = select i1 %7, i1 %18, i1 false
  br i1 %or.cond9, label %19, label %32

19:                                               ; preds = %13
  %20 = icmp eq i32 %3, 1
  %21 = icmp eq i32 %3, 4
  %22 = or i1 %20, %21
  %23 = zext i1 %22 to i8
  %24 = getelementptr inbounds i8, ptr %17, i64 8
  %25 = load ptr, ptr %24, align 8, !tbaa !30
  %26 = getelementptr inbounds i8, ptr %1, i64 10816
  %27 = load i32, ptr %26, align 8, !tbaa !31
  %28 = getelementptr inbounds i8, ptr %4, i64 4
  %29 = load i32, ptr %28, align 1, !tbaa !32
  %30 = getelementptr inbounds i8, ptr %4, i64 8
  %31 = tail call i32 %25(ptr noundef nonnull %17, i32 noundef %27, i8 noundef zeroext %23, i32 noundef %29, ptr noundef nonnull %30) #2
  %.not = icmp eq i32 %31, 1
  br i1 %.not, label %32, label %96

32:                                               ; preds = %19, %13
  switch i32 %3, label %default.unreachable [
    i32 0, label %33
    i32 1, label %47
    i32 3, label %52
    i32 2, label %64
    i32 4, label %89
  ]

33:                                               ; preds = %32
  %34 = getelementptr inbounds i8, ptr %1, i64 10824
  %35 = load i32, ptr %34, align 8, !tbaa !36
  %36 = icmp eq i32 %35, 0
  br i1 %36, label %37, label %40

37:                                               ; preds = %33
  tail call void @CalcElapsedTime(ptr noundef nonnull %1) #2
  %38 = load i32, ptr %34, align 8, !tbaa !36
  %39 = add i32 %38, 1
  store i32 %39, ptr %34, align 8, !tbaa !36
  br label %40

40:                                               ; preds = %37, %33
  %41 = getelementptr inbounds i8, ptr %15, i64 52
  %42 = getelementptr inbounds i8, ptr %4, i64 8
  %43 = getelementptr inbounds i8, ptr %4, i64 4
  %44 = load i32, ptr %43, align 1, !tbaa !32
  %45 = zext i32 %44 to i64
  %46 = tail call ptr @CopyMem(ptr noundef nonnull %41, ptr noundef nonnull %42, i64 noundef %45) #2
  br label %96

47:                                               ; preds = %32
  %48 = getelementptr inbounds i8, ptr %1, i64 43072
  %49 = load i32, ptr %48, align 8, !tbaa !37
  %50 = icmp ult i32 %49, 16
  br i1 %50, label %51, label %96

51:                                               ; preds = %47
  tail call void @PxeBcCacheDhcp6Offer(ptr noundef nonnull %1, ptr noundef %4)
  br label %96

52:                                               ; preds = %32
  %53 = getelementptr inbounds i8, ptr %1, i64 16176
  %54 = load ptr, ptr %53, align 8, !tbaa !38
  %.not75 = icmp eq ptr %54, null
  br i1 %.not75, label %56, label %55

55:                                               ; preds = %52
  tail call void @FreePool(ptr noundef nonnull %54) #2
  br label %56

56:                                               ; preds = %55, %52
  %57 = load i32, ptr %4, align 1, !tbaa !39
  %58 = zext i32 %57 to i64
  %59 = tail call ptr @AllocateZeroPool(i64 noundef %58) #2
  store ptr %59, ptr %53, align 8, !tbaa !38
  %.not76 = icmp eq ptr %59, null
  br i1 %.not76, label %96, label %60

60:                                               ; preds = %56
  %61 = load i32, ptr %4, align 1, !tbaa !39
  %62 = zext i32 %61 to i64
  %63 = tail call ptr @CopyMem(ptr noundef nonnull %59, ptr noundef nonnull %4, i64 noundef %62) #2
  br label %96

64:                                               ; preds = %32
  tail call void @PxeBcSelectDhcp6Offer(ptr noundef nonnull %1)
  %65 = getelementptr inbounds i8, ptr %1, i64 16436
  %66 = load i32, ptr %65, align 4, !tbaa !40
  %67 = icmp eq i32 %66, 0
  br i1 %67, label %96, label %68

68:                                               ; preds = %64
  %69 = tail call zeroext i8 @DebugAssertEnabled() #2
  %70 = icmp eq i8 %69, 0
  %71 = icmp ne ptr %5, null
  %or.cond13 = or i1 %71, %70
  br i1 %or.cond13, label %73, label %72

72:                                               ; preds = %68
  tail call void @DebugAssert(ptr noundef nonnull @.str.1, i64 noundef 1519, ptr noundef nonnull @.str.18) #2
  br label %73

73:                                               ; preds = %72, %68
  %74 = getelementptr inbounds i8, ptr %1, i64 16448
  %75 = load i32, ptr %65, align 4, !tbaa !40
  %76 = add i32 %75, -1
  %77 = zext i32 %76 to i64
  %78 = getelementptr inbounds [16 x %union.PXEBC_DHCP_PACKET_CACHE], ptr %74, i64 0, i64 %77
  %79 = load i32, ptr %78, align 1, !tbaa !39
  %80 = zext i32 %79 to i64
  %81 = tail call ptr @AllocateZeroPool(i64 noundef %80) #2
  store ptr %81, ptr %5, align 8, !tbaa !41
  %82 = tail call zeroext i8 @DebugAssertEnabled() #2
  %.not73 = icmp ne i8 %82, 0
  %.pre78 = load ptr, ptr %5, align 8, !tbaa !41
  %.not74 = icmp eq ptr %.pre78, null
  %or.cond = select i1 %.not73, i1 %.not74, i1 false
  br i1 %or.cond, label %83, label %84

83:                                               ; preds = %73
  tail call void @DebugAssert(ptr noundef nonnull @.str.1, i64 noundef 1522, ptr noundef nonnull @.str.19) #2
  %.pre = load ptr, ptr %5, align 8, !tbaa !41
  br label %84

84:                                               ; preds = %83, %73
  %85 = phi ptr [ %.pre, %83 ], [ %.pre78, %73 ]
  %86 = load i32, ptr %78, align 1, !tbaa !39
  %87 = zext i32 %86 to i64
  %88 = tail call ptr @CopyMem(ptr noundef %85, ptr noundef nonnull %78, i64 noundef %87) #2
  br label %96

89:                                               ; preds = %32
  %90 = tail call zeroext i8 @DebugAssertEnabled() #2
  %.not71 = icmp eq i8 %90, 0
  br i1 %.not71, label %95, label %91

91:                                               ; preds = %89
  %92 = getelementptr inbounds i8, ptr %1, i64 16436
  %93 = load i32, ptr %92, align 4, !tbaa !40
  %.not72 = icmp eq i32 %93, 0
  br i1 %.not72, label %94, label %95

94:                                               ; preds = %91
  tail call void @DebugAssert(ptr noundef nonnull @.str.1, i64 noundef 1532, ptr noundef nonnull @.str.20) #2
  br label %95

95:                                               ; preds = %91, %94, %89
  tail call void @PxeBcCopyDhcp6Ack(ptr noundef nonnull %1, ptr noundef %4, i8 noundef zeroext 0)
  br label %96

default.unreachable:                              ; preds = %32
  unreachable

96:                                               ; preds = %40, %95, %51, %47, %60, %56, %84, %64, %19, %6
  %.0 = phi i64 [ 0, %6 ], [ -9223372036854775787, %19 ], [ 0, %95 ], [ 0, %84 ], [ 0, %60 ], [ 0, %56 ], [ -9223372036854775802, %51 ], [ -9223372036854775802, %47 ], [ 0, %40 ], [ -9223372036854775787, %64 ]
  ret i64 %.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 = { 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 #2 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 352}
!6 = !{!"_PXEBC_PRIVATE_DATA", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !13, i64 248, !14, i64 360, !10, i64 376, !10, i64 384, !15, i64 392, !7, i64 10816, !7, i64 10820, !7, i64 10824, !12, i64 10832, !20, i64 10840, !22, i64 10876, !23, i64 10928, !24, i64 10956, !10, i64 11008, !10, i64 11016, !25, i64 11024, !25, i64 11048, !8, i64 11072, !8, i64 11073, !8, i64 11074, !8, i64 11075, !8, i64 11076, !8, i64 11092, !8, i64 11108, !8, i64 11124, !17, i64 11140, !7, i64 11144, !7, i64 11148, !7, i64 11152, !10, i64 11160, !12, i64 11168, !12, i64 11176, !8, i64 11184, !8, i64 12848, !8, i64 14512, !10, i64 16176, !26, i64 16184, !7, i64 16436, !7, i64 16440, !8, i64 16448, !7, i64 43072, !8, i64 43076, !8, i64 43108}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_PXEBC_PRIVATE_PROTOCOL", !12, i64 0}
!12 = !{!"long long", !8, i64 0}
!13 = !{!"_EFI_PXE_BASE_CODE_PROTOCOL", !12, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104}
!14 = !{!"_EFI_PXE_BASE_CODE_CALLBACK_PROTOCOL", !12, i64 0, !10, i64 8}
!15 = !{!"", !8, i64 0, !8, i64 1, !8, i64 2, !8, i64 3, !8, i64 4, !8, i64 5, !8, i64 6, !8, i64 7, !8, i64 8, !8, i64 9, !8, i64 10, !8, i64 11, !8, i64 12, !8, i64 13, !8, i64 14, !8, i64 15, !8, i64 16, !8, i64 17, !8, i64 18, !8, i64 20, !8, i64 36, !8, i64 52, !8, i64 1524, !8, i64 2996, !8, i64 4468, !8, i64 5940, !8, i64 7412, !16, i64 8884, !7, i64 9016, !8, i64 9020, !7, i64 9404, !8, i64 9408, !18, i64 9792, !19, i64 10296}
!16 = !{!"", !8, i64 0, !8, i64 1, !17, i64 2, !8, i64 4}
!17 = !{!"short", !8, i64 0}
!18 = !{!"", !8, i64 0, !8, i64 1, !17, i64 2, !8, i64 4, !8, i64 8}
!19 = !{!"", !8, i64 0, !8, i64 1}
!20 = !{!"", !8, i64 0, !8, i64 1, !8, i64 2, !8, i64 3, !8, i64 4, !8, i64 5, !8, i64 6, !7, i64 8, !7, i64 12, !8, i64 16, !21, i64 17, !21, i64 21, !17, i64 26, !21, i64 28, !17, i64 32}
!21 = !{!"", !8, i64 0}
!22 = !{!"", !8, i64 0, !8, i64 1, !8, i64 2, !8, i64 3, !8, i64 4, !7, i64 8, !7, i64 12, !21, i64 16, !17, i64 32, !21, i64 34, !17, i64 50}
!23 = !{!"", !8, i64 0, !8, i64 1, !8, i64 2, !8, i64 3, !8, i64 4, !8, i64 5, !21, i64 6, !21, i64 10, !8, i64 14, !8, i64 15, !8, i64 16, !8, i64 17, !7, i64 20, !7, i64 24}
!24 = !{!"", !8, i64 0, !8, i64 1, !8, i64 2, !8, i64 3, !21, i64 4, !21, i64 20, !8, i64 36, !8, i64 37, !7, i64 40, !7, i64 44, !7, i64 48}
!25 = !{!"", !10, i64 0, !12, i64 8, !8, i64 16}
!26 = !{!"", !7, i64 0, !7, i64 4, !27, i64 8}
!27 = !{!"", !28, i64 0, !7, i64 236, !8, i64 240}
!28 = !{!"", !8, i64 0, !8, i64 1, !8, i64 2, !8, i64 3, !7, i64 4, !17, i64 8, !17, i64 10, !21, i64 12, !21, i64 16, !21, i64 20, !21, i64 24, !8, i64 28, !8, i64 44, !8, i64 108}
!29 = !{!6, !10, i64 376}
!30 = !{!14, !10, i64 8}
!31 = !{!6, !7, i64 10816}
!32 = !{!33, !7, i64 4}
!33 = !{!"", !7, i64 0, !7, i64 4, !34, i64 8}
!34 = !{!"", !35, i64 0, !8, i64 4}
!35 = !{!"", !7, i64 0, !7, i64 1}
!36 = !{!6, !7, i64 10824}
!37 = !{!6, !7, i64 43072}
!38 = !{!6, !10, i64 16176}
!39 = !{!33, !7, i64 0}
!40 = !{!6, !7, i64 16436}
!41 = !{!10, !10, i64 0}


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