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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.GUID = type { i32, i16, i16, [8 x i8] }
%struct._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_IPv6_ADDRESS = type { [16 x i8] }
%struct._LIST_ENTRY = type { ptr, ptr }
%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_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_MANAGED_NETWORK_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%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 }

@gBS = external global ptr, align 8
@gEfiManagedNetworkServiceBindingProtocolGuid = external global %struct.GUID, align 4
@gEfiManagedNetworkProtocolGuid = external global %struct.GUID, align 4
@.str = external hidden unnamed_addr constant [131 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [24 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i64 @Ip6CleanService(ptr noundef) #0

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

declare void @FreePool(ptr noundef) #2

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

; Function Attrs: nounwind uwtable
define dso_local i64 @Ip6CreateService(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
  %4 = alloca i64, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  br label %14

14:                                               ; preds = %3
  %15 = call zeroext i8 @DebugAssertEnabled()
  %16 = icmp ne i8 %15, 0
  br i1 %16, label %17, label %22

17:                                               ; preds = %14
  %18 = load ptr, ptr %7, align 8, !tbaa !5
  %19 = icmp ne ptr %18, null
  br i1 %19, label %21, label %20

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

21:                                               ; preds = %20, %17
  br label %22

22:                                               ; preds = %21, %14
  br label %23

23:                                               ; preds = %22
  br label %24

24:                                               ; preds = %23
  %25 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr null, ptr %25, align 8, !tbaa !5
  %26 = call ptr @AllocateZeroPool(i64 noundef 4192)
  store ptr %26, ptr %8, align 8, !tbaa !5
  %27 = load ptr, ptr %8, align 8, !tbaa !5
  %28 = icmp eq ptr %27, null
  br i1 %28, label %29, label %30

29:                                               ; preds = %24
  store i64 -9223372036854775799, ptr %4, align 8
  store i32 1, ptr %13, align 4
  br label %377

30:                                               ; preds = %24
  %31 = load ptr, ptr %8, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct._IP6_SERVICE, ptr %31, i32 0, i32 0
  store i32 1396068425, ptr %32, align 8, !tbaa !9
  %33 = load ptr, ptr %8, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct._IP6_SERVICE, ptr %33, i32 0, i32 1
  %35 = getelementptr inbounds %struct._EFI_SERVICE_BINDING_PROTOCOL, ptr %34, i32 0, i32 0
  store ptr @Ip6ServiceBindingCreateChild, ptr %35, align 8, !tbaa !30
  %36 = load ptr, ptr %8, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct._IP6_SERVICE, ptr %36, i32 0, i32 1
  %38 = getelementptr inbounds %struct._EFI_SERVICE_BINDING_PROTOCOL, ptr %37, i32 0, i32 1
  store ptr @Ip6ServiceBindingDestroyChild, ptr %38, align 8, !tbaa !31
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct._IP6_SERVICE, ptr %39, i32 0, i32 2
  store i64 0, ptr %40, align 8, !tbaa !32
  %41 = load ptr, ptr %8, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct._IP6_SERVICE, ptr %41, i32 0, i32 3
  store i64 0, ptr %42, align 8, !tbaa !33
  %43 = load ptr, ptr %8, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct._IP6_SERVICE, ptr %43, i32 0, i32 4
  %45 = call ptr @InitializeListHead(ptr noundef %44)
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct._IP6_SERVICE, ptr %46, i32 0, i32 5
  %48 = call ptr @InitializeListHead(ptr noundef %47)
  %49 = load ptr, ptr %8, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct._IP6_SERVICE, ptr %49, i32 0, i32 6
  store ptr null, ptr %50, align 8, !tbaa !34
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct._IP6_SERVICE, ptr %51, i32 0, i32 7
  store ptr null, ptr %52, align 8, !tbaa !35
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct._IP6_SERVICE, ptr %53, i32 0, i32 8
  %55 = getelementptr inbounds %struct.IP6_LINK_RX_TOKEN, ptr %54, i32 0, i32 0
  store i32 1379291209, ptr %55, align 8, !tbaa !36
  %56 = load ptr, ptr %8, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct._IP6_SERVICE, ptr %56, i32 0, i32 8
  %58 = getelementptr inbounds %struct.IP6_LINK_RX_TOKEN, ptr %57, i32 0, i32 1
  store ptr null, ptr %58, align 8, !tbaa !37
  %59 = load ptr, ptr %8, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct._IP6_SERVICE, ptr %59, i32 0, i32 8
  %61 = getelementptr inbounds %struct.IP6_LINK_RX_TOKEN, ptr %60, i32 0, i32 2
  store ptr null, ptr %61, align 8, !tbaa !38
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct._IP6_SERVICE, ptr %62, i32 0, i32 8
  %64 = getelementptr inbounds %struct.IP6_LINK_RX_TOKEN, ptr %63, i32 0, i32 3
  store ptr %64, ptr %10, align 8, !tbaa !5
  %65 = load ptr, ptr %10, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.EFI_MANAGED_NETWORK_COMPLETION_TOKEN, ptr %65, i32 0, i32 0
  store ptr null, ptr %66, align 8, !tbaa !39
  %67 = load ptr, ptr %10, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.EFI_MANAGED_NETWORK_COMPLETION_TOKEN, ptr %67, i32 0, i32 1
  store i64 -9223372036854775802, ptr %68, align 8, !tbaa !40
  %69 = load ptr, ptr %10, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.EFI_MANAGED_NETWORK_COMPLETION_TOKEN, ptr %69, i32 0, i32 2
  store ptr null, ptr %70, align 8, !tbaa !41
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct._IP6_SERVICE, ptr %71, i32 0, i32 9
  call void @Ip6CreateAssembleTable(ptr noundef %72)
  %73 = load ptr, ptr %8, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct._IP6_SERVICE, ptr %73, i32 0, i32 10
  %75 = getelementptr inbounds %struct.IP6_MLD_SERVICE_DATA, ptr %74, i32 0, i32 0
  store i64 0, ptr %75, align 8, !tbaa !42
  %76 = load ptr, ptr %8, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct._IP6_SERVICE, ptr %76, i32 0, i32 10
  %78 = getelementptr inbounds %struct.IP6_MLD_SERVICE_DATA, ptr %77, i32 0, i32 1
  %79 = call ptr @InitializeListHead(ptr noundef %78)
  %80 = load ptr, ptr %8, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct._IP6_SERVICE, ptr %80, i32 0, i32 11
  %82 = call ptr @ZeroMem(ptr noundef %81, i64 noundef 16)
  %83 = load ptr, ptr %8, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct._IP6_SERVICE, ptr %83, i32 0, i32 12
  store i8 0, ptr %84, align 8, !tbaa !43
  %85 = load ptr, ptr %8, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct._IP6_SERVICE, ptr %85, i32 0, i32 13
  store i8 0, ptr %86, align 1, !tbaa !44
  %87 = load ptr, ptr %8, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct._IP6_SERVICE, ptr %87, i32 0, i32 14
  store i8 0, ptr %88, align 2, !tbaa !45
  %89 = load ptr, ptr %8, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct._IP6_SERVICE, ptr %89, i32 0, i32 15
  store i8 0, ptr %90, align 1, !tbaa !46
  %91 = load ptr, ptr %8, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct._IP6_SERVICE, ptr %91, i32 0, i32 16
  store i8 -1, ptr %92, align 4, !tbaa !47
  %93 = load ptr, ptr %8, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct._IP6_SERVICE, ptr %93, i32 0, i32 17
  store i32 1280, ptr %94, align 8, !tbaa !48
  %95 = load ptr, ptr %8, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct._IP6_SERVICE, ptr %95, i32 0, i32 18
  store i32 30000, ptr %96, align 4, !tbaa !49
  %97 = load ptr, ptr %8, align 8, !tbaa !5
  call void @Ip6UpdateReachableTime(ptr noundef %97)
  %98 = load ptr, ptr %8, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct._IP6_SERVICE, ptr %98, i32 0, i32 20
  store i32 1000, ptr %99, align 4, !tbaa !50
  %100 = load ptr, ptr %8, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct._IP6_SERVICE, ptr %100, i32 0, i32 25
  store i32 0, ptr %101, align 8, !tbaa !51
  %102 = load ptr, ptr %8, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct._IP6_SERVICE, ptr %102, i32 0, i32 21
  %104 = call ptr @InitializeListHead(ptr noundef %103)
  %105 = load ptr, ptr %8, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct._IP6_SERVICE, ptr %105, i32 0, i32 24
  %107 = call ptr @InitializeListHead(ptr noundef %106)
  %108 = load ptr, ptr %8, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct._IP6_SERVICE, ptr %108, i32 0, i32 22
  %110 = call ptr @InitializeListHead(ptr noundef %109)
  %111 = load ptr, ptr %8, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct._IP6_SERVICE, ptr %111, i32 0, i32 23
  %113 = call ptr @InitializeListHead(ptr noundef %112)
  %114 = load ptr, ptr %8, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct._IP6_SERVICE, ptr %114, i32 0, i32 26
  store i8 8, ptr %115, align 4, !tbaa !52
  %116 = load ptr, ptr %8, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct._IP6_SERVICE, ptr %116, i32 0, i32 27
  store ptr null, ptr %117, align 8, !tbaa !53
  %118 = load ptr, ptr %8, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct._IP6_SERVICE, ptr %118, i32 0, i32 28
  store i8 0, ptr %119, align 8, !tbaa !54
  %120 = load ptr, ptr %8, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct._IP6_SERVICE, ptr %120, i32 0, i32 29
  store i8 3, ptr %121, align 1, !tbaa !55
  %122 = load ptr, ptr %8, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct._IP6_SERVICE, ptr %122, i32 0, i32 30
  store i32 0, ptr %123, align 4, !tbaa !56
  %124 = load ptr, ptr %6, align 8, !tbaa !5
  %125 = load ptr, ptr %8, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct._IP6_SERVICE, ptr %125, i32 0, i32 31
  store ptr %124, ptr %126, align 8, !tbaa !57
  %127 = load ptr, ptr %5, align 8, !tbaa !5
  %128 = load ptr, ptr %8, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct._IP6_SERVICE, ptr %128, i32 0, i32 32
  store ptr %127, ptr %129, align 8, !tbaa !58
  %130 = load ptr, ptr %8, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct._IP6_SERVICE, ptr %130, i32 0, i32 33
  store ptr null, ptr %131, align 8, !tbaa !59
  %132 = load ptr, ptr %8, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct._IP6_SERVICE, ptr %132, i32 0, i32 34
  store ptr null, ptr %133, align 8, !tbaa !60
  %134 = load ptr, ptr %8, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct._IP6_SERVICE, ptr %134, i32 0, i32 35
  store ptr %135, ptr %11, align 8, !tbaa !5
  %136 = load ptr, ptr %11, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.EFI_MANAGED_NETWORK_CONFIG_DATA, ptr %136, i32 0, i32 0
  store i32 0, ptr %137, align 4, !tbaa !61
  %138 = load ptr, ptr %11, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.EFI_MANAGED_NETWORK_CONFIG_DATA, ptr %138, i32 0, i32 1
  store i32 0, ptr %139, align 4, !tbaa !62
  %140 = load ptr, ptr %11, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.EFI_MANAGED_NETWORK_CONFIG_DATA, ptr %140, i32 0, i32 2
  store i16 -31011, ptr %141, align 4, !tbaa !63
  %142 = load ptr, ptr %11, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.EFI_MANAGED_NETWORK_CONFIG_DATA, ptr %142, i32 0, i32 3
  store i8 1, ptr %143, align 2, !tbaa !64
  %144 = load ptr, ptr %11, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.EFI_MANAGED_NETWORK_CONFIG_DATA, ptr %144, i32 0, i32 4
  store i8 1, ptr %145, align 1, !tbaa !65
  %146 = load ptr, ptr %11, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.EFI_MANAGED_NETWORK_CONFIG_DATA, ptr %146, i32 0, i32 5
  store i8 1, ptr %147, align 4, !tbaa !66
  %148 = load ptr, ptr %11, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.EFI_MANAGED_NETWORK_CONFIG_DATA, ptr %148, i32 0, i32 6
  store i8 0, ptr %149, align 1, !tbaa !67
  %150 = load ptr, ptr %11, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.EFI_MANAGED_NETWORK_CONFIG_DATA, ptr %150, i32 0, i32 7
  store i8 1, ptr %151, align 2, !tbaa !68
  %152 = load ptr, ptr %11, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.EFI_MANAGED_NETWORK_CONFIG_DATA, ptr %152, i32 0, i32 8
  store i8 0, ptr %153, align 1, !tbaa !69
  %154 = load ptr, ptr %11, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.EFI_MANAGED_NETWORK_CONFIG_DATA, ptr %154, i32 0, i32 9
  store i8 0, ptr %155, align 4, !tbaa !70
  %156 = load ptr, ptr %8, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct._IP6_SERVICE, ptr %156, i32 0, i32 36
  %158 = call ptr @ZeroMem(ptr noundef %157, i64 noundef 656)
  %159 = load ptr, ptr %8, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct._IP6_SERVICE, ptr %159, i32 0, i32 37
  store ptr null, ptr %160, align 8, !tbaa !71
  %161 = load ptr, ptr %8, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct._IP6_SERVICE, ptr %161, i32 0, i32 38
  store ptr null, ptr %162, align 8, !tbaa !72
  %163 = load ptr, ptr %8, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct._IP6_SERVICE, ptr %163, i32 0, i32 39
  %165 = call ptr @ZeroMem(ptr noundef %164, i64 noundef 1128)
  %166 = load ptr, ptr %8, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct._IP6_SERVICE, ptr %166, i32 0, i32 40
  store ptr null, ptr %167, align 8, !tbaa !73
  %168 = call ptr @Ip6CreateRouteTable()
  %169 = load ptr, ptr %8, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct._IP6_SERVICE, ptr %169, i32 0, i32 7
  store ptr %168, ptr %170, align 8, !tbaa !35
  %171 = load ptr, ptr %8, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct._IP6_SERVICE, ptr %171, i32 0, i32 7
  %173 = load ptr, ptr %172, align 8, !tbaa !35
  %174 = icmp eq ptr %173, null
  br i1 %174, label %175, label %176

175:                                              ; preds = %30
  store i64 -9223372036854775799, ptr %9, align 8, !tbaa !74
  br label %372

176:                                              ; preds = %30
  %177 = load ptr, ptr @gBS, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %177, i32 0, i32 8
  %179 = load ptr, ptr %178, align 8, !tbaa !75
  %180 = load ptr, ptr %8, align 8, !tbaa !5
  %181 = load ptr, ptr %8, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct._IP6_SERVICE, ptr %181, i32 0, i32 37
  %183 = call i64 %179(i32 noundef -2147483136, i64 noundef 8, ptr noundef @Ip6TimerTicking, ptr noundef %180, ptr noundef %182)
  store i64 %183, ptr %9, align 8, !tbaa !74
  %184 = load i64, ptr %9, align 8, !tbaa !74
  %185 = icmp slt i64 %184, 0
  br i1 %185, label %186, label %187

186:                                              ; preds = %176
  br label %372

187:                                              ; preds = %176
  %188 = load ptr, ptr @gBS, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %188, i32 0, i32 8
  %190 = load ptr, ptr %189, align 8, !tbaa !75
  %191 = load ptr, ptr %8, align 8, !tbaa !5
  %192 = load ptr, ptr %8, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct._IP6_SERVICE, ptr %192, i32 0, i32 38
  %194 = call i64 %190(i32 noundef -2147483136, i64 noundef 8, ptr noundef @Ip6NdFasterTimerTicking, ptr noundef %191, ptr noundef %193)
  store i64 %194, ptr %9, align 8, !tbaa !74
  %195 = load i64, ptr %9, align 8, !tbaa !74
  %196 = icmp slt i64 %195, 0
  br i1 %196, label %197, label %198

197:                                              ; preds = %187
  br label %372

198:                                              ; preds = %187
  %199 = load ptr, ptr %5, align 8, !tbaa !5
  %200 = load ptr, ptr %6, align 8, !tbaa !5
  %201 = load ptr, ptr %8, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct._IP6_SERVICE, ptr %201, i32 0, i32 33
  %203 = call i64 @NetLibCreateServiceChild(ptr noundef %199, ptr noundef %200, ptr noundef @gEfiManagedNetworkServiceBindingProtocolGuid, ptr noundef %202)
  store i64 %203, ptr %9, align 8, !tbaa !74
  %204 = load i64, ptr %9, align 8, !tbaa !74
  %205 = icmp slt i64 %204, 0
  br i1 %205, label %206, label %207

206:                                              ; preds = %198
  br label %372

207:                                              ; preds = %198
  %208 = load ptr, ptr @gBS, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %208, i32 0, i32 33
  %210 = load ptr, ptr %209, align 8, !tbaa !78
  %211 = load ptr, ptr %8, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct._IP6_SERVICE, ptr %211, i32 0, i32 33
  %213 = load ptr, ptr %212, align 8, !tbaa !59
  %214 = load ptr, ptr %8, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct._IP6_SERVICE, ptr %214, i32 0, i32 34
  %216 = load ptr, ptr %6, align 8, !tbaa !5
  %217 = load ptr, ptr %5, align 8, !tbaa !5
  %218 = call i64 %210(ptr noundef %213, ptr noundef @gEfiManagedNetworkProtocolGuid, ptr noundef %215, ptr noundef %216, ptr noundef %217, i32 noundef 16)
  store i64 %218, ptr %9, align 8, !tbaa !74
  %219 = load i64, ptr %9, align 8, !tbaa !74
  %220 = icmp slt i64 %219, 0
  br i1 %220, label %221, label %222

221:                                              ; preds = %207
  br label %372

222:                                              ; preds = %207
  %223 = load ptr, ptr %8, align 8, !tbaa !5
  %224 = call i64 @Ip6ServiceConfigMnp(ptr noundef %223, i8 noundef zeroext 1)
  store i64 %224, ptr %9, align 8, !tbaa !74
  %225 = load i64, ptr %9, align 8, !tbaa !74
  %226 = icmp slt i64 %225, 0
  br i1 %226, label %227, label %228

227:                                              ; preds = %222
  br label %372

228:                                              ; preds = %222
  %229 = load ptr, ptr %8, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct._IP6_SERVICE, ptr %229, i32 0, i32 34
  %231 = load ptr, ptr %230, align 8, !tbaa !60
  %232 = getelementptr inbounds %struct._EFI_MANAGED_NETWORK_PROTOCOL, ptr %231, i32 0, i32 0
  %233 = load ptr, ptr %232, align 8, !tbaa !79
  %234 = load ptr, ptr %8, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct._IP6_SERVICE, ptr %234, i32 0, i32 34
  %236 = load ptr, ptr %235, align 8, !tbaa !60
  %237 = load ptr, ptr %8, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct._IP6_SERVICE, ptr %237, i32 0, i32 36
  %239 = call i64 %233(ptr noundef %236, ptr noundef null, ptr noundef %238)
  store i64 %239, ptr %9, align 8, !tbaa !74
  %240 = load i64, ptr %9, align 8, !tbaa !74
  %241 = icmp slt i64 %240, 0
  br i1 %241, label %242, label %243

242:                                              ; preds = %228
  br label %372

243:                                              ; preds = %228
  %244 = load ptr, ptr %8, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct._IP6_SERVICE, ptr %244, i32 0, i32 41
  store i32 1240, ptr %245, align 8, !tbaa !81
  %246 = load ptr, ptr %8, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct._IP6_SERVICE, ptr %246, i32 0, i32 32
  %248 = load ptr, ptr %247, align 8, !tbaa !58
  %249 = call zeroext i16 @NetLibGetVlanId(ptr noundef %248)
  %250 = zext i16 %249 to i32
  %251 = icmp ne i32 %250, 0
  br i1 %251, label %252, label %257

252:                                              ; preds = %243
  %253 = load ptr, ptr %8, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct._IP6_SERVICE, ptr %253, i32 0, i32 41
  %255 = load i32, ptr %254, align 8, !tbaa !81
  %256 = sub i32 %255, 4
  store i32 %256, ptr %254, align 8, !tbaa !81
  br label %257

257:                                              ; preds = %252, %243
  %258 = load ptr, ptr %8, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct._IP6_SERVICE, ptr %258, i32 0, i32 41
  %260 = load i32, ptr %259, align 8, !tbaa !81
  %261 = load ptr, ptr %8, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct._IP6_SERVICE, ptr %261, i32 0, i32 42
  store i32 %260, ptr %262, align 4, !tbaa !82
  %263 = load ptr, ptr %8, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct._IP6_SERVICE, ptr %263, i32 0, i32 36
  %265 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %264, i32 0, i32 14
  %266 = load i8, ptr %265, align 4, !tbaa !83
  %267 = zext i8 %266 to i32
  %268 = icmp ne i32 %267, 1
  br i1 %268, label %269, label %270

269:                                              ; preds = %257
  store i64 -9223372036854775805, ptr %9, align 8, !tbaa !74
  br label %372

270:                                              ; preds = %257
  %271 = load ptr, ptr %8, align 8, !tbaa !5
  %272 = call i64 @Ip6InitMld(ptr noundef %271)
  store i64 %272, ptr %9, align 8, !tbaa !74
  %273 = load i64, ptr %9, align 8, !tbaa !74
  %274 = icmp slt i64 %273, 0
  br i1 %274, label %275, label %276

275:                                              ; preds = %270
  br label %372

276:                                              ; preds = %270
  %277 = load ptr, ptr %8, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct._IP6_SERVICE, ptr %277, i32 0, i32 32
  %279 = load ptr, ptr %278, align 8, !tbaa !58
  %280 = load ptr, ptr %8, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct._IP6_SERVICE, ptr %280, i32 0, i32 31
  %282 = load ptr, ptr %281, align 8, !tbaa !57
  %283 = load ptr, ptr %8, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct._IP6_SERVICE, ptr %283, i32 0, i32 40
  %285 = call i64 @NetLibGetMacString(ptr noundef %279, ptr noundef %282, ptr noundef %284)
  store i64 %285, ptr %9, align 8, !tbaa !74
  %286 = load i64, ptr %9, align 8, !tbaa !74
  %287 = icmp slt i64 %286, 0
  br i1 %287, label %288, label %289

288:                                              ; preds = %276
  br label %372

289:                                              ; preds = %276
  %290 = load ptr, ptr %8, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct._IP6_SERVICE, ptr %290, i32 0, i32 39
  %292 = call i64 @Ip6ConfigInitInstance(ptr noundef %291)
  store i64 %292, ptr %9, align 8, !tbaa !74
  %293 = load i64, ptr %9, align 8, !tbaa !74
  %294 = icmp slt i64 %293, 0
  br i1 %294, label %295, label %296

295:                                              ; preds = %289
  br label %372

296:                                              ; preds = %289
  %297 = load ptr, ptr %8, align 8, !tbaa !5
  %298 = call ptr @Ip6CreateInterface(ptr noundef %297, i8 noundef zeroext 1)
  %299 = load ptr, ptr %8, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct._IP6_SERVICE, ptr %299, i32 0, i32 6
  store ptr %298, ptr %300, align 8, !tbaa !34
  %301 = load ptr, ptr %8, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct._IP6_SERVICE, ptr %301, i32 0, i32 6
  %303 = load ptr, ptr %302, align 8, !tbaa !34
  %304 = icmp eq ptr %303, null
  br i1 %304, label %305, label %306

305:                                              ; preds = %296
  store i64 -9223372036854775801, ptr %9, align 8, !tbaa !74
  br label %372

306:                                              ; preds = %296
  %307 = load ptr, ptr @gBS, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %307, i32 0, i32 8
  %309 = load ptr, ptr %308, align 8, !tbaa !75
  %310 = load ptr, ptr %8, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct._IP6_SERVICE, ptr %310, i32 0, i32 8
  %312 = load ptr, ptr %10, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.EFI_MANAGED_NETWORK_COMPLETION_TOKEN, ptr %312, i32 0, i32 0
  %314 = call i64 %309(i32 noundef 512, i64 noundef 16, ptr noundef @Ip6OnFrameReceived, ptr noundef %311, ptr noundef %313)
  store i64 %314, ptr %9, align 8, !tbaa !74
  %315 = load i64, ptr %9, align 8, !tbaa !74
  %316 = icmp slt i64 %315, 0
  br i1 %316, label %317, label %318

317:                                              ; preds = %306
  br label %372

318:                                              ; preds = %306
  %319 = load ptr, ptr %8, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct._IP6_SERVICE, ptr %319, i32 0, i32 39
  %321 = getelementptr inbounds %struct._IP6_CONFIG_INSTANCE, ptr %320, i32 0, i32 8
  %322 = getelementptr inbounds [7 x %struct.IP6_CONFIG_DATA_ITEM], ptr %321, i64 0, i64 4
  store ptr %322, ptr %12, align 8, !tbaa !5
  %323 = load ptr, ptr %12, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.IP6_CONFIG_DATA_ITEM, ptr %323, i32 0, i32 5
  %325 = load ptr, ptr %324, align 8, !tbaa !41
  %326 = icmp ne ptr %325, null
  br i1 %326, label %327, label %340

327:                                              ; preds = %318
  %328 = load ptr, ptr %12, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.IP6_CONFIG_DATA_ITEM, ptr %328, i32 0, i32 0
  %330 = load ptr, ptr %329, align 8, !tbaa !84
  %331 = load ptr, ptr %8, align 8, !tbaa !5
  %332 = getelementptr inbounds %struct._IP6_SERVICE, ptr %331, i32 0, i32 39
  %333 = load ptr, ptr %12, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.IP6_CONFIG_DATA_ITEM, ptr %333, i32 0, i32 6
  %335 = load i64, ptr %334, align 8, !tbaa !86
  %336 = load ptr, ptr %12, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.IP6_CONFIG_DATA_ITEM, ptr %336, i32 0, i32 5
  %338 = load ptr, ptr %337, align 8, !tbaa !41
  %339 = call i64 %330(ptr noundef %332, i64 noundef %335, ptr noundef %338)
  br label %340

340:                                              ; preds = %327, %318
  %341 = load ptr, ptr %8, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct._IP6_SERVICE, ptr %341, i32 0, i32 39
  %343 = getelementptr inbounds %struct._IP6_CONFIG_INSTANCE, ptr %342, i32 0, i32 8
  %344 = getelementptr inbounds [7 x %struct.IP6_CONFIG_DATA_ITEM], ptr %343, i64 0, i64 5
  store ptr %344, ptr %12, align 8, !tbaa !5
  %345 = load ptr, ptr %12, align 8, !tbaa !5
  %346 = getelementptr inbounds %struct.IP6_CONFIG_DATA_ITEM, ptr %345, i32 0, i32 5
  %347 = load ptr, ptr %346, align 8, !tbaa !41
  %348 = icmp ne ptr %347, null
  br i1 %348, label %349, label %362

349:                                              ; preds = %340
  %350 = load ptr, ptr %12, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.IP6_CONFIG_DATA_ITEM, ptr %350, i32 0, i32 0
  %352 = load ptr, ptr %351, align 8, !tbaa !84
  %353 = load ptr, ptr %8, align 8, !tbaa !5
  %354 = getelementptr inbounds %struct._IP6_SERVICE, ptr %353, i32 0, i32 39
  %355 = load ptr, ptr %12, align 8, !tbaa !5
  %356 = getelementptr inbounds %struct.IP6_CONFIG_DATA_ITEM, ptr %355, i32 0, i32 6
  %357 = load i64, ptr %356, align 8, !tbaa !86
  %358 = load ptr, ptr %12, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.IP6_CONFIG_DATA_ITEM, ptr %358, i32 0, i32 5
  %360 = load ptr, ptr %359, align 8, !tbaa !41
  %361 = call i64 %352(ptr noundef %354, i64 noundef %357, ptr noundef %360)
  br label %362

362:                                              ; preds = %349, %340
  %363 = load ptr, ptr %8, align 8, !tbaa !5
  %364 = getelementptr inbounds %struct._IP6_SERVICE, ptr %363, i32 0, i32 5
  %365 = load ptr, ptr %8, align 8, !tbaa !5
  %366 = getelementptr inbounds %struct._IP6_SERVICE, ptr %365, i32 0, i32 6
  %367 = load ptr, ptr %366, align 8, !tbaa !34
  %368 = getelementptr inbounds %struct._IP6_INTERFACE, ptr %367, i32 0, i32 1
  %369 = call ptr @InsertHeadList(ptr noundef %364, ptr noundef %368)
  %370 = load ptr, ptr %8, align 8, !tbaa !5
  %371 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %370, ptr %371, align 8, !tbaa !5
  store i64 0, ptr %4, align 8
  store i32 1, ptr %13, align 4
  br label %377

372:                                              ; preds = %317, %305, %295, %288, %275, %269, %242, %227, %221, %206, %197, %186, %175
  %373 = load ptr, ptr %8, align 8, !tbaa !5
  %374 = call i64 @Ip6CleanService(ptr noundef %373)
  %375 = load ptr, ptr %8, align 8, !tbaa !5
  call void @FreePool(ptr noundef %375)
  %376 = load i64, ptr %9, align 8, !tbaa !74
  store i64 %376, ptr %4, align 8
  store i32 1, ptr %13, align 4
  br label %377

377:                                              ; preds = %372, %362, %29
  call void @llvm.lifetime.end.p0(i64 8, 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
  %378 = load i64, ptr %4, align 8
  ret i64 %378
}

declare zeroext i8 @DebugAssertEnabled() #2

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

declare ptr @AllocateZeroPool(i64 noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i64 @Ip6ServiceBindingCreateChild(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i64 @Ip6ServiceBindingDestroyChild(ptr noundef, ptr noundef) #0

declare ptr @InitializeListHead(ptr noundef) #2

declare void @Ip6CreateAssembleTable(ptr noundef) #2

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

declare void @Ip6UpdateReachableTime(ptr noundef) #2

declare ptr @Ip6CreateRouteTable() #2

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

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

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

declare i64 @Ip6ServiceConfigMnp(ptr noundef, i8 noundef zeroext) #2

declare zeroext i16 @NetLibGetVlanId(ptr noundef) #2

declare i64 @Ip6InitMld(ptr noundef) #2

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

declare i64 @Ip6ConfigInitInstance(ptr noundef) #2

declare ptr @Ip6CreateInterface(ptr noundef, i8 noundef zeroext) #2

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

declare ptr @InsertHeadList(ptr noundef, ptr noundef) #2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_IP6_SERVICE", !11, i64 0, !12, i64 8, !13, i64 24, !13, i64 32, !14, i64 40, !14, i64 56, !6, i64 72, !6, i64 80, !15, i64 88, !17, i64 136, !18, i64 2168, !17, i64 2192, !7, i64 2208, !7, i64 2209, !7, i64 2210, !7, i64 2211, !7, i64 2212, !11, i64 2216, !11, i64 2220, !11, i64 2224, !11, i64 2228, !14, i64 2232, !14, i64 2248, !14, i64 2264, !14, i64 2280, !11, i64 2296, !7, i64 2300, !6, i64 2304, !7, i64 2312, !7, i64 2313, !11, i64 2316, !6, i64 2320, !6, i64 2328, !6, i64 2336, !6, i64 2344, !19, i64 2352, !21, i64 2372, !6, i64 3032, !6, i64 3040, !22, i64 3048, !6, i64 4176, !11, i64 4184, !11, i64 4188}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_EFI_SERVICE_BINDING_PROTOCOL", !6, i64 0, !6, i64 8}
!13 = !{!"long long", !7, i64 0}
!14 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!15 = !{!"", !11, i64 0, !6, i64 8, !6, i64 16, !16, i64 24}
!16 = !{!"", !6, i64 0, !13, i64 8, !7, i64 16}
!17 = !{!"", !7, i64 0}
!18 = !{!"", !13, i64 0, !14, i64 8}
!19 = !{!"", !11, i64 0, !11, i64 4, !20, i64 8, !7, i64 10, !7, i64 11, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16}
!20 = !{!"short", !7, i64 0}
!21 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !7, i64 40, !17, i64 552, !17, i64 584, !17, i64 616, !7, i64 648, !7, i64 649, !7, i64 650, !7, i64 651, !7, i64 652}
!22 = !{!"_IP6_CONFIG_INSTANCE", !11, i64 0, !7, i64 4, !14, i64 8, !20, i64 24, !23, i64 32, !17, i64 168, !11, i64 176, !24, i64 180, !7, i64 184, !25, i64 800, !25, i64 840, !26, i64 880, !6, i64 912, !6, i64 920, !6, i64 928, !6, i64 936, !7, i64 944, !11, i64 948, !6, i64 952, !11, i64 960, !6, i64 968, !11, i64 976, !27, i64 984, !29, i64 1040}
!23 = !{!"", !7, i64 0, !7, i64 64, !11, i64 68, !17, i64 72, !11, i64 104, !6, i64 112, !11, i64 120, !6, i64 128}
!24 = !{!"", !11, i64 0}
!25 = !{!"", !14, i64 0, !14, i64 16, !13, i64 32}
!26 = !{!"_EFI_IP6_CONFIG_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!27 = !{!"_IP6_FORM_CALLBACK_INFO", !11, i64 0, !6, i64 8, !28, i64 16, !6, i64 40, !6, i64 48}
!28 = !{!"_EFI_HII_CONFIG_ACCESS_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!"", !11, i64 0, !24, i64 4, !17, i64 8, !14, i64 16, !11, i64 32, !14, i64 40, !11, i64 56, !14, i64 64, !11, i64 80}
!30 = !{!10, !6, i64 8}
!31 = !{!10, !6, i64 16}
!32 = !{!10, !13, i64 24}
!33 = !{!10, !13, i64 32}
!34 = !{!10, !6, i64 72}
!35 = !{!10, !6, i64 80}
!36 = !{!10, !11, i64 88}
!37 = !{!10, !6, i64 96}
!38 = !{!10, !6, i64 104}
!39 = !{!16, !6, i64 0}
!40 = !{!16, !13, i64 8}
!41 = !{!7, !7, i64 0}
!42 = !{!10, !13, i64 2168}
!43 = !{!10, !7, i64 2208}
!44 = !{!10, !7, i64 2209}
!45 = !{!10, !7, i64 2210}
!46 = !{!10, !7, i64 2211}
!47 = !{!10, !7, i64 2212}
!48 = !{!10, !11, i64 2216}
!49 = !{!10, !11, i64 2220}
!50 = !{!10, !11, i64 2228}
!51 = !{!10, !11, i64 2296}
!52 = !{!10, !7, i64 2300}
!53 = !{!10, !6, i64 2304}
!54 = !{!10, !7, i64 2312}
!55 = !{!10, !7, i64 2313}
!56 = !{!10, !11, i64 2316}
!57 = !{!10, !6, i64 2320}
!58 = !{!10, !6, i64 2328}
!59 = !{!10, !6, i64 2336}
!60 = !{!10, !6, i64 2344}
!61 = !{!19, !11, i64 0}
!62 = !{!19, !11, i64 4}
!63 = !{!19, !20, i64 8}
!64 = !{!19, !7, i64 10}
!65 = !{!19, !7, i64 11}
!66 = !{!19, !7, i64 12}
!67 = !{!19, !7, i64 13}
!68 = !{!19, !7, i64 14}
!69 = !{!19, !7, i64 15}
!70 = !{!19, !7, i64 16}
!71 = !{!10, !6, i64 3032}
!72 = !{!10, !6, i64 3040}
!73 = !{!10, !6, i64 4176}
!74 = !{!13, !13, i64 0}
!75 = !{!76, !6, i64 80}
!76 = !{!"", !77, 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}
!77 = !{!"", !13, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!78 = !{!76, !6, i64 280}
!79 = !{!80, !6, i64 0}
!80 = !{!"_EFI_MANAGED_NETWORK_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}
!81 = !{!10, !11, i64 4184}
!82 = !{!10, !11, i64 4188}
!83 = !{!10, !7, i64 3020}
!84 = !{!85, !6, i64 0}
!85 = !{!"", !6, i64 0, !6, i64 8, !13, i64 16, !7, i64 24, !25, i64 32, !7, i64 72, !13, i64 80}
!86 = !{!85, !13, i64 80}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.GUID = type { i32, i16, i16, [8 x i8] }

@gBS = external local_unnamed_addr global ptr, align 8
@gEfiManagedNetworkServiceBindingProtocolGuid = external global %struct.GUID, align 4
@gEfiManagedNetworkProtocolGuid = external global %struct.GUID, align 4
@.str = external hidden unnamed_addr constant [131 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [24 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i64 @Ip6CleanService(ptr noundef) local_unnamed_addr #0

declare void @FreePool(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local range(i64 -9223372036854775808, 1) i64 @Ip6CreateService(ptr noundef %0, ptr noundef %1, ptr noundef writeonly %2) local_unnamed_addr #0 {
  %4 = tail call zeroext i8 @DebugAssertEnabled() #3
  %5 = icmp eq i8 %4, 0
  %6 = icmp ne ptr %2, null
  %or.cond = or i1 %6, %5
  br i1 %or.cond, label %8, label %7

7:                                                ; preds = %3
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 230, ptr noundef nonnull @.str.1) #3
  br label %8

8:                                                ; preds = %7, %3
  store ptr null, ptr %2, align 8, !tbaa !5
  %9 = tail call ptr @AllocateZeroPool(i64 noundef 4192) #3
  %10 = icmp eq ptr %9, null
  br i1 %10, label %154, label %11

11:                                               ; preds = %8
  store i32 1396068425, ptr %9, align 8, !tbaa !9
  %12 = getelementptr inbounds i8, ptr %9, i64 8
  store ptr @Ip6ServiceBindingCreateChild, ptr %12, align 8, !tbaa !30
  %13 = getelementptr inbounds i8, ptr %9, i64 16
  store ptr @Ip6ServiceBindingDestroyChild, ptr %13, align 8, !tbaa !31
  %14 = getelementptr inbounds i8, ptr %9, i64 24
  %15 = getelementptr inbounds i8, ptr %9, i64 40
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %14, i8 0, i64 16, i1 false)
  %16 = tail call ptr @InitializeListHead(ptr noundef nonnull %15) #3
  %17 = getelementptr inbounds i8, ptr %9, i64 56
  %18 = tail call ptr @InitializeListHead(ptr noundef nonnull %17) #3
  %19 = getelementptr inbounds i8, ptr %9, i64 72
  %20 = getelementptr inbounds i8, ptr %9, i64 80
  %21 = getelementptr inbounds i8, ptr %9, i64 88
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %19, i8 0, i64 16, i1 false)
  store i32 1379291209, ptr %21, align 8, !tbaa !32
  %22 = getelementptr inbounds i8, ptr %9, i64 96
  %23 = getelementptr inbounds i8, ptr %9, i64 112
  %24 = getelementptr inbounds i8, ptr %9, i64 120
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %22, i8 0, i64 24, i1 false)
  store i64 -9223372036854775802, ptr %24, align 8, !tbaa !33
  %25 = getelementptr inbounds i8, ptr %9, i64 128
  store ptr null, ptr %25, align 8, !tbaa !34
  %26 = getelementptr inbounds i8, ptr %9, i64 136
  tail call void @Ip6CreateAssembleTable(ptr noundef nonnull %26) #3
  %27 = getelementptr inbounds i8, ptr %9, i64 2168
  store i64 0, ptr %27, align 8, !tbaa !35
  %28 = getelementptr inbounds i8, ptr %9, i64 2176
  %29 = tail call ptr @InitializeListHead(ptr noundef nonnull %28) #3
  %30 = getelementptr inbounds i8, ptr %9, i64 2192
  %31 = tail call ptr @ZeroMem(ptr noundef nonnull %30, i64 noundef 16) #3
  %32 = getelementptr inbounds i8, ptr %9, i64 2208
  %33 = getelementptr inbounds i8, ptr %9, i64 2212
  store i32 0, ptr %32, align 8
  store i8 -1, ptr %33, align 4, !tbaa !36
  %34 = getelementptr inbounds i8, ptr %9, i64 2216
  store i32 1280, ptr %34, align 8, !tbaa !37
  %35 = getelementptr inbounds i8, ptr %9, i64 2220
  store i32 30000, ptr %35, align 4, !tbaa !38
  tail call void @Ip6UpdateReachableTime(ptr noundef nonnull %9) #3
  %36 = getelementptr inbounds i8, ptr %9, i64 2228
  store i32 1000, ptr %36, align 4, !tbaa !39
  %37 = getelementptr inbounds i8, ptr %9, i64 2296
  store i32 0, ptr %37, align 8, !tbaa !40
  %38 = getelementptr inbounds i8, ptr %9, i64 2232
  %39 = tail call ptr @InitializeListHead(ptr noundef nonnull %38) #3
  %40 = getelementptr inbounds i8, ptr %9, i64 2280
  %41 = tail call ptr @InitializeListHead(ptr noundef nonnull %40) #3
  %42 = getelementptr inbounds i8, ptr %9, i64 2248
  %43 = tail call ptr @InitializeListHead(ptr noundef nonnull %42) #3
  %44 = getelementptr inbounds i8, ptr %9, i64 2264
  %45 = tail call ptr @InitializeListHead(ptr noundef nonnull %44) #3
  %46 = getelementptr inbounds i8, ptr %9, i64 2300
  store i8 8, ptr %46, align 4, !tbaa !41
  %47 = getelementptr inbounds i8, ptr %9, i64 2304
  store ptr null, ptr %47, align 8, !tbaa !42
  %48 = getelementptr inbounds i8, ptr %9, i64 2312
  store i8 0, ptr %48, align 8, !tbaa !43
  %49 = getelementptr inbounds i8, ptr %9, i64 2313
  store i8 3, ptr %49, align 1, !tbaa !44
  %50 = getelementptr inbounds i8, ptr %9, i64 2316
  store i32 0, ptr %50, align 4, !tbaa !45
  %51 = getelementptr inbounds i8, ptr %9, i64 2320
  store ptr %1, ptr %51, align 8, !tbaa !46
  %52 = getelementptr inbounds i8, ptr %9, i64 2328
  store ptr %0, ptr %52, align 8, !tbaa !47
  %53 = getelementptr inbounds i8, ptr %9, i64 2336
  %54 = getelementptr inbounds i8, ptr %9, i64 2344
  %55 = getelementptr inbounds i8, ptr %9, i64 2360
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %53, i8 0, i64 24, i1 false)
  store i16 -31011, ptr %55, align 4, !tbaa !48
  %56 = getelementptr inbounds i8, ptr %9, i64 2362
  store <4 x i8> <i8 1, i8 1, i8 1, i8 0>, ptr %56, align 2, !tbaa !34
  %57 = getelementptr inbounds i8, ptr %9, i64 2366
  store i8 1, ptr %57, align 2, !tbaa !49
  %58 = getelementptr inbounds i8, ptr %9, i64 2367
  store i8 0, ptr %58, align 1, !tbaa !50
  %59 = getelementptr inbounds i8, ptr %9, i64 2368
  store i8 0, ptr %59, align 4, !tbaa !51
  %60 = getelementptr inbounds i8, ptr %9, i64 2372
  %61 = tail call ptr @ZeroMem(ptr noundef nonnull %60, i64 noundef 656) #3
  %62 = getelementptr inbounds i8, ptr %9, i64 3032
  %63 = getelementptr inbounds i8, ptr %9, i64 3040
  %64 = getelementptr inbounds i8, ptr %9, i64 3048
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %62, i8 0, i64 16, i1 false)
  %65 = tail call ptr @ZeroMem(ptr noundef nonnull %64, i64 noundef 1128) #3
  %66 = getelementptr inbounds i8, ptr %9, i64 4176
  store ptr null, ptr %66, align 8, !tbaa !52
  %67 = tail call ptr @Ip6CreateRouteTable() #3
  store ptr %67, ptr %20, align 8, !tbaa !53
  %68 = icmp eq ptr %67, null
  br i1 %68, label %152, label %69

69:                                               ; preds = %11
  %70 = load ptr, ptr @gBS, align 8, !tbaa !5
  %71 = getelementptr inbounds i8, ptr %70, i64 80
  %72 = load ptr, ptr %71, align 8, !tbaa !54
  %73 = tail call i64 %72(i32 noundef -2147483136, i64 noundef 8, ptr noundef nonnull @Ip6TimerTicking, ptr noundef nonnull %9, ptr noundef nonnull %62) #3
  %74 = icmp slt i64 %73, 0
  br i1 %74, label %152, label %75

75:                                               ; preds = %69
  %76 = load ptr, ptr @gBS, align 8, !tbaa !5
  %77 = getelementptr inbounds i8, ptr %76, i64 80
  %78 = load ptr, ptr %77, align 8, !tbaa !54
  %79 = tail call i64 %78(i32 noundef -2147483136, i64 noundef 8, ptr noundef nonnull @Ip6NdFasterTimerTicking, ptr noundef nonnull %9, ptr noundef nonnull %63) #3
  %80 = icmp slt i64 %79, 0
  br i1 %80, label %152, label %81

81:                                               ; preds = %75
  %82 = tail call i64 @NetLibCreateServiceChild(ptr noundef %0, ptr noundef %1, ptr noundef nonnull @gEfiManagedNetworkServiceBindingProtocolGuid, ptr noundef nonnull %53) #3
  %83 = icmp slt i64 %82, 0
  br i1 %83, label %152, label %84

84:                                               ; preds = %81
  %85 = load ptr, ptr @gBS, align 8, !tbaa !5
  %86 = getelementptr inbounds i8, ptr %85, i64 280
  %87 = load ptr, ptr %86, align 8, !tbaa !57
  %88 = load ptr, ptr %53, align 8, !tbaa !58
  %89 = tail call i64 %87(ptr noundef %88, ptr noundef nonnull @gEfiManagedNetworkProtocolGuid, ptr noundef nonnull %54, ptr noundef %1, ptr noundef %0, i32 noundef 16) #3
  %90 = icmp slt i64 %89, 0
  br i1 %90, label %152, label %91

91:                                               ; preds = %84
  %92 = tail call i64 @Ip6ServiceConfigMnp(ptr noundef nonnull %9, i8 noundef zeroext 1) #3
  %93 = icmp slt i64 %92, 0
  br i1 %93, label %152, label %94

94:                                               ; preds = %91
  %95 = load ptr, ptr %54, align 8, !tbaa !59
  %96 = load ptr, ptr %95, align 8, !tbaa !60
  %97 = tail call i64 %96(ptr noundef nonnull %95, ptr noundef null, ptr noundef nonnull %60) #3
  %98 = icmp slt i64 %97, 0
  br i1 %98, label %152, label %99

99:                                               ; preds = %94
  %100 = getelementptr inbounds i8, ptr %9, i64 4184
  store i32 1240, ptr %100, align 8, !tbaa !62
  %101 = load ptr, ptr %52, align 8, !tbaa !47
  %102 = tail call zeroext i16 @NetLibGetVlanId(ptr noundef %101) #3
  %.not = icmp eq i16 %102, 0
  %.pre = load i32, ptr %100, align 8, !tbaa !62
  br i1 %.not, label %105, label %103

103:                                              ; preds = %99
  %104 = add i32 %.pre, -4
  store i32 %104, ptr %100, align 8, !tbaa !62
  br label %105

105:                                              ; preds = %103, %99
  %106 = phi i32 [ %104, %103 ], [ %.pre, %99 ]
  %107 = getelementptr inbounds i8, ptr %9, i64 4188
  store i32 %106, ptr %107, align 4, !tbaa !63
  %108 = getelementptr inbounds i8, ptr %9, i64 3020
  %109 = load i8, ptr %108, align 4, !tbaa !64
  %.not141 = icmp eq i8 %109, 1
  br i1 %.not141, label %110, label %152

110:                                              ; preds = %105
  %111 = tail call i64 @Ip6InitMld(ptr noundef nonnull %9) #3
  %112 = icmp slt i64 %111, 0
  br i1 %112, label %152, label %113

113:                                              ; preds = %110
  %114 = load ptr, ptr %52, align 8, !tbaa !47
  %115 = load ptr, ptr %51, align 8, !tbaa !46
  %116 = tail call i64 @NetLibGetMacString(ptr noundef %114, ptr noundef %115, ptr noundef nonnull %66) #3
  %117 = icmp slt i64 %116, 0
  br i1 %117, label %152, label %118

118:                                              ; preds = %113
  %119 = tail call i64 @Ip6ConfigInitInstance(ptr noundef nonnull %64) #3
  %120 = icmp slt i64 %119, 0
  br i1 %120, label %152, label %121

121:                                              ; preds = %118
  %122 = tail call ptr @Ip6CreateInterface(ptr noundef nonnull %9, i8 noundef zeroext 1) #3
  store ptr %122, ptr %19, align 8, !tbaa !65
  %123 = icmp eq ptr %122, null
  br i1 %123, label %152, label %124

124:                                              ; preds = %121
  %125 = load ptr, ptr @gBS, align 8, !tbaa !5
  %126 = getelementptr inbounds i8, ptr %125, i64 80
  %127 = load ptr, ptr %126, align 8, !tbaa !54
  %128 = tail call i64 %127(i32 noundef 512, i64 noundef 16, ptr noundef nonnull @Ip6OnFrameReceived, ptr noundef nonnull %21, ptr noundef nonnull %23) #3
  %129 = icmp slt i64 %128, 0
  br i1 %129, label %152, label %130

130:                                              ; preds = %124
  %131 = getelementptr inbounds i8, ptr %9, i64 3656
  %132 = load ptr, ptr %131, align 8, !tbaa !34
  %.not142 = icmp eq ptr %132, null
  br i1 %.not142, label %139, label %133

133:                                              ; preds = %130
  %134 = getelementptr inbounds i8, ptr %9, i64 3584
  %135 = load ptr, ptr %134, align 8, !tbaa !66
  %136 = getelementptr inbounds i8, ptr %9, i64 3664
  %137 = load i64, ptr %136, align 8, !tbaa !68
  %138 = tail call i64 %135(ptr noundef nonnull %64, i64 noundef %137, ptr noundef nonnull %132) #3
  br label %139

139:                                              ; preds = %133, %130
  %140 = getelementptr inbounds i8, ptr %9, i64 3744
  %141 = load ptr, ptr %140, align 8, !tbaa !34
  %.not143 = icmp eq ptr %141, null
  br i1 %.not143, label %148, label %142

142:                                              ; preds = %139
  %143 = getelementptr inbounds i8, ptr %9, i64 3672
  %144 = load ptr, ptr %143, align 8, !tbaa !66
  %145 = getelementptr inbounds i8, ptr %9, i64 3752
  %146 = load i64, ptr %145, align 8, !tbaa !68
  %147 = tail call i64 %144(ptr noundef nonnull %64, i64 noundef %146, ptr noundef nonnull %141) #3
  br label %148

148:                                              ; preds = %142, %139
  %149 = load ptr, ptr %19, align 8, !tbaa !65
  %150 = getelementptr inbounds i8, ptr %149, i64 8
  %151 = tail call ptr @InsertHeadList(ptr noundef nonnull %17, ptr noundef nonnull %150) #3
  store ptr %9, ptr %2, align 8, !tbaa !5
  br label %154

152:                                              ; preds = %121, %105, %11, %124, %118, %113, %110, %94, %91, %84, %81, %75, %69
  %.0127 = phi i64 [ %73, %69 ], [ %79, %75 ], [ %82, %81 ], [ %89, %84 ], [ %92, %91 ], [ %97, %94 ], [ %111, %110 ], [ %116, %113 ], [ %119, %118 ], [ %128, %124 ], [ -9223372036854775799, %11 ], [ -9223372036854775805, %105 ], [ -9223372036854775801, %121 ]
  %153 = tail call i64 @Ip6CleanService(ptr noundef nonnull %9)
  tail call void @FreePool(ptr noundef nonnull %9) #3
  br label %154

154:                                              ; preds = %8, %152, %148
  %.0 = phi i64 [ %.0127, %152 ], [ 0, %148 ], [ -9223372036854775799, %8 ]
  ret i64 %.0
}

declare zeroext i8 @DebugAssertEnabled() local_unnamed_addr #1

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

declare ptr @AllocateZeroPool(i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i64 @Ip6ServiceBindingCreateChild(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i64 @Ip6ServiceBindingDestroyChild(ptr noundef, ptr noundef) #0

declare ptr @InitializeListHead(ptr noundef) local_unnamed_addr #1

declare void @Ip6CreateAssembleTable(ptr noundef) local_unnamed_addr #1

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

declare void @Ip6UpdateReachableTime(ptr noundef) local_unnamed_addr #1

declare ptr @Ip6CreateRouteTable() local_unnamed_addr #1

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

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

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

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

declare zeroext i16 @NetLibGetVlanId(ptr noundef) local_unnamed_addr #1

declare i64 @Ip6InitMld(ptr noundef) local_unnamed_addr #1

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

declare i64 @Ip6ConfigInitInstance(ptr noundef) local_unnamed_addr #1

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

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

declare ptr @InsertHeadList(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_IP6_SERVICE", !11, i64 0, !12, i64 8, !13, i64 24, !13, i64 32, !14, i64 40, !14, i64 56, !6, i64 72, !6, i64 80, !15, i64 88, !17, i64 136, !18, i64 2168, !17, i64 2192, !7, i64 2208, !7, i64 2209, !7, i64 2210, !7, i64 2211, !7, i64 2212, !11, i64 2216, !11, i64 2220, !11, i64 2224, !11, i64 2228, !14, i64 2232, !14, i64 2248, !14, i64 2264, !14, i64 2280, !11, i64 2296, !7, i64 2300, !6, i64 2304, !7, i64 2312, !7, i64 2313, !11, i64 2316, !6, i64 2320, !6, i64 2328, !6, i64 2336, !6, i64 2344, !19, i64 2352, !21, i64 2372, !6, i64 3032, !6, i64 3040, !22, i64 3048, !6, i64 4176, !11, i64 4184, !11, i64 4188}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_EFI_SERVICE_BINDING_PROTOCOL", !6, i64 0, !6, i64 8}
!13 = !{!"long long", !7, i64 0}
!14 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!15 = !{!"", !11, i64 0, !6, i64 8, !6, i64 16, !16, i64 24}
!16 = !{!"", !6, i64 0, !13, i64 8, !7, i64 16}
!17 = !{!"", !7, i64 0}
!18 = !{!"", !13, i64 0, !14, i64 8}
!19 = !{!"", !11, i64 0, !11, i64 4, !20, i64 8, !7, i64 10, !7, i64 11, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16}
!20 = !{!"short", !7, i64 0}
!21 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !7, i64 40, !17, i64 552, !17, i64 584, !17, i64 616, !7, i64 648, !7, i64 649, !7, i64 650, !7, i64 651, !7, i64 652}
!22 = !{!"_IP6_CONFIG_INSTANCE", !11, i64 0, !7, i64 4, !14, i64 8, !20, i64 24, !23, i64 32, !17, i64 168, !11, i64 176, !24, i64 180, !7, i64 184, !25, i64 800, !25, i64 840, !26, i64 880, !6, i64 912, !6, i64 920, !6, i64 928, !6, i64 936, !7, i64 944, !11, i64 948, !6, i64 952, !11, i64 960, !6, i64 968, !11, i64 976, !27, i64 984, !29, i64 1040}
!23 = !{!"", !7, i64 0, !7, i64 64, !11, i64 68, !17, i64 72, !11, i64 104, !6, i64 112, !11, i64 120, !6, i64 128}
!24 = !{!"", !11, i64 0}
!25 = !{!"", !14, i64 0, !14, i64 16, !13, i64 32}
!26 = !{!"_EFI_IP6_CONFIG_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!27 = !{!"_IP6_FORM_CALLBACK_INFO", !11, i64 0, !6, i64 8, !28, i64 16, !6, i64 40, !6, i64 48}
!28 = !{!"_EFI_HII_CONFIG_ACCESS_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!"", !11, i64 0, !24, i64 4, !17, i64 8, !14, i64 16, !11, i64 32, !14, i64 40, !11, i64 56, !14, i64 64, !11, i64 80}
!30 = !{!10, !6, i64 8}
!31 = !{!10, !6, i64 16}
!32 = !{!10, !11, i64 88}
!33 = !{!16, !13, i64 8}
!34 = !{!7, !7, i64 0}
!35 = !{!10, !13, i64 2168}
!36 = !{!10, !7, i64 2212}
!37 = !{!10, !11, i64 2216}
!38 = !{!10, !11, i64 2220}
!39 = !{!10, !11, i64 2228}
!40 = !{!10, !11, i64 2296}
!41 = !{!10, !7, i64 2300}
!42 = !{!10, !6, i64 2304}
!43 = !{!10, !7, i64 2312}
!44 = !{!10, !7, i64 2313}
!45 = !{!10, !11, i64 2316}
!46 = !{!10, !6, i64 2320}
!47 = !{!10, !6, i64 2328}
!48 = !{!19, !20, i64 8}
!49 = !{!19, !7, i64 14}
!50 = !{!19, !7, i64 15}
!51 = !{!19, !7, i64 16}
!52 = !{!10, !6, i64 4176}
!53 = !{!10, !6, i64 80}
!54 = !{!55, !6, i64 80}
!55 = !{!"", !56, 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}
!56 = !{!"", !13, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!57 = !{!55, !6, i64 280}
!58 = !{!10, !6, i64 2336}
!59 = !{!10, !6, i64 2344}
!60 = !{!61, !6, i64 0}
!61 = !{!"_EFI_MANAGED_NETWORK_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}
!62 = !{!10, !11, i64 4184}
!63 = !{!10, !11, i64 4188}
!64 = !{!10, !7, i64 3020}
!65 = !{!10, !6, i64 72}
!66 = !{!67, !6, i64 0}
!67 = !{!"", !6, i64 0, !6, i64 8, !13, i64 16, !7, i64 24, !25, i64 32, !7, i64 72, !13, i64 80}
!68 = !{!67, !13, i64 80}


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