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

; 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_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_IP6_RECEIVE_DATA = type { %struct.EFI_TIME, ptr, i32, ptr, i32, i32, [1 x %struct._EFI_IP6_FRAGMENT_DATA] }
%struct.EFI_TIME = type { i16, i8, i8, i8, i8, i8, i8, i32, i16, i8, i8 }
%struct._EFI_IP6_FRAGMENT_DATA = type { i32, ptr }
%struct._EFI_IP6_HEADER = type { i16, i16, i16, i8, i8, %struct.EFI_IPv6_ADDRESS, %struct.EFI_IPv6_ADDRESS }
%struct._EFI_IP6_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [140 x i8], align 1
@gBS = external global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [16 x i8], align 1

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

declare zeroext i8 @DebugAssertEnabled() #1

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @PxeBcIcmp6ErrorDpcHandle(ptr noundef %0) #2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i8, align 1
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %13 = load ptr, ptr %2, align 8, !tbaa !5
  store ptr %13, ptr %3, align 8, !tbaa !5
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %14, i32 0, i32 35
  store ptr %15, ptr %6, align 8, !tbaa !5
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %16, i32 0, i32 47
  %18 = getelementptr inbounds %struct.EFI_IP6_COMPLETION_TOKEN, ptr %17, i32 0, i32 1
  %19 = load i64, ptr %18, align 8, !tbaa !9
  store i64 %19, ptr %7, align 8, !tbaa !30
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %20, i32 0, i32 47
  %22 = getelementptr inbounds %struct.EFI_IP6_COMPLETION_TOKEN, ptr %21, i32 0, i32 2
  %23 = load ptr, ptr %22, align 8, !tbaa !31
  store ptr %23, ptr %4, align 8, !tbaa !5
  %24 = load ptr, ptr %3, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %24, i32 0, i32 24
  %26 = load ptr, ptr %25, align 8, !tbaa !32
  store ptr %26, ptr %5, align 8, !tbaa !5
  br label %27

27:                                               ; preds = %1
  %28 = call zeroext i8 @DebugAssertEnabled()
  %29 = icmp ne i8 %28, 0
  br i1 %29, label %30, label %37

30:                                               ; preds = %27
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.EFI_PXE_BASE_CODE_MODE, ptr %31, i32 0, i32 3
  %33 = load i8, ptr %32, align 1, !tbaa !33
  %34 = icmp ne i8 %33, 0
  br i1 %34, label %36, label %35

35:                                               ; preds = %30
  call void @DebugAssert(ptr noundef @.str, i64 noundef 375, ptr noundef @.str.4)
  br label %36

36:                                               ; preds = %35, %30
  br label %37

37:                                               ; preds = %36, %27
  br label %38

38:                                               ; preds = %37
  br label %39

39:                                               ; preds = %38
  %40 = load i64, ptr %7, align 8, !tbaa !30
  %41 = icmp eq i64 %40, -9223372036854775787
  br i1 %41, label %42, label %43

42:                                               ; preds = %39
  store i32 1, ptr %12, align 4
  br label %211

43:                                               ; preds = %39
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = icmp eq ptr %44, null
  br i1 %45, label %46, label %47

46:                                               ; preds = %43
  br label %200

47:                                               ; preds = %43
  %48 = load i64, ptr %7, align 8, !tbaa !30
  %49 = icmp ne i64 %48, -9223372036854775786
  br i1 %49, label %50, label %58

50:                                               ; preds = %47
  %51 = load ptr, ptr @gBS, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %51, i32 0, i32 11
  %53 = load ptr, ptr %52, align 8, !tbaa !34
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct._EFI_IP6_RECEIVE_DATA, ptr %54, i32 0, i32 1
  %56 = load ptr, ptr %55, align 8, !tbaa !37
  %57 = call i64 %53(ptr noundef %56)
  br label %200

58:                                               ; preds = %47
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct._EFI_IP6_RECEIVE_DATA, ptr %59, i32 0, i32 3
  %61 = load ptr, ptr %60, align 8, !tbaa !40
  %62 = getelementptr inbounds %struct._EFI_IP6_HEADER, ptr %61, i32 0, i32 5
  %63 = call zeroext i8 @NetIp6IsValidUnicast(ptr noundef %62)
  %64 = icmp ne i8 %63, 0
  br i1 %64, label %73, label %65

65:                                               ; preds = %58
  %66 = load ptr, ptr @gBS, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %66, i32 0, i32 11
  %68 = load ptr, ptr %67, align 8, !tbaa !34
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct._EFI_IP6_RECEIVE_DATA, ptr %69, i32 0, i32 1
  %71 = load ptr, ptr %70, align 8, !tbaa !37
  %72 = call i64 %68(ptr noundef %71)
  br label %200

73:                                               ; preds = %58
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.EFI_PXE_BASE_CODE_MODE, ptr %74, i32 0, i32 19
  %76 = call zeroext i8 @NetIp6IsUnspecifiedAddr(ptr noundef %75)
  %77 = icmp ne i8 %76, 0
  br i1 %77, label %95, label %78

78:                                               ; preds = %73
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct._EFI_IP6_RECEIVE_DATA, ptr %79, i32 0, i32 3
  %81 = load ptr, ptr %80, align 8, !tbaa !40
  %82 = getelementptr inbounds %struct._EFI_IP6_HEADER, ptr %81, i32 0, i32 6
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.EFI_PXE_BASE_CODE_MODE, ptr %83, i32 0, i32 19
  %85 = call i64 @CompareMem(ptr noundef %82, ptr noundef %84, i64 noundef 16)
  %86 = icmp eq i64 %85, 0
  br i1 %86, label %95, label %87

87:                                               ; preds = %78
  %88 = load ptr, ptr @gBS, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %88, i32 0, i32 11
  %90 = load ptr, ptr %89, align 8, !tbaa !34
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct._EFI_IP6_RECEIVE_DATA, ptr %91, i32 0, i32 1
  %93 = load ptr, ptr %92, align 8, !tbaa !37
  %94 = call i64 %90(ptr noundef %93)
  br label %200

95:                                               ; preds = %78, %73
  %96 = load ptr, ptr %4, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct._EFI_IP6_RECEIVE_DATA, ptr %96, i32 0, i32 3
  %98 = load ptr, ptr %97, align 8, !tbaa !40
  %99 = getelementptr inbounds %struct._EFI_IP6_HEADER, ptr %98, i32 0, i32 3
  %100 = load i8, ptr %99, align 1, !tbaa !41
  %101 = zext i8 %100 to i32
  %102 = icmp ne i32 %101, 58
  br i1 %102, label %103, label %111

103:                                              ; preds = %95
  %104 = load ptr, ptr @gBS, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %104, i32 0, i32 11
  %106 = load ptr, ptr %105, align 8, !tbaa !34
  %107 = load ptr, ptr %4, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct._EFI_IP6_RECEIVE_DATA, ptr %107, i32 0, i32 1
  %109 = load ptr, ptr %108, align 8, !tbaa !37
  %110 = call i64 %106(ptr noundef %109)
  br label %200

111:                                              ; preds = %95
  %112 = load ptr, ptr %4, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct._EFI_IP6_RECEIVE_DATA, ptr %112, i32 0, i32 6
  %114 = getelementptr inbounds [1 x %struct._EFI_IP6_FRAGMENT_DATA], ptr %113, i64 0, i64 0
  %115 = getelementptr inbounds %struct._EFI_IP6_FRAGMENT_DATA, ptr %114, i32 0, i32 1
  %116 = load ptr, ptr %115, align 8, !tbaa !43
  %117 = load i8, ptr %116, align 1, !tbaa !31
  store i8 %117, ptr %9, align 1, !tbaa !31
  %118 = load i8, ptr %9, align 1, !tbaa !31
  %119 = zext i8 %118 to i32
  %120 = icmp ne i32 %119, 1
  br i1 %120, label %121, label %141

121:                                              ; preds = %111
  %122 = load i8, ptr %9, align 1, !tbaa !31
  %123 = zext i8 %122 to i32
  %124 = icmp ne i32 %123, 2
  br i1 %124, label %125, label %141

125:                                              ; preds = %121
  %126 = load i8, ptr %9, align 1, !tbaa !31
  %127 = zext i8 %126 to i32
  %128 = icmp ne i32 %127, 2
  br i1 %128, label %129, label %141

129:                                              ; preds = %125
  %130 = load i8, ptr %9, align 1, !tbaa !31
  %131 = zext i8 %130 to i32
  %132 = icmp ne i32 %131, 4
  br i1 %132, label %133, label %141

133:                                              ; preds = %129
  %134 = load ptr, ptr @gBS, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %134, i32 0, i32 11
  %136 = load ptr, ptr %135, align 8, !tbaa !34
  %137 = load ptr, ptr %4, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct._EFI_IP6_RECEIVE_DATA, ptr %137, i32 0, i32 1
  %139 = load ptr, ptr %138, align 8, !tbaa !37
  %140 = call i64 %136(ptr noundef %139)
  br label %200

141:                                              ; preds = %129, %125, %121, %111
  store i32 0, ptr %10, align 4, !tbaa !45
  %142 = load ptr, ptr %6, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.EFI_PXE_BASE_CODE_MODE, ptr %142, i32 0, i32 32
  store ptr %143, ptr %11, align 8, !tbaa !5
  store i64 0, ptr %8, align 8, !tbaa !30
  br label %144

144:                                              ; preds = %196, %141
  %145 = load i64, ptr %8, align 8, !tbaa !30
  %146 = load ptr, ptr %4, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct._EFI_IP6_RECEIVE_DATA, ptr %146, i32 0, i32 5
  %148 = load i32, ptr %147, align 4, !tbaa !46
  %149 = zext i32 %148 to i64
  %150 = icmp ult i64 %145, %149
  br i1 %150, label %151, label %199

151:                                              ; preds = %144
  %152 = load ptr, ptr %4, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct._EFI_IP6_RECEIVE_DATA, ptr %152, i32 0, i32 6
  %154 = load i64, ptr %8, align 8, !tbaa !30
  %155 = getelementptr inbounds [1 x %struct._EFI_IP6_FRAGMENT_DATA], ptr %153, i64 0, i64 %154
  %156 = getelementptr inbounds %struct._EFI_IP6_FRAGMENT_DATA, ptr %155, i32 0, i32 0
  %157 = load i32, ptr %156, align 8, !tbaa !47
  %158 = load i32, ptr %10, align 4, !tbaa !45
  %159 = add i32 %158, %157
  store i32 %159, ptr %10, align 4, !tbaa !45
  %160 = load i32, ptr %10, align 4, !tbaa !45
  %161 = zext i32 %160 to i64
  %162 = icmp ule i64 %161, 504
  br i1 %162, label %163, label %179

163:                                              ; preds = %151
  %164 = load ptr, ptr %11, align 8, !tbaa !5
  %165 = load ptr, ptr %4, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct._EFI_IP6_RECEIVE_DATA, ptr %165, i32 0, i32 6
  %167 = load i64, ptr %8, align 8, !tbaa !30
  %168 = getelementptr inbounds [1 x %struct._EFI_IP6_FRAGMENT_DATA], ptr %166, i64 0, i64 %167
  %169 = getelementptr inbounds %struct._EFI_IP6_FRAGMENT_DATA, ptr %168, i32 0, i32 1
  %170 = load ptr, ptr %169, align 8, !tbaa !43
  %171 = load ptr, ptr %4, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct._EFI_IP6_RECEIVE_DATA, ptr %171, i32 0, i32 6
  %173 = load i64, ptr %8, align 8, !tbaa !30
  %174 = getelementptr inbounds [1 x %struct._EFI_IP6_FRAGMENT_DATA], ptr %172, i64 0, i64 %173
  %175 = getelementptr inbounds %struct._EFI_IP6_FRAGMENT_DATA, ptr %174, i32 0, i32 0
  %176 = load i32, ptr %175, align 8, !tbaa !47
  %177 = zext i32 %176 to i64
  %178 = call ptr @CopyMem(ptr noundef %164, ptr noundef %170, i64 noundef %177)
  br label %191

179:                                              ; preds = %151
  %180 = load ptr, ptr %11, align 8, !tbaa !5
  %181 = load ptr, ptr %4, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct._EFI_IP6_RECEIVE_DATA, ptr %181, i32 0, i32 6
  %183 = load i64, ptr %8, align 8, !tbaa !30
  %184 = getelementptr inbounds [1 x %struct._EFI_IP6_FRAGMENT_DATA], ptr %182, i64 0, i64 %183
  %185 = getelementptr inbounds %struct._EFI_IP6_FRAGMENT_DATA, ptr %184, i32 0, i32 1
  %186 = load ptr, ptr %185, align 8, !tbaa !43
  %187 = load i32, ptr %10, align 4, !tbaa !45
  %188 = zext i32 %187 to i64
  %189 = sub i64 %188, 504
  %190 = call ptr @CopyMem(ptr noundef %180, ptr noundef %186, i64 noundef %189)
  br label %191

191:                                              ; preds = %179, %163
  %192 = load i32, ptr %10, align 4, !tbaa !45
  %193 = load ptr, ptr %11, align 8, !tbaa !5
  %194 = zext i32 %192 to i64
  %195 = getelementptr inbounds i8, ptr %193, i64 %194
  store ptr %195, ptr %11, align 8, !tbaa !5
  br label %196

196:                                              ; preds = %191
  %197 = load i64, ptr %8, align 8, !tbaa !30
  %198 = add i64 %197, 1
  store i64 %198, ptr %8, align 8, !tbaa !30
  br label %144, !llvm.loop !48

199:                                              ; preds = %144
  br label %200

200:                                              ; preds = %199, %133, %103, %87, %65, %50, %46
  %201 = load ptr, ptr %3, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %201, i32 0, i32 47
  %203 = getelementptr inbounds %struct.EFI_IP6_COMPLETION_TOKEN, ptr %202, i32 0, i32 1
  store i64 -9223372036854775802, ptr %203, align 8, !tbaa !9
  %204 = load ptr, ptr %5, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct._EFI_IP6_PROTOCOL, ptr %204, i32 0, i32 6
  %206 = load ptr, ptr %205, align 8, !tbaa !50
  %207 = load ptr, ptr %5, align 8, !tbaa !5
  %208 = load ptr, ptr %3, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct._PXEBC_PRIVATE_DATA, ptr %208, i32 0, i32 47
  %210 = call i64 %206(ptr noundef %207, ptr noundef %209)
  store i32 0, ptr %12, align 4
  br label %211

211:                                              ; preds = %200, %42
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  %212 = load i32, ptr %12, align 4
  switch i32 %212, label %214 [
    i32 0, label %213
    i32 1, label %213
  ]

213:                                              ; preds = %211, %211
  ret void

214:                                              ; preds = %211
  unreachable
}

declare zeroext i8 @NetIp6IsValidUnicast(ptr noundef) #1

declare zeroext i8 @NetIp6IsUnspecifiedAddr(ptr noundef) #1

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

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

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


; 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._EFI_IP6_FRAGMENT_DATA = type { i32, ptr }

@.str = external hidden unnamed_addr constant [140 x i8], align 1
@gBS = external local_unnamed_addr global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [16 x i8], align 1

declare zeroext i8 @DebugAssertEnabled() local_unnamed_addr #0

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @PxeBcIcmp6ErrorDpcHandle(ptr noundef %0) local_unnamed_addr #1 {
  %2 = getelementptr inbounds i8, ptr %0, i64 11048
  %3 = getelementptr inbounds i8, ptr %0, i64 11056
  %4 = load i64, ptr %3, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 11064
  %6 = load ptr, ptr %5, align 8, !tbaa !29
  %7 = getelementptr inbounds i8, ptr %0, i64 192
  %8 = load ptr, ptr %7, align 8, !tbaa !30
  %9 = tail call zeroext i8 @DebugAssertEnabled() #2
  %.not = icmp eq i8 %9, 0
  br i1 %.not, label %14, label %10

10:                                               ; preds = %1
  %11 = getelementptr inbounds i8, ptr %0, i64 395
  %12 = load i8, ptr %11, align 1, !tbaa !31
  %.not59 = icmp eq i8 %12, 0
  br i1 %.not59, label %13, label %14

13:                                               ; preds = %10
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 375, ptr noundef nonnull @.str.4) #2
  br label %14

14:                                               ; preds = %10, %13, %1
  %15 = icmp eq i64 %4, -9223372036854775787
  br i1 %15, label %69, label %16

16:                                               ; preds = %14
  %17 = icmp eq ptr %6, null
  br i1 %17, label %.loopexit, label %18

18:                                               ; preds = %16
  %.not60 = icmp eq i64 %4, -9223372036854775786
  br i1 %.not60, label %19, label %.loopexit.sink.split

19:                                               ; preds = %18
  %20 = getelementptr inbounds i8, ptr %6, i64 32
  %21 = load ptr, ptr %20, align 8, !tbaa !32
  %22 = getelementptr inbounds i8, ptr %21, i64 8
  %23 = tail call zeroext i8 @NetIp6IsValidUnicast(ptr noundef nonnull %22) #2
  %.not61 = icmp eq i8 %23, 0
  br i1 %.not61, label %.loopexit.sink.split, label %24

24:                                               ; preds = %19
  %25 = getelementptr inbounds i8, ptr %0, i64 412
  %26 = tail call zeroext i8 @NetIp6IsUnspecifiedAddr(ptr noundef nonnull %25) #2
  %.not62 = icmp eq i8 %26, 0
  br i1 %.not62, label %27, label %32

27:                                               ; preds = %24
  %28 = load ptr, ptr %20, align 8, !tbaa !32
  %29 = getelementptr inbounds i8, ptr %28, i64 24
  %30 = tail call i64 @CompareMem(ptr noundef nonnull %29, ptr noundef nonnull %25, i64 noundef 16) #2
  %31 = icmp eq i64 %30, 0
  br i1 %31, label %32, label %.loopexit.sink.split

32:                                               ; preds = %27, %24
  %33 = load ptr, ptr %20, align 8, !tbaa !32
  %34 = getelementptr inbounds i8, ptr %33, i64 6
  %35 = load i8, ptr %34, align 1, !tbaa !35
  %.not63 = icmp eq i8 %35, 58
  br i1 %.not63, label %36, label %.loopexit.sink.split

36:                                               ; preds = %32
  %37 = getelementptr inbounds i8, ptr %6, i64 48
  %38 = getelementptr inbounds i8, ptr %6, i64 56
  %39 = load ptr, ptr %38, align 8, !tbaa !37
  %40 = load i8, ptr %39, align 1, !tbaa !29
  switch i8 %40, label %.loopexit.sink.split [
    i8 4, label %41
    i8 2, label %41
    i8 1, label %41
  ]

41:                                               ; preds = %36, %36, %36
  %42 = getelementptr inbounds i8, ptr %6, i64 44
  %43 = load i32, ptr %42, align 4, !tbaa !39
  %.not67 = icmp eq i32 %43, 0
  br i1 %.not67, label %.loopexit, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %41
  %44 = getelementptr inbounds i8, ptr %0, i64 10184
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %.066 = phi ptr [ %55, %.lr.ph ], [ %44, %.lr.ph.preheader ]
  %.05465 = phi i32 [ %47, %.lr.ph ], [ 0, %.lr.ph.preheader ]
  %.05564 = phi i64 [ %56, %.lr.ph ], [ 0, %.lr.ph.preheader ]
  %45 = getelementptr inbounds [1 x %struct._EFI_IP6_FRAGMENT_DATA], ptr %37, i64 0, i64 %.05564
  %46 = load i32, ptr %45, align 8, !tbaa !40
  %47 = add i32 %46, %.05465
  %48 = zext i32 %47 to i64
  %49 = icmp ult i32 %47, 505
  %50 = getelementptr inbounds i8, ptr %45, i64 8
  %51 = load ptr, ptr %50, align 8, !tbaa !37
  %52 = add nsw i64 %48, -504
  %53 = zext i32 %46 to i64
  %.sink = select i1 %49, i64 %53, i64 %52
  %54 = tail call ptr @CopyMem(ptr noundef %.066, ptr noundef %51, i64 noundef %.sink) #2
  %55 = getelementptr inbounds i8, ptr %.066, i64 %48
  %56 = add nuw nsw i64 %.05564, 1
  %57 = load i32, ptr %42, align 4, !tbaa !39
  %58 = zext i32 %57 to i64
  %59 = icmp ult i64 %56, %58
  br i1 %59, label %.lr.ph, label %.loopexit, !llvm.loop !41

.loopexit.sink.split:                             ; preds = %36, %32, %27, %19, %18
  %60 = load ptr, ptr @gBS, align 8, !tbaa !43
  %61 = getelementptr inbounds i8, ptr %60, i64 104
  %62 = load ptr, ptr %61, align 8, !tbaa !44
  %63 = getelementptr inbounds i8, ptr %6, i64 16
  %64 = load ptr, ptr %63, align 8, !tbaa !47
  %65 = tail call i64 %62(ptr noundef %64) #2
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph, %.loopexit.sink.split, %41, %16
  store i64 -9223372036854775802, ptr %3, align 8, !tbaa !5
  %66 = getelementptr inbounds i8, ptr %8, i64 48
  %67 = load ptr, ptr %66, align 8, !tbaa !48
  %68 = tail call i64 %67(ptr noundef %8, ptr noundef nonnull %2) #2
  br label %69

69:                                               ; preds = %14, %.loopexit
  ret void
}

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

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

attributes #0 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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, !12, i64 11056}
!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 = !{!8, !8, i64 0}
!30 = !{!6, !10, i64 192}
!31 = !{!15, !8, i64 3}
!32 = !{!33, !10, i64 32}
!33 = !{!"_EFI_IP6_RECEIVE_DATA", !34, i64 0, !10, i64 16, !7, i64 24, !10, i64 32, !7, i64 40, !7, i64 44, !8, i64 48}
!34 = !{!"", !17, i64 0, !8, i64 2, !8, i64 3, !8, i64 4, !8, i64 5, !8, i64 6, !8, i64 7, !7, i64 8, !17, i64 12, !8, i64 14, !8, i64 15}
!35 = !{!36, !8, i64 6}
!36 = !{!"_EFI_IP6_HEADER", !8, i64 0, !8, i64 0, !8, i64 1, !8, i64 1, !17, i64 2, !17, i64 4, !8, i64 6, !8, i64 7, !21, i64 8, !21, i64 24}
!37 = !{!38, !10, i64 8}
!38 = !{!"_EFI_IP6_FRAGMENT_DATA", !7, i64 0, !10, i64 8}
!39 = !{!33, !7, i64 44}
!40 = !{!38, !7, i64 0}
!41 = distinct !{!41, !42}
!42 = !{!"llvm.loop.mustprogress"}
!43 = !{!10, !10, i64 0}
!44 = !{!45, !10, i64 104}
!45 = !{!"", !46, i64 0, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !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, !10, i64 248, !10, i64 256, !10, i64 264, !10, i64 272, !10, i64 280, !10, i64 288, !10, i64 296, !10, i64 304, !10, i64 312, !10, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !10, i64 352, !10, i64 360, !10, i64 368}
!46 = !{!"", !12, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!47 = !{!33, !10, i64 16}
!48 = !{!49, !10, i64 48}
!49 = !{!"_EFI_IP6_PROTOCOL", !10, 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}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass