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

; 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._EFI_DRIVER_BINDING_PROTOCOL = type { ptr, ptr, ptr, i32, ptr, ptr }
%struct._IP4_PROTOCOL = type { i32, %struct._EFI_IP4_PROTOCOL, ptr, i64, ptr, %struct._LIST_ENTRY, %struct.NET_MAP, %struct.NET_MAP, %struct._LIST_ENTRY, %struct._LIST_ENTRY, %struct.EFI_LOCK, ptr, %struct._LIST_ENTRY, ptr, ptr, i32, ptr, i32, %struct.EFI_IP4_CONFIG_DATA }
%struct._EFI_IP4_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.NET_MAP = type { %struct._LIST_ENTRY, %struct._LIST_ENTRY, i64 }
%struct.EFI_LOCK = type { i64, i64, i32 }
%struct._LIST_ENTRY = type { ptr, ptr }
%struct.EFI_IP4_CONFIG_DATA = type { i8, i8, i8, i8, i8, i8, %struct.EFI_IPv4_ADDRESS, %struct.EFI_IPv4_ADDRESS, i8, i8, i8, i8, i32, i32 }
%struct.EFI_IPv4_ADDRESS = type { [4 x i8] }
%struct._IP4_INTERFACE = type { i32, %struct._LIST_ENTRY, i64, i32, i32, i32, i32, i8, ptr, ptr, ptr, ptr, ptr, %struct._LIST_ENTRY, %struct._LIST_ENTRY, ptr, %struct.EFI_MAC_ADDRESS, %struct.EFI_MAC_ADDRESS, i32, %struct._LIST_ENTRY, i8 }
%struct.EFI_MAC_ADDRESS = type { [32 x i8] }
%struct._IP4_SERVICE = type { i32, %struct._EFI_SERVICE_BINDING_PROTOCOL, i64, i64, %struct._LIST_ENTRY, %struct._LIST_ENTRY, ptr, ptr, %struct.IP4_ASSEMBLE_TABLE, %struct.IGMP_SERVICE_DATA, ptr, ptr, ptr, ptr, %struct.EFI_MANAGED_NETWORK_CONFIG_DATA, %struct.EFI_SIMPLE_NETWORK_MODE, ptr, ptr, ptr, ptr, ptr, i32, i32 }
%struct._EFI_SERVICE_BINDING_PROTOCOL = type { ptr, ptr }
%struct.IP4_ASSEMBLE_TABLE = type { [31 x %struct._LIST_ENTRY] }
%struct.IGMP_SERVICE_DATA = type { i64, %struct._LIST_ENTRY }
%struct.EFI_MANAGED_NETWORK_CONFIG_DATA = type { i32, i32, i16, i8, i8, i8, i8, i8, i8, i8 }
%struct.EFI_SIMPLE_NETWORK_MODE = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [16 x %struct.EFI_MAC_ADDRESS], %struct.EFI_MAC_ADDRESS, %struct.EFI_MAC_ADDRESS, %struct.EFI_MAC_ADDRESS, i8, i8, i8, i8, i8 }
%struct._IP4_ROUTE_TABLE = type { i64, i32, [33 x %struct._LIST_ENTRY], ptr, %struct.IP4_ROUTE_CACHE }
%struct.IP4_ROUTE_CACHE = type { [31 x %struct._LIST_ENTRY] }
%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 }

@gBS = external global ptr, align 8
@gEfiArpProtocolGuid = external global %struct.GUID, align 4
@gIp4DriverBinding = external global %struct._EFI_DRIVER_BINDING_PROTOCOL, align 8

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

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

declare i32 @SwapBytes32(i32 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 @Ip4CreateInterface(ptr noundef, ptr noundef, ptr noundef) #1

declare ptr @Ip4CreateRouteTable() #1

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

declare void @Ip4FreeRouteTable(ptr noundef) #1

declare i64 @Ip4SetAddress(ptr noundef, i32 noundef, i32 noundef) #1

declare i64 @Ip4AddRoute(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1

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

; Function Attrs: nounwind uwtable
define dso_local i64 @Ip4ConfigProtocol(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca i64, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct._IP4_PROTOCOL, ptr %13, i32 0, i32 4
  %15 = load ptr, ptr %14, align 8, !tbaa !9
  store ptr %15, ptr %6, align 8, !tbaa !5
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct._IP4_PROTOCOL, ptr %16, i32 0, i32 3
  %18 = load i64, ptr %17, align 8, !tbaa !19
  %19 = icmp eq i64 %18, 1
  br i1 %19, label %20, label %31

20:                                               ; preds = %2
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = call i64 @Ip4Cancel(ptr noundef %21, ptr noundef null)
  store i64 %22, ptr %8, align 8, !tbaa !20
  %23 = load i64, ptr %8, align 8, !tbaa !20
  %24 = icmp slt i64 %23, 0
  br i1 %24, label %25, label %26

25:                                               ; preds = %20
  store i64 -9223372036854775801, ptr %3, align 8
  store i32 1, ptr %12, align 4
  br label %198

26:                                               ; preds = %20
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct._IP4_PROTOCOL, ptr %27, i32 0, i32 18
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = call ptr @CopyMem(ptr noundef %28, ptr noundef %29, i64 noundef 28)
  store i64 0, ptr %3, align 8
  store i32 1, ptr %12, align 4
  br label %198

31:                                               ; preds = %2
  store i64 -9223372036854775799, ptr %8, align 8, !tbaa !20
  %32 = call ptr @Ip4CreateRouteTable()
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct._IP4_PROTOCOL, ptr %33, i32 0, i32 13
  store ptr %32, ptr %34, align 8, !tbaa !21
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct._IP4_PROTOCOL, ptr %35, i32 0, i32 13
  %37 = load ptr, ptr %36, align 8, !tbaa !21
  %38 = icmp eq ptr %37, null
  br i1 %38, label %39, label %41

39:                                               ; preds = %31
  %40 = load i64, ptr %8, align 8, !tbaa !20
  store i64 %40, ptr %3, align 8
  store i32 1, ptr %12, align 4
  br label %198

41:                                               ; preds = %31
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.EFI_IP4_CONFIG_DATA, ptr %42, i32 0, i32 6
  %44 = call ptr @CopyMem(ptr noundef %9, ptr noundef %43, i64 noundef 4)
  %45 = load ptr, ptr %5, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.EFI_IP4_CONFIG_DATA, ptr %45, i32 0, i32 7
  %47 = call ptr @CopyMem(ptr noundef %10, ptr noundef %46, i64 noundef 4)
  %48 = load i32, ptr %9, align 4, !tbaa !22
  %49 = call i32 @SwapBytes32(i32 noundef %48)
  store i32 %49, ptr %9, align 4, !tbaa !22
  %50 = load i32, ptr %10, align 4, !tbaa !22
  %51 = call i32 @SwapBytes32(i32 noundef %50)
  store i32 %51, ptr %10, align 4, !tbaa !22
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.EFI_IP4_CONFIG_DATA, ptr %52, i32 0, i32 5
  %54 = load i8, ptr %53, align 1, !tbaa !23
  %55 = icmp ne i8 %54, 0
  br i1 %55, label %106, label %56

56:                                               ; preds = %41
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = load i32, ptr %9, align 4, !tbaa !22
  %59 = load i32, ptr %10, align 4, !tbaa !22
  %60 = call ptr @Ip4FindStationAddress(ptr noundef %57, i32 noundef %58, i32 noundef %59)
  store ptr %60, ptr %7, align 8, !tbaa !5
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = icmp ne ptr %61, null
  br i1 %62, label %63, label %68

63:                                               ; preds = %56
  %64 = load ptr, ptr %7, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct._IP4_INTERFACE, ptr %64, i32 0, i32 2
  %66 = load i64, ptr %65, align 8, !tbaa !24
  %67 = add nsw i64 %66, 1
  store i64 %67, ptr %65, align 8, !tbaa !24
  br label %99

68:                                               ; preds = %56
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct._IP4_SERVICE, ptr %69, i32 0, i32 13
  %71 = load ptr, ptr %70, align 8, !tbaa !26
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct._IP4_SERVICE, ptr %72, i32 0, i32 11
  %74 = load ptr, ptr %73, align 8, !tbaa !33
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct._IP4_SERVICE, ptr %75, i32 0, i32 10
  %77 = load ptr, ptr %76, align 8, !tbaa !34
  %78 = call ptr @Ip4CreateInterface(ptr noundef %71, ptr noundef %74, ptr noundef %77)
  store ptr %78, ptr %7, align 8, !tbaa !5
  %79 = load ptr, ptr %7, align 8, !tbaa !5
  %80 = icmp eq ptr %79, null
  br i1 %80, label %81, label %82

81:                                               ; preds = %68
  br label %191

82:                                               ; preds = %68
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  %84 = load i32, ptr %9, align 4, !tbaa !22
  %85 = load i32, ptr %10, align 4, !tbaa !22
  %86 = call i64 @Ip4SetAddress(ptr noundef %83, i32 noundef %84, i32 noundef %85)
  store i64 %86, ptr %8, align 8, !tbaa !20
  %87 = load i64, ptr %8, align 8, !tbaa !20
  %88 = icmp slt i64 %87, 0
  br i1 %88, label %89, label %93

89:                                               ; preds = %82
  store i64 -9223372036854775801, ptr %8, align 8, !tbaa !20
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  %92 = call i64 @Ip4FreeInterface(ptr noundef %90, ptr noundef %91)
  br label %191

93:                                               ; preds = %82
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct._IP4_SERVICE, ptr %94, i32 0, i32 5
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct._IP4_INTERFACE, ptr %96, i32 0, i32 1
  %98 = call ptr @InsertTailList(ptr noundef %95, ptr noundef %97)
  br label %99

99:                                               ; preds = %93, %63
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct._IP4_PROTOCOL, ptr %100, i32 0, i32 13
  %102 = load ptr, ptr %101, align 8, !tbaa !21
  %103 = load i32, ptr %9, align 4, !tbaa !22
  %104 = load i32, ptr %10, align 4, !tbaa !22
  %105 = call i64 @Ip4AddRoute(ptr noundef %102, i32 noundef %103, i32 noundef %104, i32 noundef 0)
  br label %141

106:                                              ; preds = %41
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct._IP4_SERVICE, ptr %107, i32 0, i32 2
  %109 = load i64, ptr %108, align 8, !tbaa !35
  %110 = icmp eq i64 %109, 0
  br i1 %110, label %111, label %118

111:                                              ; preds = %106
  %112 = load ptr, ptr %6, align 8, !tbaa !5
  %113 = call i64 @Ip4StartAutoConfig(ptr noundef %112)
  store i64 %113, ptr %8, align 8, !tbaa !20
  %114 = load i64, ptr %8, align 8, !tbaa !20
  %115 = icmp slt i64 %114, 0
  br i1 %115, label %116, label %117

116:                                              ; preds = %111
  br label %191

117:                                              ; preds = %111
  br label %118

118:                                              ; preds = %117, %106
  %119 = load ptr, ptr %6, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct._IP4_SERVICE, ptr %119, i32 0, i32 6
  %121 = load ptr, ptr %120, align 8, !tbaa !36
  store ptr %121, ptr %7, align 8, !tbaa !5
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct._IP4_SERVICE, ptr %122, i32 0, i32 6
  %124 = load ptr, ptr %123, align 8, !tbaa !36
  %125 = getelementptr inbounds %struct._IP4_INTERFACE, ptr %124, i32 0, i32 2
  %126 = load i64, ptr %125, align 8, !tbaa !24
  %127 = add nsw i64 %126, 1
  store i64 %127, ptr %125, align 8, !tbaa !24
  %128 = load ptr, ptr %6, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct._IP4_SERVICE, ptr %128, i32 0, i32 7
  %130 = load ptr, ptr %129, align 8, !tbaa !37
  %131 = getelementptr inbounds %struct._IP4_ROUTE_TABLE, ptr %130, i32 0, i32 0
  %132 = load i64, ptr %131, align 8, !tbaa !38
  %133 = add nsw i64 %132, 1
  store i64 %133, ptr %131, align 8, !tbaa !38
  %134 = load ptr, ptr %6, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct._IP4_SERVICE, ptr %134, i32 0, i32 7
  %136 = load ptr, ptr %135, align 8, !tbaa !37
  %137 = load ptr, ptr %4, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct._IP4_PROTOCOL, ptr %137, i32 0, i32 13
  %139 = load ptr, ptr %138, align 8, !tbaa !21
  %140 = getelementptr inbounds %struct._IP4_ROUTE_TABLE, ptr %139, i32 0, i32 3
  store ptr %136, ptr %140, align 8, !tbaa !40
  br label %141

141:                                              ; preds = %118, %99
  %142 = load ptr, ptr %7, align 8, !tbaa !5
  %143 = load ptr, ptr %4, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct._IP4_PROTOCOL, ptr %143, i32 0, i32 11
  store ptr %142, ptr %144, align 8, !tbaa !41
  %145 = load ptr, ptr %7, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct._IP4_INTERFACE, ptr %145, i32 0, i32 11
  %147 = load ptr, ptr %146, align 8, !tbaa !42
  %148 = icmp ne ptr %147, null
  br i1 %148, label %149, label %165

149:                                              ; preds = %141
  store ptr null, ptr %11, align 8, !tbaa !5
  %150 = load ptr, ptr @gBS, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %150, i32 0, i32 33
  %152 = load ptr, ptr %151, align 8, !tbaa !43
  %153 = load ptr, ptr %7, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct._IP4_INTERFACE, ptr %153, i32 0, i32 12
  %155 = load ptr, ptr %154, align 8, !tbaa !46
  %156 = load ptr, ptr getelementptr inbounds (%struct._EFI_DRIVER_BINDING_PROTOCOL, ptr @gIp4DriverBinding, i32 0, i32 5), align 8, !tbaa !47
  %157 = load ptr, ptr %4, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct._IP4_PROTOCOL, ptr %157, i32 0, i32 2
  %159 = load ptr, ptr %158, align 8, !tbaa !49
  %160 = call i64 %152(ptr noundef %155, ptr noundef @gEfiArpProtocolGuid, ptr noundef %11, ptr noundef %156, ptr noundef %159, i32 noundef 8)
  store i64 %160, ptr %8, align 8, !tbaa !20
  %161 = load i64, ptr %8, align 8, !tbaa !20
  %162 = icmp slt i64 %161, 0
  br i1 %162, label %163, label %164

163:                                              ; preds = %149
  br label %191

164:                                              ; preds = %149
  br label %165

165:                                              ; preds = %164, %141
  %166 = load ptr, ptr %7, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct._IP4_INTERFACE, ptr %166, i32 0, i32 19
  %168 = load ptr, ptr %4, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct._IP4_PROTOCOL, ptr %168, i32 0, i32 12
  %170 = call ptr @InsertTailList(ptr noundef %167, ptr noundef %169)
  %171 = load ptr, ptr %4, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct._IP4_PROTOCOL, ptr %171, i32 0, i32 18
  %173 = load ptr, ptr %5, align 8, !tbaa !5
  %174 = call ptr @CopyMem(ptr noundef %172, ptr noundef %173, i64 noundef 28)
  %175 = load ptr, ptr %4, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct._IP4_PROTOCOL, ptr %175, i32 0, i32 3
  store i64 1, ptr %176, align 8, !tbaa !19
  %177 = load ptr, ptr %5, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.EFI_IP4_CONFIG_DATA, ptr %177, i32 0, i32 5
  %179 = load i8, ptr %178, align 1, !tbaa !23
  %180 = zext i8 %179 to i32
  %181 = icmp ne i32 %180, 0
  br i1 %181, label %182, label %190

182:                                              ; preds = %165
  %183 = load ptr, ptr %4, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct._IP4_PROTOCOL, ptr %183, i32 0, i32 11
  %185 = load ptr, ptr %184, align 8, !tbaa !41
  %186 = getelementptr inbounds %struct._IP4_INTERFACE, ptr %185, i32 0, i32 7
  %187 = load i8, ptr %186, align 8, !tbaa !50
  %188 = icmp ne i8 %187, 0
  br i1 %188, label %190, label %189

189:                                              ; preds = %182
  store i64 -9223372036854775791, ptr %3, align 8
  store i32 1, ptr %12, align 4
  br label %198

190:                                              ; preds = %182, %165
  store i64 0, ptr %3, align 8
  store i32 1, ptr %12, align 4
  br label %198

191:                                              ; preds = %163, %116, %89, %81
  %192 = load ptr, ptr %4, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct._IP4_PROTOCOL, ptr %192, i32 0, i32 13
  %194 = load ptr, ptr %193, align 8, !tbaa !21
  call void @Ip4FreeRouteTable(ptr noundef %194)
  %195 = load ptr, ptr %4, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct._IP4_PROTOCOL, ptr %195, i32 0, i32 13
  store ptr null, ptr %196, align 8, !tbaa !21
  %197 = load i64, ptr %8, align 8, !tbaa !20
  store i64 %197, ptr %3, align 8
  store i32 1, ptr %12, align 4
  br label %198

198:                                              ; preds = %191, %190, %189, %39, %26, %25
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  %199 = load i64, ptr %3, align 8
  ret i64 %199
}

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

declare ptr @Ip4FindStationAddress(ptr noundef, i32 noundef, i32 noundef) #1

declare ptr @InsertTailList(ptr noundef, ptr noundef) #1

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 88}
!10 = !{!"_IP4_PROTOCOL", !11, i64 0, !12, i64 8, !6, i64 72, !13, i64 80, !6, i64 88, !14, i64 96, !15, i64 112, !15, i64 152, !14, i64 192, !14, i64 208, !16, i64 224, !6, i64 248, !14, i64 256, !6, i64 272, !6, i64 280, !11, i64 288, !6, i64 296, !11, i64 304, !17, i64 308}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_EFI_IP4_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}
!13 = !{!"long long", !7, i64 0}
!14 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!15 = !{!"", !14, i64 0, !14, i64 16, !13, i64 32}
!16 = !{!"", !13, i64 0, !13, i64 8, !11, i64 16}
!17 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4, !7, i64 5, !18, i64 6, !18, i64 10, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !11, i64 20, !11, i64 24}
!18 = !{!"", !7, i64 0}
!19 = !{!10, !13, i64 80}
!20 = !{!13, !13, i64 0}
!21 = !{!10, !6, i64 272}
!22 = !{!11, !11, i64 0}
!23 = !{!17, !7, i64 5}
!24 = !{!25, !13, i64 24}
!25 = !{!"_IP4_INTERFACE", !11, i64 0, !14, i64 8, !13, i64 24, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !7, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !14, i64 96, !14, i64 112, !6, i64 128, !18, i64 136, !18, i64 168, !11, i64 200, !14, i64 208, !7, i64 224}
!26 = !{!27, !6, i64 632}
!27 = !{!"_IP4_SERVICE", !11, i64 0, !28, i64 8, !13, i64 24, !13, i64 32, !14, i64 40, !14, i64 56, !6, i64 72, !6, i64 80, !18, i64 88, !29, i64 584, !6, i64 608, !6, i64 616, !6, i64 624, !6, i64 632, !30, i64 640, !32, i64 660, !6, i64 1320, !6, i64 1328, !6, i64 1336, !6, i64 1344, !6, i64 1352, !11, i64 1360, !11, i64 1364}
!28 = !{!"_EFI_SERVICE_BINDING_PROTOCOL", !6, i64 0, !6, i64 8}
!29 = !{!"", !13, i64 0, !14, i64 8}
!30 = !{!"", !11, i64 0, !11, i64 4, !31, i64 8, !7, i64 10, !7, i64 11, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16}
!31 = !{!"short", !7, i64 0}
!32 = !{!"", !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, !18, i64 552, !18, i64 584, !18, i64 616, !7, i64 648, !7, i64 649, !7, i64 650, !7, i64 651, !7, i64 652}
!33 = !{!27, !6, i64 616}
!34 = !{!27, !6, i64 608}
!35 = !{!27, !13, i64 24}
!36 = !{!27, !6, i64 72}
!37 = !{!27, !6, i64 80}
!38 = !{!39, !13, i64 0}
!39 = !{!"_IP4_ROUTE_TABLE", !13, i64 0, !11, i64 8, !7, i64 16, !6, i64 544, !18, i64 552}
!40 = !{!39, !6, i64 544}
!41 = !{!10, !6, i64 248}
!42 = !{!25, !6, i64 80}
!43 = !{!44, !6, i64 280}
!44 = !{!"", !45, 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}
!45 = !{!"", !13, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!46 = !{!25, !6, i64 88}
!47 = !{!48, !6, i64 40}
!48 = !{!"_EFI_DRIVER_BINDING_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !11, i64 24, !6, i64 32, !6, i64 40}
!49 = !{!10, !6, i64 72}
!50 = !{!25, !7, i64 48}


; 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] }
%struct._EFI_DRIVER_BINDING_PROTOCOL = type { ptr, ptr, ptr, i32, ptr, ptr }

@gBS = external local_unnamed_addr global ptr, align 8
@gEfiArpProtocolGuid = external global %struct.GUID, align 4
@gIp4DriverBinding = external local_unnamed_addr global %struct._EFI_DRIVER_BINDING_PROTOCOL, align 8

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

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

declare i32 @SwapBytes32(i32 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 @Ip4CreateInterface(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare ptr @Ip4CreateRouteTable() local_unnamed_addr #1

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

declare void @Ip4FreeRouteTable(ptr noundef) local_unnamed_addr #1

declare i64 @Ip4SetAddress(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare i64 @Ip4AddRoute(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local range(i64 -9223372036854775808, 1) i64 @Ip4ConfigProtocol(ptr noundef %0, ptr noundef %1) local_unnamed_addr #2 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  %6 = getelementptr inbounds i8, ptr %0, i64 88
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 80
  %9 = load i64, ptr %8, align 8, !tbaa !18
  %10 = icmp eq i64 %9, 1
  br i1 %10, label %11, label %17

11:                                               ; preds = %2
  %12 = tail call i64 @Ip4Cancel(ptr noundef nonnull %0, ptr noundef null)
  %13 = icmp slt i64 %12, 0
  br i1 %13, label %112, label %14

14:                                               ; preds = %11
  %15 = getelementptr inbounds i8, ptr %0, i64 308
  %16 = tail call ptr @CopyMem(ptr noundef nonnull %15, ptr noundef %1, i64 noundef 28) #3
  br label %112

17:                                               ; preds = %2
  %18 = tail call ptr @Ip4CreateRouteTable() #3
  %19 = getelementptr inbounds i8, ptr %0, i64 272
  store ptr %18, ptr %19, align 8, !tbaa !19
  %20 = icmp eq ptr %18, null
  br i1 %20, label %112, label %21

21:                                               ; preds = %17
  %22 = getelementptr inbounds i8, ptr %1, i64 6
  %23 = call ptr @CopyMem(ptr noundef nonnull %3, ptr noundef nonnull %22, i64 noundef 4) #3
  %24 = getelementptr inbounds i8, ptr %1, i64 10
  %25 = call ptr @CopyMem(ptr noundef nonnull %4, ptr noundef nonnull %24, i64 noundef 4) #3
  %26 = load i32, ptr %3, align 4, !tbaa !20
  %27 = call i32 @SwapBytes32(i32 noundef %26) #3
  store i32 %27, ptr %3, align 4, !tbaa !20
  %28 = load i32, ptr %4, align 4, !tbaa !20
  %29 = call i32 @SwapBytes32(i32 noundef %28) #3
  store i32 %29, ptr %4, align 4, !tbaa !20
  %30 = getelementptr inbounds i8, ptr %1, i64 5
  %31 = load i8, ptr %30, align 1, !tbaa !21
  %.not = icmp eq i8 %31, 0
  br i1 %.not, label %32, label %64

32:                                               ; preds = %21
  %33 = load i32, ptr %3, align 4, !tbaa !20
  %34 = call ptr @Ip4FindStationAddress(ptr noundef %7, i32 noundef %33, i32 noundef %29) #3
  %.not56 = icmp eq ptr %34, null
  br i1 %.not56, label %39, label %35

35:                                               ; preds = %32
  %36 = getelementptr inbounds i8, ptr %34, i64 24
  %37 = load i64, ptr %36, align 8, !tbaa !22
  %38 = add nsw i64 %37, 1
  store i64 %38, ptr %36, align 8, !tbaa !22
  br label %59

39:                                               ; preds = %32
  %40 = getelementptr inbounds i8, ptr %7, i64 632
  %41 = load ptr, ptr %40, align 8, !tbaa !24
  %42 = getelementptr inbounds i8, ptr %7, i64 616
  %43 = load ptr, ptr %42, align 8, !tbaa !31
  %44 = getelementptr inbounds i8, ptr %7, i64 608
  %45 = load ptr, ptr %44, align 8, !tbaa !32
  %46 = call ptr @Ip4CreateInterface(ptr noundef %41, ptr noundef %43, ptr noundef %45) #3
  %47 = icmp eq ptr %46, null
  br i1 %47, label %110, label %48

48:                                               ; preds = %39
  %49 = load i32, ptr %3, align 4, !tbaa !20
  %50 = load i32, ptr %4, align 4, !tbaa !20
  %51 = call i64 @Ip4SetAddress(ptr noundef nonnull %46, i32 noundef %49, i32 noundef %50) #3
  %52 = icmp slt i64 %51, 0
  br i1 %52, label %53, label %55

53:                                               ; preds = %48
  %54 = call i64 @Ip4FreeInterface(ptr noundef nonnull %46, ptr noundef nonnull %0) #3
  br label %110

55:                                               ; preds = %48
  %56 = getelementptr inbounds i8, ptr %7, i64 56
  %57 = getelementptr inbounds i8, ptr %46, i64 8
  %58 = call ptr @InsertTailList(ptr noundef nonnull %56, ptr noundef nonnull %57) #3
  br label %59

59:                                               ; preds = %55, %35
  %.050 = phi ptr [ %34, %35 ], [ %46, %55 ]
  %60 = load ptr, ptr %19, align 8, !tbaa !19
  %61 = load i32, ptr %3, align 4, !tbaa !20
  %62 = load i32, ptr %4, align 4, !tbaa !20
  %63 = call i64 @Ip4AddRoute(ptr noundef %60, i32 noundef %61, i32 noundef %62, i32 noundef 0) #3
  br label %83

64:                                               ; preds = %21
  %65 = getelementptr inbounds i8, ptr %7, i64 24
  %66 = load i64, ptr %65, align 8, !tbaa !33
  %67 = icmp eq i64 %66, 0
  br i1 %67, label %68, label %71

68:                                               ; preds = %64
  %69 = call i64 @Ip4StartAutoConfig(ptr noundef nonnull %7)
  %70 = icmp slt i64 %69, 0
  br i1 %70, label %110, label %71

71:                                               ; preds = %68, %64
  %72 = getelementptr inbounds i8, ptr %7, i64 72
  %73 = load ptr, ptr %72, align 8, !tbaa !34
  %74 = getelementptr inbounds i8, ptr %73, i64 24
  %75 = load i64, ptr %74, align 8, !tbaa !22
  %76 = add nsw i64 %75, 1
  store i64 %76, ptr %74, align 8, !tbaa !22
  %77 = getelementptr inbounds i8, ptr %7, i64 80
  %78 = load ptr, ptr %77, align 8, !tbaa !35
  %79 = load i64, ptr %78, align 8, !tbaa !36
  %80 = add nsw i64 %79, 1
  store i64 %80, ptr %78, align 8, !tbaa !36
  %81 = load ptr, ptr %19, align 8, !tbaa !19
  %82 = getelementptr inbounds i8, ptr %81, i64 544
  store ptr %78, ptr %82, align 8, !tbaa !38
  br label %83

83:                                               ; preds = %71, %59
  %.1 = phi ptr [ %73, %71 ], [ %.050, %59 ]
  %84 = getelementptr inbounds i8, ptr %0, i64 248
  store ptr %.1, ptr %84, align 8, !tbaa !39
  %85 = getelementptr inbounds i8, ptr %.1, i64 80
  %86 = load ptr, ptr %85, align 8, !tbaa !40
  %.not57 = icmp eq ptr %86, null
  br i1 %.not57, label %98, label %87

87:                                               ; preds = %83
  store ptr null, ptr %5, align 8, !tbaa !41
  %88 = load ptr, ptr @gBS, align 8, !tbaa !41
  %89 = getelementptr inbounds i8, ptr %88, i64 280
  %90 = load ptr, ptr %89, align 8, !tbaa !42
  %91 = getelementptr inbounds i8, ptr %.1, i64 88
  %92 = load ptr, ptr %91, align 8, !tbaa !45
  %93 = load ptr, ptr getelementptr inbounds (i8, ptr @gIp4DriverBinding, i64 40), align 8, !tbaa !46
  %94 = getelementptr inbounds i8, ptr %0, i64 72
  %95 = load ptr, ptr %94, align 8, !tbaa !48
  %96 = call i64 %90(ptr noundef %92, ptr noundef nonnull @gEfiArpProtocolGuid, ptr noundef nonnull %5, ptr noundef %93, ptr noundef %95, i32 noundef 8) #3
  %97 = icmp slt i64 %96, 0
  br i1 %97, label %110, label %98

98:                                               ; preds = %87, %83
  %99 = getelementptr inbounds i8, ptr %.1, i64 208
  %100 = getelementptr inbounds i8, ptr %0, i64 256
  %101 = call ptr @InsertTailList(ptr noundef nonnull %99, ptr noundef nonnull %100) #3
  %102 = getelementptr inbounds i8, ptr %0, i64 308
  %103 = call ptr @CopyMem(ptr noundef nonnull %102, ptr noundef nonnull %1, i64 noundef 28) #3
  store i64 1, ptr %8, align 8, !tbaa !18
  %104 = load i8, ptr %30, align 1, !tbaa !21
  %.not58 = icmp eq i8 %104, 0
  br i1 %.not58, label %109, label %105

105:                                              ; preds = %98
  %106 = load ptr, ptr %84, align 8, !tbaa !39
  %107 = getelementptr inbounds i8, ptr %106, i64 48
  %108 = load i8, ptr %107, align 8, !tbaa !49
  %.not59 = icmp eq i8 %108, 0
  br i1 %.not59, label %112, label %109

109:                                              ; preds = %105, %98
  br label %112

110:                                              ; preds = %87, %68, %39, %53
  %.0 = phi i64 [ %69, %68 ], [ %96, %87 ], [ -9223372036854775799, %39 ], [ -9223372036854775801, %53 ]
  %111 = load ptr, ptr %19, align 8, !tbaa !19
  call void @Ip4FreeRouteTable(ptr noundef %111) #3
  store ptr null, ptr %19, align 8, !tbaa !19
  br label %112

112:                                              ; preds = %105, %17, %11, %110, %109, %14
  %.051 = phi i64 [ 0, %14 ], [ %.0, %110 ], [ 0, %109 ], [ -9223372036854775801, %11 ], [ -9223372036854775799, %17 ], [ -9223372036854775791, %105 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
  ret i64 %.051
}

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

declare ptr @Ip4FindStationAddress(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !11, i64 88}
!6 = !{!"_IP4_PROTOCOL", !7, i64 0, !10, i64 8, !11, i64 72, !12, i64 80, !11, i64 88, !13, i64 96, !14, i64 112, !14, i64 152, !13, i64 192, !13, i64 208, !15, i64 224, !11, i64 248, !13, i64 256, !11, i64 272, !11, i64 280, !7, i64 288, !11, i64 296, !7, i64 304, !16, i64 308}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"_EFI_IP4_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 = !{!"any pointer", !8, i64 0}
!12 = !{!"long long", !8, i64 0}
!13 = !{!"_LIST_ENTRY", !11, i64 0, !11, i64 8}
!14 = !{!"", !13, i64 0, !13, i64 16, !12, i64 32}
!15 = !{!"", !12, i64 0, !12, i64 8, !7, i64 16}
!16 = !{!"", !8, i64 0, !8, i64 1, !8, i64 2, !8, i64 3, !8, i64 4, !8, i64 5, !17, i64 6, !17, i64 10, !8, i64 14, !8, i64 15, !8, i64 16, !8, i64 17, !7, i64 20, !7, i64 24}
!17 = !{!"", !8, i64 0}
!18 = !{!6, !12, i64 80}
!19 = !{!6, !11, i64 272}
!20 = !{!7, !7, i64 0}
!21 = !{!16, !8, i64 5}
!22 = !{!23, !12, i64 24}
!23 = !{!"_IP4_INTERFACE", !7, i64 0, !13, i64 8, !12, i64 24, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !8, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !13, i64 96, !13, i64 112, !11, i64 128, !17, i64 136, !17, i64 168, !7, i64 200, !13, i64 208, !8, i64 224}
!24 = !{!25, !11, i64 632}
!25 = !{!"_IP4_SERVICE", !7, i64 0, !26, i64 8, !12, i64 24, !12, i64 32, !13, i64 40, !13, i64 56, !11, i64 72, !11, i64 80, !17, i64 88, !27, i64 584, !11, i64 608, !11, i64 616, !11, i64 624, !11, i64 632, !28, i64 640, !30, i64 660, !11, i64 1320, !11, i64 1328, !11, i64 1336, !11, i64 1344, !11, i64 1352, !7, i64 1360, !7, i64 1364}
!26 = !{!"_EFI_SERVICE_BINDING_PROTOCOL", !11, i64 0, !11, i64 8}
!27 = !{!"", !12, i64 0, !13, i64 8}
!28 = !{!"", !7, i64 0, !7, i64 4, !29, i64 8, !8, i64 10, !8, i64 11, !8, i64 12, !8, i64 13, !8, i64 14, !8, i64 15, !8, i64 16}
!29 = !{!"short", !8, i64 0}
!30 = !{!"", !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, !17, i64 552, !17, i64 584, !17, i64 616, !8, i64 648, !8, i64 649, !8, i64 650, !8, i64 651, !8, i64 652}
!31 = !{!25, !11, i64 616}
!32 = !{!25, !11, i64 608}
!33 = !{!25, !12, i64 24}
!34 = !{!25, !11, i64 72}
!35 = !{!25, !11, i64 80}
!36 = !{!37, !12, i64 0}
!37 = !{!"_IP4_ROUTE_TABLE", !12, i64 0, !7, i64 8, !8, i64 16, !11, i64 544, !17, i64 552}
!38 = !{!37, !11, i64 544}
!39 = !{!6, !11, i64 248}
!40 = !{!23, !11, i64 80}
!41 = !{!11, !11, i64 0}
!42 = !{!43, !11, i64 280}
!43 = !{!"", !44, i64 0, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !11, i64 136, !11, i64 144, !11, i64 152, !11, i64 160, !11, i64 168, !11, i64 176, !11, i64 184, !11, i64 192, !11, i64 200, !11, i64 208, !11, i64 216, !11, i64 224, !11, i64 232, !11, i64 240, !11, i64 248, !11, i64 256, !11, i64 264, !11, i64 272, !11, i64 280, !11, i64 288, !11, i64 296, !11, i64 304, !11, i64 312, !11, i64 320, !11, i64 328, !11, i64 336, !11, i64 344, !11, i64 352, !11, i64 360, !11, i64 368}
!44 = !{!"", !12, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!45 = !{!23, !11, i64 88}
!46 = !{!47, !11, i64 40}
!47 = !{!"_EFI_DRIVER_BINDING_PROTOCOL", !11, i64 0, !11, i64 8, !11, i64 16, !7, i64 24, !11, i64 32, !11, i64 40}
!48 = !{!6, !11, i64 72}
!49 = !{!23, !8, i64 48}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass