; LLVM IR from thalium/icebox :: third_party/virtualbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal (Ip4ConfigDriverBindingStart)

; 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._IP4_CONFIG_INSTANCE = type { i32, ptr, ptr, ptr, %struct._EFI_IP4_CONFIG_PROTOCOL, %struct._EFI_HII_CONFIG_ACCESS_PROTOCOL, ptr, ptr, ptr, %struct._IP4CONFIG_CALLBACK_INFO, i64, ptr, ptr, ptr, ptr, i64, %struct.NIC_ADDR, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8 }
%struct._EFI_IP4_CONFIG_PROTOCOL = type { ptr, ptr, ptr }
%struct._EFI_HII_CONFIG_ACCESS_PROTOCOL = type { ptr, ptr, ptr }
%struct._IP4CONFIG_CALLBACK_INFO = type { i8, i8, %struct.EFI_IPv4_ADDRESS, %struct.EFI_IPv4_ADDRESS, %struct.EFI_IPv4_ADDRESS }
%struct.EFI_IPv4_ADDRESS = type { [4 x i8] }
%struct.NIC_ADDR = type { i16, i8, %struct.EFI_MAC_ADDRESS }
%struct.EFI_MAC_ADDRESS = type { [32 x i8] }
%struct.GUID = type { i32, i16, i16, [8 x 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_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_DRIVER_BINDING_PROTOCOL = type { ptr, ptr, ptr, i32, ptr, ptr }
%struct._EFI_MANAGED_NETWORK_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.NIC_IP4_CONFIG_INFO = type { %struct.NIC_ADDR, i32, i8, %struct.EFI_IP4_IPCONFIG_DATA }
%struct.EFI_IP4_IPCONFIG_DATA = type { %struct.EFI_IPv4_ADDRESS, %struct.EFI_IPv4_ADDRESS, i32, ptr }

@mIp4ConfigTemplate = external dso_local global %struct._IP4_CONFIG_INSTANCE, align 8
@gBS = external global ptr, align 8
@gEfiManagedNetworkServiceBindingProtocolGuid = external global %struct.GUID, align 4
@gEfiDevicePathProtocolGuid = external global %struct.GUID, align 4
@gEfiIp4ConfigProtocolGuid = external global %struct.GUID, align 4
@gEfiManagedNetworkProtocolGuid = external global %struct.GUID, align 4
@mIp4ConfigProtocolTemplate = external global %struct._EFI_IP4_CONFIG_PROTOCOL, align 8

; Function Attrs: nounwind uwtable
define dso_local i64 @Ip4ConfigDriverBindingStart(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 ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %struct.EFI_SIMPLE_NETWORK_MODE, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca ptr, align 8
  %16 = 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 656, 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
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  %17 = load ptr, ptr @gBS, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %17, i32 0, i32 17
  %19 = load ptr, ptr %18, align 8, !tbaa !9
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = call i64 %19(ptr noundef %20, ptr noundef @gEfiDevicePathProtocolGuid, ptr noundef %15)
  store i64 %21, ptr %14, align 8, !tbaa !14
  %22 = load i64, ptr %14, align 8, !tbaa !14
  %23 = icmp slt i64 %22, 0
  br i1 %23, label %24, label %26

24:                                               ; preds = %3
  %25 = load i64, ptr %14, align 8, !tbaa !14
  store i64 %25, ptr %4, align 8
  store i32 1, ptr %16, align 4
  br label %201

26:                                               ; preds = %3
  %27 = load ptr, ptr @gBS, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %27, i32 0, i32 33
  %29 = load ptr, ptr %28, align 8, !tbaa !15
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %31, i32 0, i32 5
  %33 = load ptr, ptr %32, align 8, !tbaa !16
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = call i64 %29(ptr noundef %30, ptr noundef @gEfiIp4ConfigProtocolGuid, ptr noundef %8, ptr noundef %33, ptr noundef %34, i32 noundef 2)
  store i64 %35, ptr %14, align 8, !tbaa !14
  %36 = load i64, ptr %14, align 8, !tbaa !14
  %37 = icmp slt i64 %36, 0
  br i1 %37, label %39, label %38

38:                                               ; preds = %26
  store i64 -9223372036854775788, ptr %4, align 8
  store i32 1, ptr %16, align 4
  br label %201

39:                                               ; preds = %26
  store ptr null, ptr %9, align 8, !tbaa !5
  store ptr null, ptr %10, align 8, !tbaa !5
  store ptr null, ptr %11, align 8, !tbaa !5
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %41, i32 0, i32 5
  %43 = load ptr, ptr %42, align 8, !tbaa !16
  %44 = call i64 @NetLibCreateServiceChild(ptr noundef %40, ptr noundef %43, ptr noundef @gEfiManagedNetworkServiceBindingProtocolGuid, ptr noundef %10)
  store i64 %44, ptr %14, align 8, !tbaa !14
  %45 = load i64, ptr %14, align 8, !tbaa !14
  %46 = icmp slt i64 %45, 0
  br i1 %46, label %47, label %49

47:                                               ; preds = %39
  %48 = load i64, ptr %14, align 8, !tbaa !14
  store i64 %48, ptr %4, align 8
  store i32 1, ptr %16, align 4
  br label %201

49:                                               ; preds = %39
  %50 = load ptr, ptr @gBS, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %50, i32 0, i32 33
  %52 = load ptr, ptr %51, align 8, !tbaa !15
  %53 = load ptr, ptr %10, align 8, !tbaa !5
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %54, i32 0, i32 5
  %56 = load ptr, ptr %55, align 8, !tbaa !16
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = call i64 %52(ptr noundef %53, ptr noundef @gEfiManagedNetworkProtocolGuid, ptr noundef %9, ptr noundef %56, ptr noundef %57, i32 noundef 16)
  store i64 %58, ptr %14, align 8, !tbaa !14
  %59 = load i64, ptr %14, align 8, !tbaa !14
  %60 = icmp slt i64 %59, 0
  br i1 %60, label %61, label %62

61:                                               ; preds = %49
  br label %175

62:                                               ; preds = %49
  %63 = call ptr @AllocateCopyPool(i64 noundef 264, ptr noundef @mIp4ConfigTemplate)
  store ptr %63, ptr %11, align 8, !tbaa !5
  %64 = load ptr, ptr %11, align 8, !tbaa !5
  %65 = icmp eq ptr %64, null
  br i1 %65, label %66, label %67

66:                                               ; preds = %62
  store i64 -9223372036854775799, ptr %14, align 8, !tbaa !14
  br label %175

67:                                               ; preds = %62
  %68 = load ptr, ptr %6, align 8, !tbaa !5
  %69 = load ptr, ptr %11, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct._IP4_CONFIG_INSTANCE, ptr %69, i32 0, i32 1
  store ptr %68, ptr %70, align 8, !tbaa !18
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %71, i32 0, i32 5
  %73 = load ptr, ptr %72, align 8, !tbaa !16
  %74 = load ptr, ptr %11, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct._IP4_CONFIG_INSTANCE, ptr %74, i32 0, i32 2
  store ptr %73, ptr %75, align 8, !tbaa !26
  %76 = load ptr, ptr %15, align 8, !tbaa !5
  %77 = load ptr, ptr %11, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct._IP4_CONFIG_INSTANCE, ptr %77, i32 0, i32 3
  store ptr %76, ptr %78, align 8, !tbaa !27
  %79 = load ptr, ptr %11, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct._IP4_CONFIG_INSTANCE, ptr %79, i32 0, i32 4
  %81 = call ptr @CopyMem(ptr noundef %80, ptr noundef @mIp4ConfigProtocolTemplate, i64 noundef 24)
  %82 = load ptr, ptr %11, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct._IP4_CONFIG_INSTANCE, ptr %82, i32 0, i32 10
  store i64 0, ptr %83, align 8, !tbaa !28
  %84 = load ptr, ptr %9, align 8, !tbaa !5
  %85 = load ptr, ptr %11, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct._IP4_CONFIG_INSTANCE, ptr %85, i32 0, i32 11
  store ptr %84, ptr %86, align 8, !tbaa !29
  %87 = load ptr, ptr %10, align 8, !tbaa !5
  %88 = load ptr, ptr %11, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct._IP4_CONFIG_INSTANCE, ptr %88, i32 0, i32 12
  store ptr %87, ptr %89, align 8, !tbaa !30
  %90 = load ptr, ptr %9, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct._EFI_MANAGED_NETWORK_PROTOCOL, ptr %90, i32 0, i32 0
  %92 = load ptr, ptr %91, align 8, !tbaa !31
  %93 = load ptr, ptr %9, align 8, !tbaa !5
  %94 = call i64 %92(ptr noundef %93, ptr noundef null, ptr noundef %12)
  store i64 %94, ptr %14, align 8, !tbaa !14
  %95 = load i64, ptr %14, align 8, !tbaa !14
  %96 = icmp slt i64 %95, 0
  br i1 %96, label %97, label %101

97:                                               ; preds = %67
  %98 = load i64, ptr %14, align 8, !tbaa !14
  %99 = icmp ne i64 %98, -9223372036854775789
  br i1 %99, label %100, label %101

100:                                              ; preds = %97
  br label %175

101:                                              ; preds = %97, %67
  %102 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %12, i32 0, i32 14
  %103 = load i8, ptr %102, align 4, !tbaa !33
  %104 = zext i8 %103 to i16
  %105 = load ptr, ptr %11, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct._IP4_CONFIG_INSTANCE, ptr %105, i32 0, i32 16
  %107 = getelementptr inbounds %struct.NIC_ADDR, ptr %106, i32 0, i32 0
  store i16 %104, ptr %107, align 8, !tbaa !35
  %108 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %12, i32 0, i32 1
  %109 = load i32, ptr %108, align 4, !tbaa !36
  %110 = trunc i32 %109 to i8
  %111 = load ptr, ptr %11, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct._IP4_CONFIG_INSTANCE, ptr %111, i32 0, i32 16
  %113 = getelementptr inbounds %struct.NIC_ADDR, ptr %112, i32 0, i32 1
  store i8 %110, ptr %113, align 2, !tbaa !37
  %114 = load ptr, ptr %11, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct._IP4_CONFIG_INSTANCE, ptr %114, i32 0, i32 16
  %116 = getelementptr inbounds %struct.NIC_ADDR, ptr %115, i32 0, i32 2
  %117 = getelementptr inbounds %struct.EFI_SIMPLE_NETWORK_MODE, ptr %12, i32 0, i32 11
  %118 = load ptr, ptr %11, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct._IP4_CONFIG_INSTANCE, ptr %118, i32 0, i32 16
  %120 = getelementptr inbounds %struct.NIC_ADDR, ptr %119, i32 0, i32 1
  %121 = load i8, ptr %120, align 2, !tbaa !37
  %122 = zext i8 %121 to i64
  %123 = call ptr @CopyMem(ptr noundef %116, ptr noundef %117, i64 noundef %122)
  %124 = load ptr, ptr %11, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct._IP4_CONFIG_INSTANCE, ptr %124, i32 0, i32 1
  %126 = load ptr, ptr %125, align 8, !tbaa !18
  %127 = load ptr, ptr %11, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct._IP4_CONFIG_INSTANCE, ptr %127, i32 0, i32 2
  %129 = load ptr, ptr %128, align 8, !tbaa !26
  %130 = load ptr, ptr %11, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct._IP4_CONFIG_INSTANCE, ptr %130, i32 0, i32 17
  %132 = call i64 @NetLibGetMacString(ptr noundef %126, ptr noundef %129, ptr noundef %131)
  store i64 %132, ptr %14, align 8, !tbaa !14
  %133 = load i64, ptr %14, align 8, !tbaa !14
  %134 = icmp slt i64 %133, 0
  br i1 %134, label %135, label %136

135:                                              ; preds = %101
  br label %175

136:                                              ; preds = %101
  %137 = load ptr, ptr %11, align 8, !tbaa !5
  %138 = call i64 @Ip4ConfigDeviceInit(ptr noundef %137)
  store i64 %138, ptr %14, align 8, !tbaa !14
  %139 = load ptr, ptr @gBS, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %139, i32 0, i32 39
  %141 = load ptr, ptr %140, align 8, !tbaa !38
  %142 = load ptr, ptr %11, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct._IP4_CONFIG_INSTANCE, ptr %142, i32 0, i32 4
  %144 = call i64 (ptr, ...) %141(ptr noundef %6, ptr noundef @gEfiIp4ConfigProtocolGuid, ptr noundef %143, ptr noundef null)
  store i64 %144, ptr %14, align 8, !tbaa !14
  %145 = load i64, ptr %14, align 8, !tbaa !14
  %146 = icmp slt i64 %145, 0
  br i1 %146, label %147, label %148

147:                                              ; preds = %136
  br label %175

148:                                              ; preds = %136
  %149 = load ptr, ptr @gBS, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %149, i32 0, i32 8
  %151 = load ptr, ptr %150, align 8, !tbaa !39
  %152 = load ptr, ptr %11, align 8, !tbaa !5
  %153 = load ptr, ptr %11, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct._IP4_CONFIG_INSTANCE, ptr %153, i32 0, i32 22
  %155 = call i64 %151(i32 noundef -2147483136, i64 noundef 8, ptr noundef @MediaChangeDetect, ptr noundef %152, ptr noundef %154)
  store i64 %155, ptr %14, align 8, !tbaa !14
  %156 = load i64, ptr %14, align 8, !tbaa !14
  %157 = icmp slt i64 %156, 0
  br i1 %157, label %158, label %159

158:                                              ; preds = %148
  br label %175

159:                                              ; preds = %148
  %160 = load ptr, ptr %11, align 8, !tbaa !5
  %161 = call ptr @Ip4ConfigReadVariable(ptr noundef %160)
  store ptr %161, ptr %13, align 8, !tbaa !5
  %162 = load ptr, ptr %13, align 8, !tbaa !5
  %163 = icmp ne ptr %162, null
  br i1 %163, label %164, label %174

164:                                              ; preds = %159
  %165 = load ptr, ptr %13, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.NIC_IP4_CONFIG_INFO, ptr %165, i32 0, i32 2
  %167 = load i8, ptr %166, align 8, !tbaa !40
  %168 = icmp ne i8 %167, 0
  br i1 %168, label %172, label %169

169:                                              ; preds = %164
  %170 = load ptr, ptr %11, align 8, !tbaa !5
  %171 = call i64 @Ip4ConfigWriteVariable(ptr noundef %170, ptr noundef null)
  br label %172

172:                                              ; preds = %169, %164
  %173 = load ptr, ptr %13, align 8, !tbaa !5
  call void @FreePool(ptr noundef %173)
  br label %174

174:                                              ; preds = %172, %159
  store i64 0, ptr %4, align 8
  store i32 1, ptr %16, align 4
  br label %201

175:                                              ; preds = %158, %147, %135, %100, %66, %61
  %176 = load ptr, ptr %11, align 8, !tbaa !5
  %177 = icmp ne ptr %176, null
  br i1 %177, label %178, label %180

178:                                              ; preds = %175
  %179 = load ptr, ptr %11, align 8, !tbaa !5
  call void @FreePool(ptr noundef %179)
  br label %180

180:                                              ; preds = %178, %175
  %181 = load ptr, ptr %9, align 8, !tbaa !5
  %182 = icmp ne ptr %181, null
  br i1 %182, label %183, label %193

183:                                              ; preds = %180
  %184 = load ptr, ptr @gBS, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %184, i32 0, i32 34
  %186 = load ptr, ptr %185, align 8, !tbaa !43
  %187 = load ptr, ptr %10, align 8, !tbaa !5
  %188 = load ptr, ptr %5, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %188, i32 0, i32 5
  %190 = load ptr, ptr %189, align 8, !tbaa !16
  %191 = load ptr, ptr %6, align 8, !tbaa !5
  %192 = call i64 %186(ptr noundef %187, ptr noundef @gEfiManagedNetworkProtocolGuid, ptr noundef %190, ptr noundef %191)
  br label %193

193:                                              ; preds = %183, %180
  %194 = load ptr, ptr %6, align 8, !tbaa !5
  %195 = load ptr, ptr %5, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %195, i32 0, i32 5
  %197 = load ptr, ptr %196, align 8, !tbaa !16
  %198 = load ptr, ptr %10, align 8, !tbaa !5
  %199 = call i64 @NetLibDestroyServiceChild(ptr noundef %194, ptr noundef %197, ptr noundef @gEfiManagedNetworkServiceBindingProtocolGuid, ptr noundef %198)
  %200 = load i64, ptr %14, align 8, !tbaa !14
  store i64 %200, ptr %4, align 8
  store i32 1, ptr %16, align 4
  br label %201

201:                                              ; preds = %193, %174, %47, %38, %24
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  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 656, 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
  %202 = load i64, ptr %4, align 8
  ret i64 %202
}

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

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

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

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

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

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

declare i64 @Ip4ConfigDeviceInit(ptr noundef) #2

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

declare ptr @Ip4ConfigReadVariable(ptr noundef) #2

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

declare void @FreePool(ptr noundef) #2

declare i64 @NetLibDestroyServiceChild(ptr noundef, ptr noundef, 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, !6, i64 152}
!10 = !{!"", !11, 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}
!11 = !{!"", !12, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20}
!12 = !{!"long long", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!10, !6, i64 280}
!16 = !{!17, !6, i64 40}
!17 = !{!"_EFI_DRIVER_BINDING_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !13, i64 24, !6, i64 32, !6, i64 40}
!18 = !{!19, !6, i64 8}
!19 = !{!"_IP4_CONFIG_INSTANCE", !13, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !20, i64 32, !21, i64 56, !6, i64 80, !6, i64 88, !6, i64 96, !22, i64 104, !12, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !12, i64 160, !24, i64 168, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !7, i64 256, !7, i64 257}
!20 = !{!"_EFI_IP4_CONFIG_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_EFI_HII_CONFIG_ACCESS_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_IP4CONFIG_CALLBACK_INFO", !7, i64 0, !7, i64 1, !23, i64 2, !23, i64 6, !23, i64 10}
!23 = !{!"", !7, i64 0}
!24 = !{!"", !25, i64 0, !7, i64 2, !23, i64 3}
!25 = !{!"short", !7, i64 0}
!26 = !{!19, !6, i64 16}
!27 = !{!19, !6, i64 24}
!28 = !{!19, !12, i64 120}
!29 = !{!19, !6, i64 128}
!30 = !{!19, !6, i64 136}
!31 = !{!32, !6, i64 0}
!32 = !{!"_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}
!33 = !{!34, !7, i64 648}
!34 = !{!"", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !7, i64 40, !23, i64 552, !23, i64 584, !23, i64 616, !7, i64 648, !7, i64 649, !7, i64 650, !7, i64 651, !7, i64 652}
!35 = !{!19, !25, i64 168}
!36 = !{!34, !13, i64 4}
!37 = !{!19, !7, i64 170}
!38 = !{!10, !6, i64 328}
!39 = !{!10, !6, i64 80}
!40 = !{!41, !7, i64 40}
!41 = !{!"", !24, i64 0, !13, i64 36, !7, i64 40, !42, i64 48}
!42 = !{!"", !23, i64 0, !23, i64 4, !13, i64 8, !6, i64 16}
!43 = !{!10, !6, i64 288}


; 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._IP4_CONFIG_INSTANCE = type { i32, ptr, ptr, ptr, %struct._EFI_IP4_CONFIG_PROTOCOL, %struct._EFI_HII_CONFIG_ACCESS_PROTOCOL, ptr, ptr, ptr, %struct._IP4CONFIG_CALLBACK_INFO, i64, ptr, ptr, ptr, ptr, i64, %struct.NIC_ADDR, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8 }
%struct._EFI_IP4_CONFIG_PROTOCOL = type { ptr, ptr, ptr }
%struct._EFI_HII_CONFIG_ACCESS_PROTOCOL = type { ptr, ptr, ptr }
%struct._IP4CONFIG_CALLBACK_INFO = type { i8, i8, %struct.EFI_IPv4_ADDRESS, %struct.EFI_IPv4_ADDRESS, %struct.EFI_IPv4_ADDRESS }
%struct.EFI_IPv4_ADDRESS = type { [4 x i8] }
%struct.NIC_ADDR = type { i16, i8, %struct.EFI_MAC_ADDRESS }
%struct.EFI_MAC_ADDRESS = type { [32 x i8] }
%struct.GUID = type { i32, i16, i16, [8 x 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 }

@mIp4ConfigTemplate = external dso_local global %struct._IP4_CONFIG_INSTANCE, align 8
@gBS = external local_unnamed_addr global ptr, align 8
@gEfiManagedNetworkServiceBindingProtocolGuid = external global %struct.GUID, align 4
@gEfiDevicePathProtocolGuid = external global %struct.GUID, align 4
@gEfiIp4ConfigProtocolGuid = external global %struct.GUID, align 4
@gEfiManagedNetworkProtocolGuid = external global %struct.GUID, align 4
@mIp4ConfigProtocolTemplate = external global %struct._EFI_IP4_CONFIG_PROTOCOL, align 8

; Function Attrs: nounwind uwtable
define dso_local i64 @Ip4ConfigDriverBindingStart(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef readnone %2) local_unnamed_addr #0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %struct.EFI_SIMPLE_NETWORK_MODE, align 4
  %9 = alloca ptr, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 656, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
  %10 = load ptr, ptr @gBS, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %10, i64 152
  %12 = load ptr, ptr %11, align 8, !tbaa !9
  %13 = call i64 %12(ptr noundef %1, ptr noundef nonnull @gEfiDevicePathProtocolGuid, ptr noundef nonnull %9) #3
  %14 = icmp slt i64 %13, 0
  br i1 %14, label %110, label %15

15:                                               ; preds = %3
  %16 = load ptr, ptr @gBS, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %16, i64 280
  %18 = load ptr, ptr %17, align 8, !tbaa !14
  %19 = getelementptr inbounds i8, ptr %0, i64 40
  %20 = load ptr, ptr %19, align 8, !tbaa !15
  %21 = call i64 %18(ptr noundef %1, ptr noundef nonnull @gEfiIp4ConfigProtocolGuid, ptr noundef nonnull %5, ptr noundef %20, ptr noundef %1, i32 noundef 2) #3
  %22 = icmp slt i64 %21, 0
  br i1 %22, label %23, label %110

23:                                               ; preds = %15
  store ptr null, ptr %6, align 8, !tbaa !5
  store ptr null, ptr %7, align 8, !tbaa !5
  %24 = load ptr, ptr %19, align 8, !tbaa !15
  %25 = call i64 @NetLibCreateServiceChild(ptr noundef %1, ptr noundef %24, ptr noundef nonnull @gEfiManagedNetworkServiceBindingProtocolGuid, ptr noundef nonnull %7) #3
  %26 = icmp slt i64 %25, 0
  br i1 %26, label %110, label %27

27:                                               ; preds = %23
  %28 = load ptr, ptr @gBS, align 8, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %28, i64 280
  %30 = load ptr, ptr %29, align 8, !tbaa !14
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = load ptr, ptr %19, align 8, !tbaa !15
  %33 = call i64 %30(ptr noundef %31, ptr noundef nonnull @gEfiManagedNetworkProtocolGuid, ptr noundef nonnull %6, ptr noundef %32, ptr noundef %1, i32 noundef 16) #3
  %34 = icmp slt i64 %33, 0
  br i1 %34, label %96, label %35

35:                                               ; preds = %27
  %36 = call ptr @AllocateCopyPool(i64 noundef 264, ptr noundef nonnull @mIp4ConfigTemplate) #3
  %37 = icmp eq ptr %36, null
  br i1 %37, label %96, label %38

38:                                               ; preds = %35
  %39 = getelementptr inbounds i8, ptr %36, i64 8
  store ptr %1, ptr %39, align 8, !tbaa !17
  %40 = load ptr, ptr %19, align 8, !tbaa !15
  %41 = getelementptr inbounds i8, ptr %36, i64 16
  store ptr %40, ptr %41, align 8, !tbaa !25
  %42 = load ptr, ptr %9, align 8, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %36, i64 24
  store ptr %42, ptr %43, align 8, !tbaa !26
  %44 = getelementptr inbounds i8, ptr %36, i64 32
  %45 = call ptr @CopyMem(ptr noundef nonnull %44, ptr noundef nonnull @mIp4ConfigProtocolTemplate, i64 noundef 24) #3
  %46 = getelementptr inbounds i8, ptr %36, i64 120
  store i64 0, ptr %46, align 8, !tbaa !27
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %36, i64 128
  store ptr %47, ptr %48, align 8, !tbaa !28
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = getelementptr inbounds i8, ptr %36, i64 136
  store ptr %49, ptr %50, align 8, !tbaa !29
  %51 = load ptr, ptr %47, align 8, !tbaa !30
  %52 = call i64 %51(ptr noundef nonnull %47, ptr noundef null, ptr noundef nonnull %8) #3
  %53 = icmp slt i64 %52, 0
  %54 = icmp ne i64 %52, -9223372036854775789
  %or.cond = and i1 %53, %54
  br i1 %or.cond, label %95, label %55

55:                                               ; preds = %38
  %56 = getelementptr inbounds i8, ptr %8, i64 648
  %57 = load i8, ptr %56, align 4, !tbaa !32
  %58 = zext i8 %57 to i16
  %59 = getelementptr inbounds i8, ptr %36, i64 168
  store i16 %58, ptr %59, align 8, !tbaa !34
  %60 = getelementptr inbounds i8, ptr %8, i64 4
  %61 = load i32, ptr %60, align 4, !tbaa !35
  %62 = trunc i32 %61 to i8
  %63 = getelementptr inbounds i8, ptr %36, i64 170
  store i8 %62, ptr %63, align 2, !tbaa !36
  %64 = getelementptr inbounds i8, ptr %36, i64 171
  %65 = getelementptr inbounds i8, ptr %8, i64 552
  %.mask = and i32 %61, 255
  %66 = zext nneg i32 %.mask to i64
  %67 = call ptr @CopyMem(ptr noundef nonnull %64, ptr noundef nonnull %65, i64 noundef %66) #3
  %68 = load ptr, ptr %39, align 8, !tbaa !17
  %69 = load ptr, ptr %41, align 8, !tbaa !25
  %70 = getelementptr inbounds i8, ptr %36, i64 208
  %71 = call i64 @NetLibGetMacString(ptr noundef %68, ptr noundef %69, ptr noundef nonnull %70) #3
  %72 = icmp slt i64 %71, 0
  br i1 %72, label %95, label %73

73:                                               ; preds = %55
  %74 = call i64 @Ip4ConfigDeviceInit(ptr noundef nonnull %36) #3
  %75 = load ptr, ptr @gBS, align 8, !tbaa !5
  %76 = getelementptr inbounds i8, ptr %75, i64 328
  %77 = load ptr, ptr %76, align 8, !tbaa !37
  %78 = call i64 (ptr, ...) %77(ptr noundef nonnull %4, ptr noundef nonnull @gEfiIp4ConfigProtocolGuid, ptr noundef nonnull %44, ptr noundef null) #3
  %79 = icmp slt i64 %78, 0
  br i1 %79, label %95, label %80

80:                                               ; preds = %73
  %81 = load ptr, ptr @gBS, align 8, !tbaa !5
  %82 = getelementptr inbounds i8, ptr %81, i64 80
  %83 = load ptr, ptr %82, align 8, !tbaa !38
  %84 = getelementptr inbounds i8, ptr %36, i64 248
  %85 = call i64 %83(i32 noundef -2147483136, i64 noundef 8, ptr noundef nonnull @MediaChangeDetect, ptr noundef nonnull %36, ptr noundef nonnull %84) #3
  %86 = icmp slt i64 %85, 0
  br i1 %86, label %95, label %87

87:                                               ; preds = %80
  %88 = call ptr @Ip4ConfigReadVariable(ptr noundef nonnull %36) #3
  %.not = icmp eq ptr %88, null
  br i1 %.not, label %110, label %89

89:                                               ; preds = %87
  %90 = getelementptr inbounds i8, ptr %88, i64 40
  %91 = load i8, ptr %90, align 8, !tbaa !39
  %.not56 = icmp eq i8 %91, 0
  br i1 %.not56, label %92, label %94

92:                                               ; preds = %89
  %93 = call i64 @Ip4ConfigWriteVariable(ptr noundef nonnull %36, ptr noundef null) #3
  br label %94

94:                                               ; preds = %92, %89
  call void @FreePool(ptr noundef nonnull %88) #3
  br label %110

95:                                               ; preds = %38, %55, %73, %80
  %.0.ph = phi i64 [ %85, %80 ], [ %78, %73 ], [ %71, %55 ], [ %52, %38 ]
  call void @FreePool(ptr noundef nonnull %36) #3
  %.pre65.pre = load ptr, ptr %4, align 8, !tbaa !5
  br label %96

96:                                               ; preds = %27, %35, %95
  %.pre65 = phi ptr [ %.pre65.pre, %95 ], [ %1, %27 ], [ %1, %35 ]
  %.064 = phi i64 [ %.0.ph, %95 ], [ %33, %27 ], [ -9223372036854775799, %35 ]
  %97 = load ptr, ptr %6, align 8, !tbaa !5
  %.not58 = icmp eq ptr %97, null
  br i1 %.not58, label %105, label %98

98:                                               ; preds = %96
  %99 = load ptr, ptr @gBS, align 8, !tbaa !5
  %100 = getelementptr inbounds i8, ptr %99, i64 288
  %101 = load ptr, ptr %100, align 8, !tbaa !42
  %102 = load ptr, ptr %7, align 8, !tbaa !5
  %103 = load ptr, ptr %19, align 8, !tbaa !15
  %104 = call i64 %101(ptr noundef %102, ptr noundef nonnull @gEfiManagedNetworkProtocolGuid, ptr noundef %103, ptr noundef %.pre65) #3
  %.pre = load ptr, ptr %4, align 8, !tbaa !5
  br label %105

105:                                              ; preds = %98, %96
  %106 = phi ptr [ %.pre, %98 ], [ %.pre65, %96 ]
  %107 = load ptr, ptr %19, align 8, !tbaa !15
  %108 = load ptr, ptr %7, align 8, !tbaa !5
  %109 = call i64 @NetLibDestroyServiceChild(ptr noundef %106, ptr noundef %107, ptr noundef nonnull @gEfiManagedNetworkServiceBindingProtocolGuid, ptr noundef %108) #3
  br label %110

110:                                              ; preds = %87, %94, %23, %15, %3, %105
  %.045 = phi i64 [ %.064, %105 ], [ %13, %3 ], [ -9223372036854775788, %15 ], [ %25, %23 ], [ 0, %94 ], [ 0, %87 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 656, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  ret i64 %.045
}

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

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

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

declare ptr @AllocateCopyPool(i64 noundef, ptr noundef) local_unnamed_addr #2

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

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

declare i64 @Ip4ConfigDeviceInit(ptr noundef) local_unnamed_addr #2

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

declare ptr @Ip4ConfigReadVariable(ptr noundef) local_unnamed_addr #2

declare i64 @Ip4ConfigWriteVariable(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @FreePool(ptr noundef) local_unnamed_addr #2

declare i64 @NetLibDestroyServiceChild(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #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 = { mustprogress 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, !6, i64 152}
!10 = !{!"", !11, 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}
!11 = !{!"", !12, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20}
!12 = !{!"long long", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!10, !6, i64 280}
!15 = !{!16, !6, i64 40}
!16 = !{!"_EFI_DRIVER_BINDING_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !13, i64 24, !6, i64 32, !6, i64 40}
!17 = !{!18, !6, i64 8}
!18 = !{!"_IP4_CONFIG_INSTANCE", !13, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !19, i64 32, !20, i64 56, !6, i64 80, !6, i64 88, !6, i64 96, !21, i64 104, !12, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !12, i64 160, !23, i64 168, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !7, i64 256, !7, i64 257}
!19 = !{!"_EFI_IP4_CONFIG_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"_EFI_HII_CONFIG_ACCESS_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_IP4CONFIG_CALLBACK_INFO", !7, i64 0, !7, i64 1, !22, i64 2, !22, i64 6, !22, i64 10}
!22 = !{!"", !7, i64 0}
!23 = !{!"", !24, i64 0, !7, i64 2, !22, i64 3}
!24 = !{!"short", !7, i64 0}
!25 = !{!18, !6, i64 16}
!26 = !{!18, !6, i64 24}
!27 = !{!18, !12, i64 120}
!28 = !{!18, !6, i64 128}
!29 = !{!18, !6, i64 136}
!30 = !{!31, !6, i64 0}
!31 = !{!"_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}
!32 = !{!33, !7, i64 648}
!33 = !{!"", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !7, i64 40, !22, i64 552, !22, i64 584, !22, i64 616, !7, i64 648, !7, i64 649, !7, i64 650, !7, i64 651, !7, i64 652}
!34 = !{!18, !24, i64 168}
!35 = !{!33, !13, i64 4}
!36 = !{!18, !7, i64 170}
!37 = !{!10, !6, i64 328}
!38 = !{!10, !6, i64 80}
!39 = !{!40, !7, i64 40}
!40 = !{!"", !23, i64 0, !13, i64 36, !7, i64 40, !41, i64 48}
!41 = !{!"", !22, i64 0, !22, i64 4, !13, i64 8, !6, i64 16}
!42 = !{!10, !6, i64 288}


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