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

; 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.EFI_DHCP6_RETRANSMISSION = type { i32, i32, i32, i32 }
%struct.EFI_IPv6_ADDRESS = type { [16 x i8] }
%struct._IP6_INTERFACE = type { i32, %struct._LIST_ENTRY, i64, %struct._LIST_ENTRY, i32, i8, ptr, ptr, ptr, %struct._LIST_ENTRY, %struct._LIST_ENTRY, i32, %struct._LIST_ENTRY, %struct._LIST_ENTRY, %struct._LIST_ENTRY, i8 }
%struct._LIST_ENTRY = type { ptr, ptr }
%struct._IP6_DAD_ENTRY = type { i32, %struct._LIST_ENTRY, i32, i32, i32, i32, ptr, %struct.EFI_IPv6_ADDRESS, ptr, ptr }
%struct._IP6_ADDRESS_INFO = type { i32, %struct._LIST_ENTRY, %struct.EFI_IPv6_ADDRESS, i8, i8, i32, i32 }
%struct._IP6_SERVICE = type { i32, %struct._EFI_SERVICE_BINDING_PROTOCOL, i64, i64, %struct._LIST_ENTRY, %struct._LIST_ENTRY, ptr, ptr, %struct.IP6_LINK_RX_TOKEN, %struct.IP6_ASSEMBLE_TABLE, %struct.IP6_MLD_SERVICE_DATA, %struct.EFI_IPv6_ADDRESS, i8, i8, i8, i8, i8, i32, i32, i32, i32, %struct._LIST_ENTRY, %struct._LIST_ENTRY, %struct._LIST_ENTRY, %struct._LIST_ENTRY, i32, i8, ptr, i8, i8, i32, ptr, ptr, ptr, ptr, %struct.EFI_MANAGED_NETWORK_CONFIG_DATA, %struct.EFI_SIMPLE_NETWORK_MODE, ptr, ptr, %struct._IP6_CONFIG_INSTANCE, ptr, i32, i32 }
%struct._EFI_SERVICE_BINDING_PROTOCOL = type { ptr, ptr }
%struct.IP6_LINK_RX_TOKEN = type { i32, ptr, ptr, %struct.EFI_MANAGED_NETWORK_COMPLETION_TOKEN }
%struct.EFI_MANAGED_NETWORK_COMPLETION_TOKEN = type { ptr, i64, %union.anon }
%union.anon = type { ptr }
%struct.IP6_ASSEMBLE_TABLE = type { [127 x %struct._LIST_ENTRY] }
%struct.IP6_MLD_SERVICE_DATA = type { i64, %struct._LIST_ENTRY }
%struct.EFI_MANAGED_NETWORK_CONFIG_DATA = type { i32, i32, i16, i8, i8, i8, i8, i8, i8, i8 }
%struct.EFI_SIMPLE_NETWORK_MODE = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [16 x %struct.EFI_MAC_ADDRESS], %struct.EFI_MAC_ADDRESS, %struct.EFI_MAC_ADDRESS, %struct.EFI_MAC_ADDRESS, i8, i8, i8, i8, i8 }
%struct.EFI_MAC_ADDRESS = type { [32 x i8] }
%struct._IP6_CONFIG_INSTANCE = type { i32, i8, %struct._LIST_ENTRY, i16, %struct.EFI_IP6_CONFIG_INTERFACE_INFO, %struct.EFI_IP6_CONFIG_INTERFACE_ID, i32, %struct.EFI_IP6_CONFIG_DUP_ADDR_DETECT_TRANSMITS, [7 x %struct.IP6_CONFIG_DATA_ITEM], %struct.NET_MAP, %struct.NET_MAP, %struct._EFI_IP6_CONFIG_PROTOCOL, ptr, ptr, ptr, ptr, i8, i32, ptr, i32, ptr, i32, %struct._IP6_FORM_CALLBACK_INFO, %struct.IP6_CONFIG_NVDATA }
%struct.EFI_IP6_CONFIG_INTERFACE_INFO = type { [32 x i16], i8, i32, %struct.EFI_MAC_ADDRESS, i32, ptr, i32, ptr }
%struct.EFI_IP6_CONFIG_INTERFACE_ID = type { [8 x i8] }
%struct.EFI_IP6_CONFIG_DUP_ADDR_DETECT_TRANSMITS = type { i32 }
%struct.IP6_CONFIG_DATA_ITEM = type { ptr, ptr, i64, i8, %struct.NET_MAP, %union.IP6_CONFIG_DATA, i64 }
%union.IP6_CONFIG_DATA = type { ptr }
%struct.NET_MAP = type { %struct._LIST_ENTRY, %struct._LIST_ENTRY, i64 }
%struct._EFI_IP6_CONFIG_PROTOCOL = type { ptr, ptr, ptr, ptr }
%struct._IP6_FORM_CALLBACK_INFO = type { i32, ptr, %struct._EFI_HII_CONFIG_ACCESS_PROTOCOL, ptr, ptr }
%struct._EFI_HII_CONFIG_ACCESS_PROTOCOL = type { ptr, ptr, ptr }
%struct.IP6_CONFIG_NVDATA = type { i32, %struct.EFI_IP6_CONFIG_DUP_ADDR_DETECT_TRANSMITS, %struct.EFI_IP6_CONFIG_INTERFACE_ID, %struct._LIST_ENTRY, i32, %struct._LIST_ENTRY, i32, %struct._LIST_ENTRY, i32 }
%struct._EFI_DHCP6_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.EFI_DHCP6_PACKET_OPTION = type <{ i16, i16, [1 x i8] }>
%struct._EFI_MANAGED_NETWORK_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr, ptr, 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 }

@.str = external hidden unnamed_addr constant [127 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [19 x i8], align 1
@gBS = external global ptr, align 8

; 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 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: nounwind uwtable
declare dso_local ptr @Ip6CreatePrefixListEntry(ptr noundef, i8 noundef zeroext, i32 noundef, i32 noundef, i8 noundef zeroext, ptr noundef) #2

declare void @FreePool(ptr noundef) #1

declare ptr @RemoveEntryList(ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @Ip6OnDADFinished(i8 noundef zeroext %0, ptr noundef %1, ptr noundef %2) #2 {
  %4 = alloca i8, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca [4 x i16], align 2
  %11 = alloca ptr, align 8
  %12 = alloca %struct.EFI_DHCP6_RETRANSMISSION, align 4
  %13 = alloca %struct.EFI_IPv6_ADDRESS, align 1
  %14 = alloca i32, align 4
  store i8 %0, ptr %4, align 1, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !8
  store ptr %2, ptr %6, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #3
  %15 = load ptr, ptr %5, align 8, !tbaa !8
  %16 = getelementptr inbounds %struct._IP6_INTERFACE, ptr %15, i32 0, i32 6
  %17 = load ptr, ptr %16, align 8, !tbaa !10
  store ptr %17, ptr %7, align 8, !tbaa !8
  %18 = load ptr, ptr %6, align 8, !tbaa !8
  %19 = getelementptr inbounds %struct._IP6_DAD_ENTRY, ptr %18, i32 0, i32 6
  %20 = load ptr, ptr %19, align 8, !tbaa !15
  store ptr %20, ptr %8, align 8, !tbaa !8
  %21 = load i8, ptr %4, align 1, !tbaa !5
  %22 = icmp ne i8 %21, 0
  br i1 %22, label %23, label %124

23:                                               ; preds = %3
  %24 = load ptr, ptr %8, align 8, !tbaa !8
  %25 = getelementptr inbounds %struct._IP6_ADDRESS_INFO, ptr %24, i32 0, i32 2
  %26 = call zeroext i8 @NetIp6IsLinkLocalAddr(ptr noundef %25)
  %27 = icmp ne i8 %26, 0
  br i1 %27, label %28, label %105

28:                                               ; preds = %23
  br label %29

29:                                               ; preds = %28
  %30 = call zeroext i8 @DebugAssertEnabled()
  %31 = icmp ne i8 %30, 0
  br i1 %31, label %32, label %39

32:                                               ; preds = %29
  %33 = load ptr, ptr %7, align 8, !tbaa !8
  %34 = getelementptr inbounds %struct._IP6_SERVICE, ptr %33, i32 0, i32 12
  %35 = load i8, ptr %34, align 8, !tbaa !18
  %36 = icmp ne i8 %35, 0
  br i1 %36, label %37, label %38

37:                                               ; preds = %32
  call void @DebugAssert(ptr noundef @.str, i64 noundef 834, ptr noundef @.str.11)
  br label %38

38:                                               ; preds = %37, %32
  br label %39

39:                                               ; preds = %38, %29
  br label %40

40:                                               ; preds = %39
  br label %41

41:                                               ; preds = %40
  %42 = load ptr, ptr %7, align 8, !tbaa !8
  %43 = getelementptr inbounds %struct._IP6_SERVICE, ptr %42, i32 0, i32 11
  %44 = load ptr, ptr %8, align 8, !tbaa !8
  %45 = getelementptr inbounds %struct._IP6_ADDRESS_INFO, ptr %44, i32 0, i32 2
  %46 = call ptr @CopyMem(ptr noundef %43, ptr noundef %45, i64 noundef 16)
  %47 = load ptr, ptr %7, align 8, !tbaa !8
  %48 = getelementptr inbounds %struct._IP6_SERVICE, ptr %47, i32 0, i32 12
  store i8 1, ptr %48, align 8, !tbaa !18
  %49 = load ptr, ptr %5, align 8, !tbaa !8
  %50 = getelementptr inbounds %struct._IP6_INTERFACE, ptr %49, i32 0, i32 5
  store i8 1, ptr %50, align 4, !tbaa !35
  %51 = load ptr, ptr %7, align 8, !tbaa !8
  %52 = getelementptr inbounds %struct._IP6_SERVICE, ptr %51, i32 0, i32 39
  %53 = getelementptr inbounds %struct._IP6_CONFIG_INSTANCE, ptr %52, i32 0, i32 15
  %54 = load ptr, ptr %53, align 8, !tbaa !36
  store ptr %54, ptr %9, align 8, !tbaa !8
  %55 = load ptr, ptr %7, align 8, !tbaa !8
  %56 = getelementptr inbounds %struct._IP6_SERVICE, ptr %55, i32 0, i32 14
  %57 = load i8, ptr %56, align 2, !tbaa !37
  %58 = icmp ne i8 %57, 0
  br i1 %58, label %59, label %67

59:                                               ; preds = %41
  %60 = load ptr, ptr %9, align 8, !tbaa !8
  %61 = getelementptr inbounds %struct._EFI_DHCP6_PROTOCOL, ptr %60, i32 0, i32 2
  %62 = load ptr, ptr %61, align 8, !tbaa !38
  %63 = load ptr, ptr %9, align 8, !tbaa !8
  %64 = call i64 %62(ptr noundef %63)
  %65 = load ptr, ptr %7, align 8, !tbaa !8
  %66 = getelementptr inbounds %struct._IP6_SERVICE, ptr %65, i32 0, i32 14
  store i8 0, ptr %66, align 2, !tbaa !37
  br label %67

67:                                               ; preds = %59, %41
  %68 = load ptr, ptr %7, align 8, !tbaa !8
  %69 = getelementptr inbounds %struct._IP6_SERVICE, ptr %68, i32 0, i32 15
  %70 = load i8, ptr %69, align 1, !tbaa !40
  %71 = icmp ne i8 %70, 0
  br i1 %71, label %72, label %100

72:                                               ; preds = %67
  %73 = getelementptr inbounds [4 x i16], ptr %10, i64 0, i64 0
  store ptr %73, ptr %11, align 8, !tbaa !8
  %74 = call zeroext i16 @SwapBytes16(i16 noundef zeroext 6)
  %75 = load ptr, ptr %11, align 8, !tbaa !8
  %76 = getelementptr inbounds %struct.EFI_DHCP6_PACKET_OPTION, ptr %75, i32 0, i32 0
  store i16 %74, ptr %76, align 1, !tbaa !41
  %77 = call zeroext i16 @SwapBytes16(i16 noundef zeroext 2)
  %78 = load ptr, ptr %11, align 8, !tbaa !8
  %79 = getelementptr inbounds %struct.EFI_DHCP6_PACKET_OPTION, ptr %78, i32 0, i32 1
  store i16 %77, ptr %79, align 1, !tbaa !43
  %80 = call zeroext i16 @SwapBytes16(i16 noundef zeroext 23)
  %81 = load ptr, ptr %11, align 8, !tbaa !8
  %82 = getelementptr inbounds %struct.EFI_DHCP6_PACKET_OPTION, ptr %81, i32 0, i32 2
  %83 = getelementptr inbounds [1 x i8], ptr %82, i64 0, i64 0
  store i16 %80, ptr %83, align 1, !tbaa !44
  %84 = getelementptr inbounds %struct.EFI_DHCP6_RETRANSMISSION, ptr %12, i32 0, i32 0
  store i32 4, ptr %84, align 4, !tbaa !45
  %85 = getelementptr inbounds %struct.EFI_DHCP6_RETRANSMISSION, ptr %12, i32 0, i32 1
  store i32 64, ptr %85, align 4, !tbaa !47
  %86 = getelementptr inbounds %struct.EFI_DHCP6_RETRANSMISSION, ptr %12, i32 0, i32 2
  store i32 60, ptr %86, align 4, !tbaa !48
  %87 = getelementptr inbounds %struct.EFI_DHCP6_RETRANSMISSION, ptr %12, i32 0, i32 3
  store i32 0, ptr %87, align 4, !tbaa !49
  %88 = load ptr, ptr %9, align 8, !tbaa !8
  %89 = getelementptr inbounds %struct._EFI_DHCP6_PROTOCOL, ptr %88, i32 0, i32 3
  %90 = load ptr, ptr %89, align 8, !tbaa !50
  %91 = load ptr, ptr %9, align 8, !tbaa !8
  %92 = load ptr, ptr %11, align 8, !tbaa !8
  %93 = load ptr, ptr %7, align 8, !tbaa !8
  %94 = getelementptr inbounds %struct._IP6_SERVICE, ptr %93, i32 0, i32 39
  %95 = getelementptr inbounds %struct._IP6_CONFIG_INSTANCE, ptr %94, i32 0, i32 18
  %96 = load ptr, ptr %95, align 8, !tbaa !51
  %97 = load ptr, ptr %7, align 8, !tbaa !8
  %98 = getelementptr inbounds %struct._IP6_SERVICE, ptr %97, i32 0, i32 39
  %99 = call i64 %90(ptr noundef %91, i8 noundef zeroext 1, ptr noundef %92, i32 noundef 0, ptr noundef null, ptr noundef %12, ptr noundef %96, ptr noundef @Ip6ConfigOnDhcp6Reply, ptr noundef %98)
  br label %100

100:                                              ; preds = %72, %67
  %101 = load ptr, ptr %7, align 8, !tbaa !8
  %102 = load ptr, ptr %7, align 8, !tbaa !8
  %103 = getelementptr inbounds %struct._IP6_SERVICE, ptr %102, i32 0, i32 11
  %104 = call ptr @Ip6CreatePrefixListEntry(ptr noundef %101, i8 noundef zeroext 1, i32 noundef -1, i32 noundef -1, i8 noundef zeroext 64, ptr noundef %103)
  br label %123

105:                                              ; preds = %23
  %106 = load ptr, ptr %5, align 8, !tbaa !8
  %107 = load ptr, ptr %8, align 8, !tbaa !8
  call void @Ip6AddAddr(ptr noundef %106, ptr noundef %107)
  %108 = load ptr, ptr %7, align 8, !tbaa !8
  %109 = load ptr, ptr %8, align 8, !tbaa !8
  %110 = getelementptr inbounds %struct._IP6_ADDRESS_INFO, ptr %109, i32 0, i32 5
  %111 = load i32, ptr %110, align 4, !tbaa !52
  %112 = load ptr, ptr %8, align 8, !tbaa !8
  %113 = getelementptr inbounds %struct._IP6_ADDRESS_INFO, ptr %112, i32 0, i32 6
  %114 = load i32, ptr %113, align 8, !tbaa !54
  %115 = load ptr, ptr %8, align 8, !tbaa !8
  %116 = getelementptr inbounds %struct._IP6_ADDRESS_INFO, ptr %115, i32 0, i32 4
  %117 = load i8, ptr %116, align 1, !tbaa !55
  %118 = load ptr, ptr %8, align 8, !tbaa !8
  %119 = getelementptr inbounds %struct._IP6_ADDRESS_INFO, ptr %118, i32 0, i32 2
  %120 = call ptr @Ip6CreatePrefixListEntry(ptr noundef %108, i8 noundef zeroext 1, i32 noundef %111, i32 noundef %114, i8 noundef zeroext %117, ptr noundef %119)
  %121 = load ptr, ptr %5, align 8, !tbaa !8
  %122 = getelementptr inbounds %struct._IP6_INTERFACE, ptr %121, i32 0, i32 5
  store i8 1, ptr %122, align 4, !tbaa !35
  br label %123

123:                                              ; preds = %105, %100
  br label %129

124:                                              ; preds = %3
  %125 = load ptr, ptr %7, align 8, !tbaa !8
  %126 = load ptr, ptr %6, align 8, !tbaa !8
  %127 = getelementptr inbounds %struct._IP6_DAD_ENTRY, ptr %126, i32 0, i32 7
  %128 = call i64 @Ip6LeaveGroup(ptr noundef %125, ptr noundef %127)
  br label %129

129:                                              ; preds = %124, %123
  %130 = load ptr, ptr %6, align 8, !tbaa !8
  %131 = getelementptr inbounds %struct._IP6_DAD_ENTRY, ptr %130, i32 0, i32 8
  %132 = load ptr, ptr %131, align 8, !tbaa !56
  %133 = icmp ne ptr %132, null
  br i1 %133, label %134, label %144

134:                                              ; preds = %129
  %135 = load ptr, ptr %6, align 8, !tbaa !8
  %136 = getelementptr inbounds %struct._IP6_DAD_ENTRY, ptr %135, i32 0, i32 8
  %137 = load ptr, ptr %136, align 8, !tbaa !56
  %138 = load i8, ptr %4, align 1, !tbaa !5
  %139 = load ptr, ptr %8, align 8, !tbaa !8
  %140 = getelementptr inbounds %struct._IP6_ADDRESS_INFO, ptr %139, i32 0, i32 2
  %141 = load ptr, ptr %6, align 8, !tbaa !8
  %142 = getelementptr inbounds %struct._IP6_DAD_ENTRY, ptr %141, i32 0, i32 9
  %143 = load ptr, ptr %142, align 8, !tbaa !57
  call void %137(i8 noundef zeroext %138, ptr noundef %140, ptr noundef %143)
  br label %144

144:                                              ; preds = %134, %129
  %145 = load i8, ptr %4, align 1, !tbaa !5
  %146 = icmp ne i8 %145, 0
  br i1 %146, label %187, label %147

147:                                              ; preds = %144
  %148 = load ptr, ptr %8, align 8, !tbaa !8
  %149 = getelementptr inbounds %struct._IP6_ADDRESS_INFO, ptr %148, i32 0, i32 2
  %150 = call zeroext i8 @NetIp6IsLinkLocalAddr(ptr noundef %149)
  %151 = zext i8 %150 to i32
  %152 = icmp ne i32 %151, 0
  br i1 %152, label %153, label %187

153:                                              ; preds = %147
  %154 = load ptr, ptr %8, align 8, !tbaa !8
  call void @FreePool(ptr noundef %154)
  %155 = load ptr, ptr %6, align 8, !tbaa !8
  %156 = getelementptr inbounds %struct._IP6_DAD_ENTRY, ptr %155, i32 0, i32 1
  %157 = call ptr @RemoveEntryList(ptr noundef %156)
  %158 = load ptr, ptr %6, align 8, !tbaa !8
  call void @FreePool(ptr noundef %158)
  %159 = call i64 @Ip6SetToAllNodeMulticast(i8 noundef zeroext 0, i8 noundef zeroext 2, ptr noundef %13)
  %160 = load ptr, ptr %7, align 8, !tbaa !8
  %161 = call i64 @Ip6LeaveGroup(ptr noundef %160, ptr noundef %13)
  %162 = load ptr, ptr %7, align 8, !tbaa !8
  %163 = getelementptr inbounds %struct._IP6_SERVICE, ptr %162, i32 0, i32 13
  store i8 1, ptr %163, align 1, !tbaa !58
  %164 = load ptr, ptr %7, align 8, !tbaa !8
  %165 = getelementptr inbounds %struct._IP6_SERVICE, ptr %164, i32 0, i32 34
  %166 = load ptr, ptr %165, align 8, !tbaa !59
  %167 = getelementptr inbounds %struct._EFI_MANAGED_NETWORK_PROTOCOL, ptr %166, i32 0, i32 1
  %168 = load ptr, ptr %167, align 8, !tbaa !60
  %169 = load ptr, ptr %7, align 8, !tbaa !8
  %170 = getelementptr inbounds %struct._IP6_SERVICE, ptr %169, i32 0, i32 34
  %171 = load ptr, ptr %170, align 8, !tbaa !59
  %172 = call i64 %168(ptr noundef %171, ptr noundef null)
  %173 = load ptr, ptr @gBS, align 8, !tbaa !8
  %174 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %173, i32 0, i32 9
  %175 = load ptr, ptr %174, align 8, !tbaa !62
  %176 = load ptr, ptr %7, align 8, !tbaa !8
  %177 = getelementptr inbounds %struct._IP6_SERVICE, ptr %176, i32 0, i32 37
  %178 = load ptr, ptr %177, align 8, !tbaa !65
  %179 = call i64 %175(ptr noundef %178, i32 noundef 0, i64 noundef 0)
  %180 = load ptr, ptr @gBS, align 8, !tbaa !8
  %181 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %180, i32 0, i32 9
  %182 = load ptr, ptr %181, align 8, !tbaa !62
  %183 = load ptr, ptr %7, align 8, !tbaa !8
  %184 = getelementptr inbounds %struct._IP6_SERVICE, ptr %183, i32 0, i32 38
  %185 = load ptr, ptr %184, align 8, !tbaa !66
  %186 = call i64 %182(ptr noundef %185, i32 noundef 0, i64 noundef 0)
  store i32 1, ptr %14, align 4
  br label %203

187:                                              ; preds = %147, %144
  %188 = load i8, ptr %4, align 1, !tbaa !5
  %189 = icmp ne i8 %188, 0
  br i1 %189, label %190, label %196

190:                                              ; preds = %187
  %191 = load ptr, ptr %8, align 8, !tbaa !8
  %192 = getelementptr inbounds %struct._IP6_ADDRESS_INFO, ptr %191, i32 0, i32 2
  %193 = call zeroext i8 @NetIp6IsLinkLocalAddr(ptr noundef %192)
  %194 = zext i8 %193 to i32
  %195 = icmp ne i32 %194, 0
  br i1 %195, label %196, label %198

196:                                              ; preds = %190, %187
  %197 = load ptr, ptr %8, align 8, !tbaa !8
  call void @FreePool(ptr noundef %197)
  br label %198

198:                                              ; preds = %196, %190
  %199 = load ptr, ptr %6, align 8, !tbaa !8
  %200 = getelementptr inbounds %struct._IP6_DAD_ENTRY, ptr %199, i32 0, i32 1
  %201 = call ptr @RemoveEntryList(ptr noundef %200)
  %202 = load ptr, ptr %6, align 8, !tbaa !8
  call void @FreePool(ptr noundef %202)
  store i32 0, ptr %14, align 4
  br label %203

203:                                              ; preds = %198, %153
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, 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
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  %204 = load i32, ptr %14, align 4
  switch i32 %204, label %206 [
    i32 0, label %205
    i32 1, label %205
  ]

205:                                              ; preds = %203, %203
  ret void

206:                                              ; preds = %203
  unreachable
}

declare zeroext i8 @NetIp6IsLinkLocalAddr(ptr noundef) #1

declare zeroext i16 @SwapBytes16(i16 noundef zeroext) #1

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

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

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

declare i64 @Ip6SetToAllNodeMulticast(i8 noundef zeroext, i8 noundef zeroext, 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"any pointer", !6, i64 0}
!10 = !{!11, !9, i64 56}
!11 = !{!"_IP6_INTERFACE", !12, i64 0, !13, i64 8, !14, i64 24, !13, i64 32, !12, i64 48, !6, i64 52, !9, i64 56, !9, i64 64, !9, i64 72, !13, i64 80, !13, i64 96, !12, i64 112, !13, i64 120, !13, i64 136, !13, i64 152, !6, i64 168}
!12 = !{!"int", !6, i64 0}
!13 = !{!"_LIST_ENTRY", !9, i64 0, !9, i64 8}
!14 = !{!"long long", !6, i64 0}
!15 = !{!16, !9, i64 40}
!16 = !{!"_IP6_DAD_ENTRY", !12, i64 0, !13, i64 8, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !9, i64 40, !17, i64 48, !9, i64 64, !9, i64 72}
!17 = !{!"", !6, i64 0}
!18 = !{!19, !6, i64 2208}
!19 = !{!"_IP6_SERVICE", !12, i64 0, !20, i64 8, !14, i64 24, !14, i64 32, !13, i64 40, !13, i64 56, !9, i64 72, !9, i64 80, !21, i64 88, !17, i64 136, !23, i64 2168, !17, i64 2192, !6, i64 2208, !6, i64 2209, !6, i64 2210, !6, i64 2211, !6, i64 2212, !12, i64 2216, !12, i64 2220, !12, i64 2224, !12, i64 2228, !13, i64 2232, !13, i64 2248, !13, i64 2264, !13, i64 2280, !12, i64 2296, !6, i64 2300, !9, i64 2304, !6, i64 2312, !6, i64 2313, !12, i64 2316, !9, i64 2320, !9, i64 2328, !9, i64 2336, !9, i64 2344, !24, i64 2352, !26, i64 2372, !9, i64 3032, !9, i64 3040, !27, i64 3048, !9, i64 4176, !12, i64 4184, !12, i64 4188}
!20 = !{!"_EFI_SERVICE_BINDING_PROTOCOL", !9, i64 0, !9, i64 8}
!21 = !{!"", !12, i64 0, !9, i64 8, !9, i64 16, !22, i64 24}
!22 = !{!"", !9, i64 0, !14, i64 8, !6, i64 16}
!23 = !{!"", !14, i64 0, !13, i64 8}
!24 = !{!"", !12, i64 0, !12, i64 4, !25, i64 8, !6, i64 10, !6, i64 11, !6, i64 12, !6, i64 13, !6, i64 14, !6, i64 15, !6, i64 16}
!25 = !{!"short", !6, i64 0}
!26 = !{!"", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !6, i64 40, !17, i64 552, !17, i64 584, !17, i64 616, !6, i64 648, !6, i64 649, !6, i64 650, !6, i64 651, !6, i64 652}
!27 = !{!"_IP6_CONFIG_INSTANCE", !12, i64 0, !6, i64 4, !13, i64 8, !25, i64 24, !28, i64 32, !17, i64 168, !12, i64 176, !29, i64 180, !6, i64 184, !30, i64 800, !30, i64 840, !31, i64 880, !9, i64 912, !9, i64 920, !9, i64 928, !9, i64 936, !6, i64 944, !12, i64 948, !9, i64 952, !12, i64 960, !9, i64 968, !12, i64 976, !32, i64 984, !34, i64 1040}
!28 = !{!"", !6, i64 0, !6, i64 64, !12, i64 68, !17, i64 72, !12, i64 104, !9, i64 112, !12, i64 120, !9, i64 128}
!29 = !{!"", !12, i64 0}
!30 = !{!"", !13, i64 0, !13, i64 16, !14, i64 32}
!31 = !{!"_EFI_IP6_CONFIG_PROTOCOL", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24}
!32 = !{!"_IP6_FORM_CALLBACK_INFO", !12, i64 0, !9, i64 8, !33, i64 16, !9, i64 40, !9, i64 48}
!33 = !{!"_EFI_HII_CONFIG_ACCESS_PROTOCOL", !9, i64 0, !9, i64 8, !9, i64 16}
!34 = !{!"", !12, i64 0, !29, i64 4, !17, i64 8, !13, i64 16, !12, i64 32, !13, i64 40, !12, i64 56, !13, i64 64, !12, i64 80}
!35 = !{!11, !6, i64 52}
!36 = !{!19, !9, i64 3984}
!37 = !{!19, !6, i64 2210}
!38 = !{!39, !9, i64 16}
!39 = !{!"_EFI_DHCP6_PROTOCOL", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40, !9, i64 48, !9, i64 56, !9, i64 64}
!40 = !{!19, !6, i64 2211}
!41 = !{!42, !25, i64 0}
!42 = !{!"", !25, i64 0, !25, i64 2, !6, i64 4}
!43 = !{!42, !25, i64 2}
!44 = !{!25, !25, i64 0}
!45 = !{!46, !12, i64 0}
!46 = !{!"", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!47 = !{!46, !12, i64 4}
!48 = !{!46, !12, i64 8}
!49 = !{!46, !12, i64 12}
!50 = !{!39, !9, i64 24}
!51 = !{!19, !9, i64 4000}
!52 = !{!53, !12, i64 44}
!53 = !{!"_IP6_ADDRESS_INFO", !12, i64 0, !13, i64 8, !17, i64 24, !6, i64 40, !6, i64 41, !12, i64 44, !12, i64 48}
!54 = !{!53, !12, i64 48}
!55 = !{!53, !6, i64 41}
!56 = !{!16, !9, i64 64}
!57 = !{!16, !9, i64 72}
!58 = !{!19, !6, i64 2209}
!59 = !{!19, !9, i64 2344}
!60 = !{!61, !9, i64 8}
!61 = !{!"_EFI_MANAGED_NETWORK_PROTOCOL", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40, !9, i64 48, !9, i64 56}
!62 = !{!63, !9, i64 88}
!63 = !{!"", !64, i64 0, !9, i64 24, !9, i64 32, !9, i64 40, !9, i64 48, !9, i64 56, !9, i64 64, !9, i64 72, !9, i64 80, !9, i64 88, !9, i64 96, !9, i64 104, !9, i64 112, !9, i64 120, !9, i64 128, !9, i64 136, !9, i64 144, !9, i64 152, !9, i64 160, !9, i64 168, !9, i64 176, !9, i64 184, !9, i64 192, !9, i64 200, !9, i64 208, !9, i64 216, !9, i64 224, !9, i64 232, !9, i64 240, !9, i64 248, !9, i64 256, !9, i64 264, !9, i64 272, !9, i64 280, !9, i64 288, !9, i64 296, !9, i64 304, !9, i64 312, !9, i64 320, !9, i64 328, !9, i64 336, !9, i64 344, !9, i64 352, !9, i64 360, !9, i64 368}
!64 = !{!"", !14, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20}
!65 = !{!19, !9, i64 3032}
!66 = !{!19, !9, i64 3040}


; 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_DHCP6_RETRANSMISSION = type { i32, i32, i32, i32 }
%struct.EFI_IPv6_ADDRESS = type { [16 x i8] }

@.str = external hidden unnamed_addr constant [127 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [19 x i8], align 1
@gBS = external local_unnamed_addr global ptr, align 8

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

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

declare zeroext i8 @DebugAssertEnabled() local_unnamed_addr #1

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

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

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

declare void @FreePool(ptr noundef) local_unnamed_addr #1

declare ptr @RemoveEntryList(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @Ip6OnDADFinished(i8 noundef zeroext %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #2 {
  %4 = alloca [4 x i16], align 2
  %5 = alloca %struct.EFI_DHCP6_RETRANSMISSION, align 16
  %6 = alloca %struct.EFI_IPv6_ADDRESS, align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #3
  %7 = getelementptr inbounds i8, ptr %1, i64 56
  %8 = load ptr, ptr %7, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %2, i64 40
  %10 = load ptr, ptr %9, align 8, !tbaa !13
  %.not = icmp eq i8 %0, 0
  br i1 %.not, label %59, label %11

11:                                               ; preds = %3
  %12 = getelementptr inbounds i8, ptr %10, i64 24
  %13 = tail call zeroext i8 @NetIp6IsLinkLocalAddr(ptr noundef nonnull %12) #3
  %.not55 = icmp eq i8 %13, 0
  br i1 %.not55, label %50, label %14

14:                                               ; preds = %11
  %15 = tail call zeroext i8 @DebugAssertEnabled() #3
  %.not56 = icmp eq i8 %15, 0
  br i1 %.not56, label %20, label %16

16:                                               ; preds = %14
  %17 = getelementptr inbounds i8, ptr %8, i64 2208
  %18 = load i8, ptr %17, align 8, !tbaa !16
  %.not57 = icmp eq i8 %18, 0
  br i1 %.not57, label %20, label %19

19:                                               ; preds = %16
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 834, ptr noundef nonnull @.str.11) #3
  br label %20

20:                                               ; preds = %16, %19, %14
  %21 = getelementptr inbounds i8, ptr %8, i64 2192
  %22 = tail call ptr @CopyMem(ptr noundef nonnull %21, ptr noundef nonnull %12, i64 noundef 16) #3
  %23 = getelementptr inbounds i8, ptr %8, i64 2208
  store i8 1, ptr %23, align 8, !tbaa !16
  %24 = getelementptr inbounds i8, ptr %1, i64 52
  store i8 1, ptr %24, align 4, !tbaa !33
  %25 = getelementptr inbounds i8, ptr %8, i64 3048
  %26 = getelementptr inbounds i8, ptr %8, i64 3984
  %27 = load ptr, ptr %26, align 8, !tbaa !34
  %28 = getelementptr inbounds i8, ptr %8, i64 2210
  %29 = load i8, ptr %28, align 2, !tbaa !35
  %.not58 = icmp eq i8 %29, 0
  br i1 %.not58, label %34, label %30

30:                                               ; preds = %20
  %31 = getelementptr inbounds i8, ptr %27, i64 16
  %32 = load ptr, ptr %31, align 8, !tbaa !36
  %33 = tail call i64 %32(ptr noundef %27) #3
  store i8 0, ptr %28, align 2, !tbaa !35
  br label %34

34:                                               ; preds = %30, %20
  %35 = getelementptr inbounds i8, ptr %8, i64 2211
  %36 = load i8, ptr %35, align 1, !tbaa !38
  %.not59 = icmp eq i8 %36, 0
  br i1 %.not59, label %48, label %37

37:                                               ; preds = %34
  %38 = tail call zeroext i16 @SwapBytes16(i16 noundef zeroext 6) #3
  store i16 %38, ptr %4, align 2, !tbaa !39
  %39 = tail call zeroext i16 @SwapBytes16(i16 noundef zeroext 2) #3
  %40 = getelementptr inbounds i8, ptr %4, i64 2
  store i16 %39, ptr %40, align 2, !tbaa !41
  %41 = tail call zeroext i16 @SwapBytes16(i16 noundef zeroext 23) #3
  %42 = getelementptr inbounds i8, ptr %4, i64 4
  store i16 %41, ptr %42, align 2, !tbaa !42
  store <4 x i32> <i32 4, i32 64, i32 60, i32 0>, ptr %5, align 16, !tbaa !43
  %43 = getelementptr inbounds i8, ptr %27, i64 24
  %44 = load ptr, ptr %43, align 8, !tbaa !44
  %45 = getelementptr inbounds i8, ptr %8, i64 4000
  %46 = load ptr, ptr %45, align 8, !tbaa !45
  %47 = call i64 %44(ptr noundef %27, i8 noundef zeroext 1, ptr noundef nonnull %4, i32 noundef 0, ptr noundef null, ptr noundef nonnull %5, ptr noundef %46, ptr noundef nonnull @Ip6ConfigOnDhcp6Reply, ptr noundef nonnull %25) #3
  br label %48

48:                                               ; preds = %37, %34
  %49 = call ptr @Ip6CreatePrefixListEntry(ptr noundef nonnull %8, i8 noundef zeroext 1, i32 noundef -1, i32 noundef -1, i8 noundef zeroext 64, ptr noundef nonnull %21)
  br label %62

50:                                               ; preds = %11
  tail call void @Ip6AddAddr(ptr noundef nonnull %1, ptr noundef %10) #3
  %51 = getelementptr inbounds i8, ptr %10, i64 44
  %52 = load i32, ptr %51, align 4, !tbaa !46
  %53 = getelementptr inbounds i8, ptr %10, i64 48
  %54 = load i32, ptr %53, align 8, !tbaa !48
  %55 = getelementptr inbounds i8, ptr %10, i64 41
  %56 = load i8, ptr %55, align 1, !tbaa !49
  %57 = tail call ptr @Ip6CreatePrefixListEntry(ptr noundef %8, i8 noundef zeroext 1, i32 noundef %52, i32 noundef %54, i8 noundef zeroext %56, ptr noundef nonnull %12)
  %58 = getelementptr inbounds i8, ptr %1, i64 52
  store i8 1, ptr %58, align 4, !tbaa !33
  br label %62

59:                                               ; preds = %3
  %60 = getelementptr inbounds i8, ptr %2, i64 48
  %61 = tail call i64 @Ip6LeaveGroup(ptr noundef %8, ptr noundef nonnull %60) #3
  br label %62

62:                                               ; preds = %48, %50, %59
  %63 = getelementptr inbounds i8, ptr %2, i64 64
  %64 = load ptr, ptr %63, align 8, !tbaa !50
  %.not60 = icmp eq ptr %64, null
  br i1 %.not60, label %69, label %65

65:                                               ; preds = %62
  %66 = getelementptr inbounds i8, ptr %10, i64 24
  %67 = getelementptr inbounds i8, ptr %2, i64 72
  %68 = load ptr, ptr %67, align 8, !tbaa !51
  call void %64(i8 noundef zeroext %0, ptr noundef nonnull %66, ptr noundef %68) #3
  br label %69

69:                                               ; preds = %65, %62
  %70 = getelementptr inbounds i8, ptr %10, i64 24
  %71 = call zeroext i8 @NetIp6IsLinkLocalAddr(ptr noundef nonnull %70) #3
  %.not61 = icmp eq i8 %71, 0
  br i1 %.not, label %72, label %.critedge

72:                                               ; preds = %69
  br i1 %.not61, label %96, label %73

73:                                               ; preds = %72
  call void @FreePool(ptr noundef %10) #3
  %74 = getelementptr inbounds i8, ptr %2, i64 8
  %75 = call ptr @RemoveEntryList(ptr noundef nonnull %74) #3
  call void @FreePool(ptr noundef nonnull %2) #3
  %76 = call i64 @Ip6SetToAllNodeMulticast(i8 noundef zeroext 0, i8 noundef zeroext 2, ptr noundef nonnull %6) #3
  %77 = call i64 @Ip6LeaveGroup(ptr noundef %8, ptr noundef nonnull %6) #3
  %78 = getelementptr inbounds i8, ptr %8, i64 2209
  store i8 1, ptr %78, align 1, !tbaa !52
  %79 = getelementptr inbounds i8, ptr %8, i64 2344
  %80 = load ptr, ptr %79, align 8, !tbaa !53
  %81 = getelementptr inbounds i8, ptr %80, i64 8
  %82 = load ptr, ptr %81, align 8, !tbaa !54
  %83 = call i64 %82(ptr noundef %80, ptr noundef null) #3
  %84 = load ptr, ptr @gBS, align 8, !tbaa !56
  %85 = getelementptr inbounds i8, ptr %84, i64 88
  %86 = load ptr, ptr %85, align 8, !tbaa !57
  %87 = getelementptr inbounds i8, ptr %8, i64 3032
  %88 = load ptr, ptr %87, align 8, !tbaa !60
  %89 = call i64 %86(ptr noundef %88, i32 noundef 0, i64 noundef 0) #3
  %90 = load ptr, ptr @gBS, align 8, !tbaa !56
  %91 = getelementptr inbounds i8, ptr %90, i64 88
  %92 = load ptr, ptr %91, align 8, !tbaa !57
  %93 = getelementptr inbounds i8, ptr %8, i64 3040
  %94 = load ptr, ptr %93, align 8, !tbaa !61
  %95 = call i64 %92(ptr noundef %94, i32 noundef 0, i64 noundef 0) #3
  br label %100

.critedge:                                        ; preds = %69
  br i1 %.not61, label %97, label %96

96:                                               ; preds = %72, %.critedge
  call void @FreePool(ptr noundef %10) #3
  br label %97

97:                                               ; preds = %96, %.critedge
  %98 = getelementptr inbounds i8, ptr %2, i64 8
  %99 = call ptr @RemoveEntryList(ptr noundef nonnull %98) #3
  call void @FreePool(ptr noundef nonnull %2) #3
  br label %100

100:                                              ; preds = %97, %73
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  ret void
}

declare zeroext i8 @NetIp6IsLinkLocalAddr(ptr noundef) local_unnamed_addr #1

declare zeroext i16 @SwapBytes16(i16 noundef zeroext) local_unnamed_addr #1

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

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

declare i64 @Ip6LeaveGroup(ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !11, i64 56}
!6 = !{!"_IP6_INTERFACE", !7, i64 0, !10, i64 8, !12, i64 24, !10, i64 32, !7, i64 48, !8, i64 52, !11, i64 56, !11, i64 64, !11, i64 72, !10, i64 80, !10, i64 96, !7, i64 112, !10, i64 120, !10, i64 136, !10, i64 152, !8, i64 168}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"_LIST_ENTRY", !11, i64 0, !11, i64 8}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"long long", !8, i64 0}
!13 = !{!14, !11, i64 40}
!14 = !{!"_IP6_DAD_ENTRY", !7, i64 0, !10, i64 8, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !11, i64 40, !15, i64 48, !11, i64 64, !11, i64 72}
!15 = !{!"", !8, i64 0}
!16 = !{!17, !8, i64 2208}
!17 = !{!"_IP6_SERVICE", !7, i64 0, !18, i64 8, !12, i64 24, !12, i64 32, !10, i64 40, !10, i64 56, !11, i64 72, !11, i64 80, !19, i64 88, !15, i64 136, !21, i64 2168, !15, i64 2192, !8, i64 2208, !8, i64 2209, !8, i64 2210, !8, i64 2211, !8, i64 2212, !7, i64 2216, !7, i64 2220, !7, i64 2224, !7, i64 2228, !10, i64 2232, !10, i64 2248, !10, i64 2264, !10, i64 2280, !7, i64 2296, !8, i64 2300, !11, i64 2304, !8, i64 2312, !8, i64 2313, !7, i64 2316, !11, i64 2320, !11, i64 2328, !11, i64 2336, !11, i64 2344, !22, i64 2352, !24, i64 2372, !11, i64 3032, !11, i64 3040, !25, i64 3048, !11, i64 4176, !7, i64 4184, !7, i64 4188}
!18 = !{!"_EFI_SERVICE_BINDING_PROTOCOL", !11, i64 0, !11, i64 8}
!19 = !{!"", !7, i64 0, !11, i64 8, !11, i64 16, !20, i64 24}
!20 = !{!"", !11, i64 0, !12, i64 8, !8, i64 16}
!21 = !{!"", !12, i64 0, !10, i64 8}
!22 = !{!"", !7, i64 0, !7, i64 4, !23, i64 8, !8, i64 10, !8, i64 11, !8, i64 12, !8, i64 13, !8, i64 14, !8, i64 15, !8, i64 16}
!23 = !{!"short", !8, i64 0}
!24 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !8, i64 40, !15, i64 552, !15, i64 584, !15, i64 616, !8, i64 648, !8, i64 649, !8, i64 650, !8, i64 651, !8, i64 652}
!25 = !{!"_IP6_CONFIG_INSTANCE", !7, i64 0, !8, i64 4, !10, i64 8, !23, i64 24, !26, i64 32, !15, i64 168, !7, i64 176, !27, i64 180, !8, i64 184, !28, i64 800, !28, i64 840, !29, i64 880, !11, i64 912, !11, i64 920, !11, i64 928, !11, i64 936, !8, i64 944, !7, i64 948, !11, i64 952, !7, i64 960, !11, i64 968, !7, i64 976, !30, i64 984, !32, i64 1040}
!26 = !{!"", !8, i64 0, !8, i64 64, !7, i64 68, !15, i64 72, !7, i64 104, !11, i64 112, !7, i64 120, !11, i64 128}
!27 = !{!"", !7, i64 0}
!28 = !{!"", !10, i64 0, !10, i64 16, !12, i64 32}
!29 = !{!"_EFI_IP6_CONFIG_PROTOCOL", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!30 = !{!"_IP6_FORM_CALLBACK_INFO", !7, i64 0, !11, i64 8, !31, i64 16, !11, i64 40, !11, i64 48}
!31 = !{!"_EFI_HII_CONFIG_ACCESS_PROTOCOL", !11, i64 0, !11, i64 8, !11, i64 16}
!32 = !{!"", !7, i64 0, !27, i64 4, !15, i64 8, !10, i64 16, !7, i64 32, !10, i64 40, !7, i64 56, !10, i64 64, !7, i64 80}
!33 = !{!6, !8, i64 52}
!34 = !{!17, !11, i64 3984}
!35 = !{!17, !8, i64 2210}
!36 = !{!37, !11, i64 16}
!37 = !{!"_EFI_DHCP6_PROTOCOL", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64}
!38 = !{!17, !8, i64 2211}
!39 = !{!40, !23, i64 0}
!40 = !{!"", !23, i64 0, !23, i64 2, !8, i64 4}
!41 = !{!40, !23, i64 2}
!42 = !{!23, !23, i64 0}
!43 = !{!7, !7, i64 0}
!44 = !{!37, !11, i64 24}
!45 = !{!17, !11, i64 4000}
!46 = !{!47, !7, i64 44}
!47 = !{!"_IP6_ADDRESS_INFO", !7, i64 0, !10, i64 8, !15, i64 24, !8, i64 40, !8, i64 41, !7, i64 44, !7, i64 48}
!48 = !{!47, !7, i64 48}
!49 = !{!47, !8, i64 41}
!50 = !{!14, !11, i64 64}
!51 = !{!14, !11, i64 72}
!52 = !{!17, !8, i64 2209}
!53 = !{!17, !11, i64 2344}
!54 = !{!55, !11, i64 8}
!55 = !{!"_EFI_MANAGED_NETWORK_PROTOCOL", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56}
!56 = !{!11, !11, i64 0}
!57 = !{!58, !11, i64 88}
!58 = !{!"", !59, i64 0, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !11, i64 136, !11, i64 144, !11, i64 152, !11, i64 160, !11, i64 168, !11, i64 176, !11, i64 184, !11, i64 192, !11, i64 200, !11, i64 208, !11, i64 216, !11, i64 224, !11, i64 232, !11, i64 240, !11, i64 248, !11, i64 256, !11, i64 264, !11, i64 272, !11, i64 280, !11, i64 288, !11, i64 296, !11, i64 304, !11, i64 312, !11, i64 320, !11, i64 328, !11, i64 336, !11, i64 344, !11, i64 352, !11, i64 360, !11, i64 368}
!59 = !{!"", !12, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!60 = !{!17, !11, i64 3032}
!61 = !{!17, !11, i64 3040}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass