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

; 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_MODE_DATA = type { ptr, ptr }
%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._LIST_ENTRY = type { ptr, ptr }
%struct.EFI_IP6_CONFIG_INTERFACE_INFO = type { [32 x i16], i8, i32, %struct.EFI_MAC_ADDRESS, i32, ptr, i32, ptr }
%struct.EFI_MAC_ADDRESS = type { [32 x i8] }
%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._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.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_DHCP6_IA = type { %struct.EFI_DHCP6_IA_DESCRIPTOR, i32, ptr, i32, [1 x %struct.EFI_DHCP6_IA_ADDRESS] }
%struct.EFI_DHCP6_IA_DESCRIPTOR = type { i16, i32 }
%struct.EFI_DHCP6_IA_ADDRESS = type { %struct.EFI_IPv6_ADDRESS, i32, i32 }
%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._IP6_ADDRESS_INFO = type { i32, %struct._LIST_ENTRY, %struct.EFI_IPv6_ADDRESS, i8, i8, i32, i32 }

@.str = external hidden unnamed_addr constant [135 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [25 x i8], align 1

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

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

declare zeroext i8 @DebugAssertEnabled() #1

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

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

declare ptr @AllocatePool(i64 noundef) #1

declare void @FreePool(ptr noundef) #1

declare zeroext i8 @Ip6IsOneOfSetAddress(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

declare i64 @Ip6SetAddress(ptr noundef, ptr noundef, i8 noundef zeroext, i8 noundef zeroext, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1

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

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

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

21:                                               ; preds = %2
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct._IP6_CONFIG_INSTANCE, ptr %22, i32 0, i32 16
  %24 = load i8, ptr %23, align 8, !tbaa !23
  %25 = zext i8 %24 to i32
  %26 = icmp ne i32 %25, 0
  br i1 %26, label %27, label %28

27:                                               ; preds = %21, %2
  store i32 1, ptr %15, align 4
  br label %197

28:                                               ; preds = %21
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct._IP6_CONFIG_INSTANCE, ptr %29, i32 0, i32 15
  %31 = load ptr, ptr %30, align 8, !tbaa !24
  store ptr %31, ptr %6, align 8, !tbaa !5
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct._EFI_DHCP6_PROTOCOL, ptr %32, i32 0, i32 0
  %34 = load ptr, ptr %33, align 8, !tbaa !25
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = call i64 %34(ptr noundef %35, ptr noundef %8, ptr noundef null)
  store i64 %36, ptr %7, align 8, !tbaa !27
  %37 = load i64, ptr %7, align 8, !tbaa !27
  %38 = icmp slt i64 %37, 0
  br i1 %38, label %39, label %40

39:                                               ; preds = %28
  store i32 1, ptr %15, align 4
  br label %197

40:                                               ; preds = %28
  %41 = call zeroext i8 @DebugAssertEnabled()
  %42 = zext i8 %41 to i32
  %43 = icmp ne i32 %42, 0
  br i1 %43, label %44, label %54

44:                                               ; preds = %40
  %45 = load ptr, ptr %5, align 8, !tbaa !5
  %46 = ptrtoint ptr %45 to i64
  %47 = sub i64 %46, ptrtoint (ptr getelementptr inbounds (%struct._IP6_SERVICE, ptr null, i32 0, i32 39) to i64)
  %48 = inttoptr i64 %47 to ptr
  %49 = getelementptr inbounds %struct._IP6_SERVICE, ptr %48, i32 0, i32 0
  %50 = load i32, ptr %49, align 8, !tbaa !28
  %51 = icmp ne i32 %50, 1396068425
  br i1 %51, label %52, label %54

52:                                               ; preds = %44
  call void @DebugAssert(ptr noundef @.str, i64 noundef 1657, ptr noundef @.str.1)
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  br label %59

54:                                               ; preds = %44, %40
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = ptrtoint ptr %55 to i64
  %57 = sub i64 %56, ptrtoint (ptr getelementptr inbounds (%struct._IP6_SERVICE, ptr null, i32 0, i32 39) to i64)
  %58 = inttoptr i64 %57 to ptr
  br label %59

59:                                               ; preds = %54, %52
  %60 = phi ptr [ %53, %52 ], [ %58, %54 ]
  store ptr %60, ptr %12, align 8, !tbaa !5
  %61 = load ptr, ptr %12, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct._IP6_SERVICE, ptr %61, i32 0, i32 6
  %63 = load ptr, ptr %62, align 8, !tbaa !36
  store ptr %63, ptr %14, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.EFI_DHCP6_MODE_DATA, ptr %8, i32 0, i32 1
  %65 = load ptr, ptr %64, align 8, !tbaa !37
  store ptr %65, ptr %9, align 8, !tbaa !5
  %66 = load ptr, ptr %9, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.EFI_DHCP6_IA, ptr %66, i32 0, i32 4
  %68 = getelementptr inbounds [1 x %struct.EFI_DHCP6_IA_ADDRESS], ptr %67, i64 0, i64 0
  store ptr %68, ptr %10, align 8, !tbaa !5
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct._IP6_CONFIG_INSTANCE, ptr %69, i32 0, i32 20
  %71 = load ptr, ptr %70, align 8, !tbaa !39
  %72 = icmp ne ptr %71, null
  br i1 %72, label %73, label %77

73:                                               ; preds = %59
  %74 = load ptr, ptr %5, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct._IP6_CONFIG_INSTANCE, ptr %74, i32 0, i32 20
  %76 = load ptr, ptr %75, align 8, !tbaa !39
  call void @FreePool(ptr noundef %76)
  br label %77

77:                                               ; preds = %73, %59
  %78 = load ptr, ptr %9, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.EFI_DHCP6_IA, ptr %78, i32 0, i32 3
  %80 = load i32, ptr %79, align 8, !tbaa !40
  %81 = zext i32 %80 to i64
  %82 = mul i64 %81, 16
  %83 = call ptr @AllocatePool(i64 noundef %82)
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct._IP6_CONFIG_INSTANCE, ptr %84, i32 0, i32 20
  store ptr %83, ptr %85, align 8, !tbaa !39
  %86 = load ptr, ptr %5, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct._IP6_CONFIG_INSTANCE, ptr %86, i32 0, i32 20
  %88 = load ptr, ptr %87, align 8, !tbaa !39
  %89 = icmp eq ptr %88, null
  br i1 %89, label %90, label %91

90:                                               ; preds = %77
  br label %192

91:                                               ; preds = %77
  %92 = load ptr, ptr %9, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.EFI_DHCP6_IA, ptr %92, i32 0, i32 3
  %94 = load i32, ptr %93, align 8, !tbaa !40
  %95 = load ptr, ptr %5, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct._IP6_CONFIG_INSTANCE, ptr %95, i32 0, i32 19
  store i32 %94, ptr %96, align 8, !tbaa !43
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct._IP6_CONFIG_INSTANCE, ptr %97, i32 0, i32 21
  store i32 0, ptr %98, align 8, !tbaa !44
  store i32 0, ptr %11, align 4, !tbaa !45
  br label %99

99:                                               ; preds = %172, %91
  %100 = load i32, ptr %11, align 4, !tbaa !45
  %101 = load ptr, ptr %9, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.EFI_DHCP6_IA, ptr %101, i32 0, i32 3
  %103 = load i32, ptr %102, align 8, !tbaa !40
  %104 = icmp ult i32 %100, %103
  br i1 %104, label %105, label %177

105:                                              ; preds = %99
  %106 = load ptr, ptr %9, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.EFI_DHCP6_IA, ptr %106, i32 0, i32 4
  %108 = load i32, ptr %11, align 4, !tbaa !45
  %109 = zext i32 %108 to i64
  %110 = getelementptr inbounds [1 x %struct.EFI_DHCP6_IA_ADDRESS], ptr %107, i64 0, i64 %109
  %111 = getelementptr inbounds %struct.EFI_DHCP6_IA_ADDRESS, ptr %110, i32 0, i32 2
  %112 = load i32, ptr %111, align 4, !tbaa !46
  %113 = icmp ne i32 %112, 0
  br i1 %113, label %114, label %131

114:                                              ; preds = %105
  %115 = load ptr, ptr %9, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.EFI_DHCP6_IA, ptr %115, i32 0, i32 1
  %117 = load i32, ptr %116, align 8, !tbaa !48
  %118 = icmp eq i32 %117, 6
  br i1 %118, label %119, label %131

119:                                              ; preds = %114
  %120 = load ptr, ptr %14, align 8, !tbaa !5
  %121 = load ptr, ptr %10, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.EFI_DHCP6_IA_ADDRESS, ptr %121, i32 0, i32 0
  %123 = load ptr, ptr %10, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.EFI_DHCP6_IA_ADDRESS, ptr %123, i32 0, i32 2
  %125 = load i32, ptr %124, align 4, !tbaa !46
  %126 = load ptr, ptr %10, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.EFI_DHCP6_IA_ADDRESS, ptr %126, i32 0, i32 1
  %128 = load i32, ptr %127, align 4, !tbaa !49
  %129 = load ptr, ptr %5, align 8, !tbaa !5
  %130 = call i64 @Ip6SetAddress(ptr noundef %120, ptr noundef %122, i8 noundef zeroext 0, i8 noundef zeroext 0, i32 noundef %125, i32 noundef %128, ptr noundef @Ip6ConfigSetStatefulAddrCallback, ptr noundef %129)
  br label %171

131:                                              ; preds = %114, %105
  %132 = load ptr, ptr %12, align 8, !tbaa !5
  %133 = load ptr, ptr %10, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.EFI_DHCP6_IA_ADDRESS, ptr %133, i32 0, i32 0
  %135 = call zeroext i8 @Ip6IsOneOfSetAddress(ptr noundef %132, ptr noundef %134, ptr noundef null, ptr noundef %13)
  %136 = icmp ne i8 %135, 0
  br i1 %136, label %137, label %160

137:                                              ; preds = %131
  br label %138

138:                                              ; preds = %137
  %139 = call zeroext i8 @DebugAssertEnabled()
  %140 = icmp ne i8 %139, 0
  br i1 %140, label %141, label %146

141:                                              ; preds = %138
  %142 = load ptr, ptr %13, align 8, !tbaa !5
  %143 = icmp ne ptr %142, null
  br i1 %143, label %145, label %144

144:                                              ; preds = %141
  call void @DebugAssert(ptr noundef @.str, i64 noundef 1696, ptr noundef @.str.11)
  br label %145

145:                                              ; preds = %144, %141
  br label %146

146:                                              ; preds = %145, %138
  br label %147

147:                                              ; preds = %146
  br label %148

148:                                              ; preds = %147
  %149 = load ptr, ptr %12, align 8, !tbaa !5
  %150 = load ptr, ptr %14, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct._IP6_INTERFACE, ptr %150, i32 0, i32 3
  %152 = load ptr, ptr %14, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct._IP6_INTERFACE, ptr %152, i32 0, i32 4
  %154 = load ptr, ptr %13, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct._IP6_ADDRESS_INFO, ptr %154, i32 0, i32 2
  %156 = load ptr, ptr %13, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct._IP6_ADDRESS_INFO, ptr %156, i32 0, i32 4
  %158 = load i8, ptr %157, align 1, !tbaa !50
  %159 = call i64 @Ip6RemoveAddr(ptr noundef %149, ptr noundef %151, ptr noundef %153, ptr noundef %155, i8 noundef zeroext %158)
  br label %160

160:                                              ; preds = %148, %131
  %161 = load ptr, ptr %5, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct._IP6_CONFIG_INSTANCE, ptr %161, i32 0, i32 19
  %163 = load i32, ptr %162, align 8, !tbaa !43
  %164 = icmp ugt i32 %163, 0
  br i1 %164, label %165, label %170

165:                                              ; preds = %160
  %166 = load ptr, ptr %5, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct._IP6_CONFIG_INSTANCE, ptr %166, i32 0, i32 19
  %168 = load i32, ptr %167, align 8, !tbaa !43
  %169 = add i32 %168, -1
  store i32 %169, ptr %167, align 8, !tbaa !43
  br label %170

170:                                              ; preds = %165, %160
  br label %171

171:                                              ; preds = %170, %119
  br label %172

172:                                              ; preds = %171
  %173 = load i32, ptr %11, align 4, !tbaa !45
  %174 = add i32 %173, 1
  store i32 %174, ptr %11, align 4, !tbaa !45
  %175 = load ptr, ptr %10, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.EFI_DHCP6_IA_ADDRESS, ptr %175, i32 1
  store ptr %176, ptr %10, align 8, !tbaa !5
  br label %99, !llvm.loop !52

177:                                              ; preds = %99
  %178 = getelementptr inbounds %struct.EFI_DHCP6_MODE_DATA, ptr %8, i32 0, i32 1
  %179 = load ptr, ptr %178, align 8, !tbaa !37
  %180 = getelementptr inbounds %struct.EFI_DHCP6_IA, ptr %179, i32 0, i32 2
  %181 = load ptr, ptr %180, align 8, !tbaa !54
  %182 = icmp ne ptr %181, null
  br i1 %182, label %183, label %191

183:                                              ; preds = %177
  %184 = load ptr, ptr %6, align 8, !tbaa !5
  %185 = load ptr, ptr %5, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.EFI_DHCP6_MODE_DATA, ptr %8, i32 0, i32 1
  %187 = load ptr, ptr %186, align 8, !tbaa !37
  %188 = getelementptr inbounds %struct.EFI_DHCP6_IA, ptr %187, i32 0, i32 2
  %189 = load ptr, ptr %188, align 8, !tbaa !54
  %190 = call i64 @Ip6ConfigParseDhcpReply(ptr noundef %184, ptr noundef %185, ptr noundef %189)
  br label %191

191:                                              ; preds = %183, %177
  br label %192

192:                                              ; preds = %191, %90
  %193 = getelementptr inbounds %struct.EFI_DHCP6_MODE_DATA, ptr %8, i32 0, i32 0
  %194 = load ptr, ptr %193, align 8, !tbaa !55
  call void @FreePool(ptr noundef %194)
  %195 = getelementptr inbounds %struct.EFI_DHCP6_MODE_DATA, ptr %8, i32 0, i32 1
  %196 = load ptr, ptr %195, align 8, !tbaa !37
  call void @FreePool(ptr noundef %196)
  store i32 0, ptr %15, align 4
  br label %197

197:                                              ; preds = %192, %39, %27
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, 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 16, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  %198 = load i32, ptr %15, align 4
  switch i32 %198, label %200 [
    i32 0, label %199
    i32 1, label %199
  ]

199:                                              ; preds = %197, %197
  ret void

200:                                              ; preds = %197
  unreachable
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 176}
!10 = !{!"_IP6_CONFIG_INSTANCE", !11, i64 0, !7, i64 4, !12, i64 8, !13, i64 24, !14, i64 32, !15, i64 168, !11, i64 176, !16, i64 180, !7, i64 184, !17, i64 800, !17, i64 840, !19, 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, !20, i64 984, !22, i64 1040}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!13 = !{!"short", !7, i64 0}
!14 = !{!"", !7, i64 0, !7, i64 64, !11, i64 68, !15, i64 72, !11, i64 104, !6, i64 112, !11, i64 120, !6, i64 128}
!15 = !{!"", !7, i64 0}
!16 = !{!"", !11, i64 0}
!17 = !{!"", !12, i64 0, !12, i64 16, !18, i64 32}
!18 = !{!"long long", !7, i64 0}
!19 = !{!"_EFI_IP6_CONFIG_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!20 = !{!"_IP6_FORM_CALLBACK_INFO", !11, i64 0, !6, i64 8, !21, i64 16, !6, i64 40, !6, i64 48}
!21 = !{!"_EFI_HII_CONFIG_ACCESS_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"", !11, i64 0, !16, i64 4, !15, i64 8, !12, i64 16, !11, i64 32, !12, i64 40, !11, i64 56, !12, i64 64, !11, i64 80}
!23 = !{!10, !7, i64 944}
!24 = !{!10, !6, i64 936}
!25 = !{!26, !6, i64 0}
!26 = !{!"_EFI_DHCP6_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64}
!27 = !{!18, !18, i64 0}
!28 = !{!29, !11, i64 0}
!29 = !{!"_IP6_SERVICE", !11, i64 0, !30, i64 8, !18, i64 24, !18, i64 32, !12, i64 40, !12, i64 56, !6, i64 72, !6, i64 80, !31, i64 88, !15, i64 136, !33, i64 2168, !15, 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, !12, i64 2232, !12, i64 2248, !12, i64 2264, !12, 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, !34, i64 2352, !35, i64 2372, !6, i64 3032, !6, i64 3040, !10, i64 3048, !6, i64 4176, !11, i64 4184, !11, i64 4188}
!30 = !{!"_EFI_SERVICE_BINDING_PROTOCOL", !6, i64 0, !6, i64 8}
!31 = !{!"", !11, i64 0, !6, i64 8, !6, i64 16, !32, i64 24}
!32 = !{!"", !6, i64 0, !18, i64 8, !7, i64 16}
!33 = !{!"", !18, i64 0, !12, i64 8}
!34 = !{!"", !11, i64 0, !11, i64 4, !13, i64 8, !7, i64 10, !7, i64 11, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16}
!35 = !{!"", !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, !15, i64 552, !15, i64 584, !15, i64 616, !7, i64 648, !7, i64 649, !7, i64 650, !7, i64 651, !7, i64 652}
!36 = !{!29, !6, i64 72}
!37 = !{!38, !6, i64 8}
!38 = !{!"", !6, i64 0, !6, i64 8}
!39 = !{!10, !6, i64 968}
!40 = !{!41, !11, i64 24}
!41 = !{!"", !42, i64 0, !11, i64 8, !6, i64 16, !11, i64 24, !7, i64 28}
!42 = !{!"", !13, i64 0, !11, i64 4}
!43 = !{!10, !11, i64 960}
!44 = !{!10, !11, i64 976}
!45 = !{!11, !11, i64 0}
!46 = !{!47, !11, i64 20}
!47 = !{!"", !15, i64 0, !11, i64 16, !11, i64 20}
!48 = !{!41, !11, i64 8}
!49 = !{!47, !11, i64 16}
!50 = !{!51, !7, i64 41}
!51 = !{!"_IP6_ADDRESS_INFO", !11, i64 0, !12, i64 8, !15, i64 24, !7, i64 40, !7, i64 41, !11, i64 44, !11, i64 48}
!52 = distinct !{!52, !53}
!53 = !{!"llvm.loop.mustprogress"}
!54 = !{!41, !6, i64 16}
!55 = !{!38, !6, i64 0}


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

@.str = external hidden unnamed_addr constant [135 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [25 x i8], align 1

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

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

declare zeroext i8 @DebugAssertEnabled() local_unnamed_addr #1

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

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

declare ptr @AllocatePool(i64 noundef) local_unnamed_addr #1

declare void @FreePool(ptr noundef) local_unnamed_addr #1

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

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

; Function Attrs: nounwind uwtable
declare dso_local i64 @Ip6ConfigParseDhcpReply(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local void @Ip6ConfigOnDhcp6Event(ptr nocapture noundef readnone %0, ptr noundef %1) local_unnamed_addr #2 {
  %3 = alloca %struct.EFI_DHCP6_MODE_DATA, align 8
  %4 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
  %5 = getelementptr inbounds i8, ptr %1, i64 176
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %.not = icmp eq i32 %6, 1
  br i1 %.not, label %7, label %87

7:                                                ; preds = %2
  %8 = getelementptr inbounds i8, ptr %1, i64 944
  %9 = load i8, ptr %8, align 8, !tbaa !22
  %.not45 = icmp eq i8 %9, 0
  br i1 %.not45, label %10, label %87

10:                                               ; preds = %7
  %11 = getelementptr inbounds i8, ptr %1, i64 936
  %12 = load ptr, ptr %11, align 8, !tbaa !23
  %13 = load ptr, ptr %12, align 8, !tbaa !24
  %14 = call i64 %13(ptr noundef nonnull %12, ptr noundef nonnull %3, ptr noundef null) #3
  %15 = icmp slt i64 %14, 0
  br i1 %15, label %87, label %16

16:                                               ; preds = %10
  %17 = call zeroext i8 @DebugAssertEnabled() #3
  %.not46 = icmp eq i8 %17, 0
  %.pre58 = ptrtoint ptr %1 to i64
  %.pre59 = add i64 %.pre58, -3048
  %.pre61 = inttoptr i64 %.pre59 to ptr
  br i1 %.not46, label %._crit_edge57, label %18

18:                                               ; preds = %16
  %19 = load i32, ptr %.pre61, align 8, !tbaa !26
  %.not47 = icmp eq i32 %19, 1396068425
  br i1 %.not47, label %._crit_edge57, label %20

20:                                               ; preds = %18
  call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 1657, ptr noundef nonnull @.str.1) #3
  br label %._crit_edge57

._crit_edge57:                                    ; preds = %16, %18, %20
  %21 = phi ptr [ %1, %20 ], [ %.pre61, %18 ], [ %.pre61, %16 ]
  %22 = getelementptr inbounds i8, ptr %21, i64 72
  %23 = load ptr, ptr %22, align 8, !tbaa !34
  %24 = getelementptr inbounds i8, ptr %3, i64 8
  %25 = load ptr, ptr %24, align 8, !tbaa !35
  %26 = getelementptr inbounds i8, ptr %25, i64 28
  %27 = getelementptr inbounds i8, ptr %1, i64 968
  %28 = load ptr, ptr %27, align 8, !tbaa !37
  %.not48 = icmp eq ptr %28, null
  br i1 %.not48, label %30, label %29

29:                                               ; preds = %._crit_edge57
  call void @FreePool(ptr noundef nonnull %28) #3
  br label %30

30:                                               ; preds = %29, %._crit_edge57
  %31 = getelementptr inbounds i8, ptr %25, i64 24
  %32 = load i32, ptr %31, align 8, !tbaa !38
  %33 = zext i32 %32 to i64
  %34 = shl nuw nsw i64 %33, 4
  %35 = call ptr @AllocatePool(i64 noundef %34) #3
  store ptr %35, ptr %27, align 8, !tbaa !37
  %36 = icmp eq ptr %35, null
  br i1 %36, label %84, label %37

37:                                               ; preds = %30
  %38 = load i32, ptr %31, align 8, !tbaa !38
  %39 = getelementptr inbounds i8, ptr %1, i64 960
  store i32 %38, ptr %39, align 8, !tbaa !41
  %40 = getelementptr inbounds i8, ptr %1, i64 976
  store i32 0, ptr %40, align 8, !tbaa !42
  %.not55 = icmp eq i32 %38, 0
  br i1 %.not55, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %37
  %41 = getelementptr inbounds i8, ptr %25, i64 8
  %42 = getelementptr inbounds i8, ptr %23, i64 32
  %43 = getelementptr inbounds i8, ptr %23, i64 48
  br label %44

44:                                               ; preds = %.lr.ph, %74
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %74 ]
  %.054 = phi ptr [ %26, %.lr.ph ], [ %75, %74 ]
  %45 = getelementptr inbounds [1 x %struct.EFI_DHCP6_IA_ADDRESS], ptr %26, i64 0, i64 %indvars.iv, i32 2
  %46 = load i32, ptr %45, align 4, !tbaa !43
  %.not50 = icmp eq i32 %46, 0
  br i1 %.not50, label %56, label %47

47:                                               ; preds = %44
  %48 = load i32, ptr %41, align 8, !tbaa !45
  %49 = icmp eq i32 %48, 6
  br i1 %49, label %50, label %56

50:                                               ; preds = %47
  %51 = getelementptr inbounds i8, ptr %.054, i64 20
  %52 = load i32, ptr %51, align 4, !tbaa !43
  %53 = getelementptr inbounds i8, ptr %.054, i64 16
  %54 = load i32, ptr %53, align 4, !tbaa !46
  %55 = call i64 @Ip6SetAddress(ptr noundef %23, ptr noundef nonnull %.054, i8 noundef zeroext 0, i8 noundef zeroext 0, i32 noundef %52, i32 noundef %54, ptr noundef nonnull @Ip6ConfigSetStatefulAddrCallback, ptr noundef %1) #3
  br label %74

56:                                               ; preds = %47, %44
  %57 = call zeroext i8 @Ip6IsOneOfSetAddress(ptr noundef %21, ptr noundef nonnull %.054, ptr noundef null, ptr noundef nonnull %4) #3
  %.not51 = icmp eq i8 %57, 0
  br i1 %.not51, label %70, label %58

58:                                               ; preds = %56
  %59 = call zeroext i8 @DebugAssertEnabled() #3
  %60 = icmp eq i8 %59, 0
  %61 = load ptr, ptr %4, align 8
  %62 = icmp ne ptr %61, null
  %or.cond = select i1 %60, i1 true, i1 %62
  br i1 %or.cond, label %64, label %63

63:                                               ; preds = %58
  call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 1696, ptr noundef nonnull @.str.11) #3
  %.pre = load ptr, ptr %4, align 8, !tbaa !47
  br label %64

64:                                               ; preds = %63, %58
  %65 = phi ptr [ %.pre, %63 ], [ %61, %58 ]
  %66 = getelementptr inbounds i8, ptr %65, i64 24
  %67 = getelementptr inbounds i8, ptr %65, i64 41
  %68 = load i8, ptr %67, align 1, !tbaa !48
  %69 = call i64 @Ip6RemoveAddr(ptr noundef %21, ptr noundef nonnull %42, ptr noundef nonnull %43, ptr noundef nonnull %66, i8 noundef zeroext %68) #3
  br label %70

70:                                               ; preds = %64, %56
  %71 = load i32, ptr %39, align 8, !tbaa !41
  %.not52 = icmp eq i32 %71, 0
  br i1 %.not52, label %74, label %72

72:                                               ; preds = %70
  %73 = add i32 %71, -1
  store i32 %73, ptr %39, align 8, !tbaa !41
  br label %74

74:                                               ; preds = %50, %72, %70
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %75 = getelementptr inbounds i8, ptr %.054, i64 24
  %76 = load i32, ptr %31, align 8, !tbaa !38
  %77 = zext i32 %76 to i64
  %78 = icmp ult i64 %indvars.iv.next, %77
  br i1 %78, label %44, label %._crit_edge, !llvm.loop !50

._crit_edge:                                      ; preds = %74, %37
  %79 = load ptr, ptr %24, align 8, !tbaa !35
  %80 = getelementptr inbounds i8, ptr %79, i64 16
  %81 = load ptr, ptr %80, align 8, !tbaa !52
  %.not49 = icmp eq ptr %81, null
  br i1 %.not49, label %84, label %82

82:                                               ; preds = %._crit_edge
  %83 = call i64 @Ip6ConfigParseDhcpReply(ptr noundef nonnull %12, ptr noundef %1, ptr noundef nonnull %81)
  br label %84

84:                                               ; preds = %._crit_edge, %82, %30
  %85 = load ptr, ptr %3, align 8, !tbaa !53
  call void @FreePool(ptr noundef %85) #3
  %86 = load ptr, ptr %24, align 8, !tbaa !35
  call void @FreePool(ptr noundef %86) #3
  br label %87

87:                                               ; preds = %10, %2, %7, %84
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
  ret void
}

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, !7, i64 176}
!6 = !{!"_IP6_CONFIG_INSTANCE", !7, i64 0, !8, i64 4, !10, i64 8, !12, i64 24, !13, i64 32, !14, i64 168, !7, i64 176, !15, i64 180, !8, i64 184, !16, i64 800, !16, i64 840, !18, 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, !19, i64 984, !21, i64 1040}
!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 = !{!"short", !8, i64 0}
!13 = !{!"", !8, i64 0, !8, i64 64, !7, i64 68, !14, i64 72, !7, i64 104, !11, i64 112, !7, i64 120, !11, i64 128}
!14 = !{!"", !8, i64 0}
!15 = !{!"", !7, i64 0}
!16 = !{!"", !10, i64 0, !10, i64 16, !17, i64 32}
!17 = !{!"long long", !8, i64 0}
!18 = !{!"_EFI_IP6_CONFIG_PROTOCOL", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!19 = !{!"_IP6_FORM_CALLBACK_INFO", !7, i64 0, !11, i64 8, !20, i64 16, !11, i64 40, !11, i64 48}
!20 = !{!"_EFI_HII_CONFIG_ACCESS_PROTOCOL", !11, i64 0, !11, i64 8, !11, i64 16}
!21 = !{!"", !7, i64 0, !15, i64 4, !14, i64 8, !10, i64 16, !7, i64 32, !10, i64 40, !7, i64 56, !10, i64 64, !7, i64 80}
!22 = !{!6, !8, i64 944}
!23 = !{!6, !11, i64 936}
!24 = !{!25, !11, i64 0}
!25 = !{!"_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}
!26 = !{!27, !7, i64 0}
!27 = !{!"_IP6_SERVICE", !7, i64 0, !28, i64 8, !17, i64 24, !17, i64 32, !10, i64 40, !10, i64 56, !11, i64 72, !11, i64 80, !29, i64 88, !14, i64 136, !31, i64 2168, !14, 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, !32, i64 2352, !33, i64 2372, !11, i64 3032, !11, i64 3040, !6, i64 3048, !11, i64 4176, !7, i64 4184, !7, i64 4188}
!28 = !{!"_EFI_SERVICE_BINDING_PROTOCOL", !11, i64 0, !11, i64 8}
!29 = !{!"", !7, i64 0, !11, i64 8, !11, i64 16, !30, i64 24}
!30 = !{!"", !11, i64 0, !17, i64 8, !8, i64 16}
!31 = !{!"", !17, i64 0, !10, i64 8}
!32 = !{!"", !7, i64 0, !7, i64 4, !12, i64 8, !8, i64 10, !8, i64 11, !8, i64 12, !8, i64 13, !8, i64 14, !8, i64 15, !8, i64 16}
!33 = !{!"", !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, !14, i64 552, !14, i64 584, !14, i64 616, !8, i64 648, !8, i64 649, !8, i64 650, !8, i64 651, !8, i64 652}
!34 = !{!27, !11, i64 72}
!35 = !{!36, !11, i64 8}
!36 = !{!"", !11, i64 0, !11, i64 8}
!37 = !{!6, !11, i64 968}
!38 = !{!39, !7, i64 24}
!39 = !{!"", !40, i64 0, !7, i64 8, !11, i64 16, !7, i64 24, !8, i64 28}
!40 = !{!"", !12, i64 0, !7, i64 4}
!41 = !{!6, !7, i64 960}
!42 = !{!6, !7, i64 976}
!43 = !{!44, !7, i64 20}
!44 = !{!"", !14, i64 0, !7, i64 16, !7, i64 20}
!45 = !{!39, !7, i64 8}
!46 = !{!44, !7, i64 16}
!47 = !{!11, !11, i64 0}
!48 = !{!49, !8, i64 41}
!49 = !{!"_IP6_ADDRESS_INFO", !7, i64 0, !10, i64 8, !14, i64 24, !8, i64 40, !8, i64 41, !7, i64 44, !7, i64 48}
!50 = distinct !{!50, !51}
!51 = !{!"llvm.loop.mustprogress"}
!52 = !{!39, !11, i64 16}
!53 = !{!36, !11, i64 0}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass