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

; 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._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._LIST_ENTRY = 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.EFI_MAC_ADDRESS = type { [32 x 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_IP4_CONFIG_PROTOCOL = type { ptr, ptr, ptr }

@gBS = external global ptr, align 8
@gEfiIp4ConfigProtocolGuid = external global %struct.GUID, align 4

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @Ip4AutoConfigCallBack(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i64 @Ip4StartAutoConfig(ptr noundef %0) #1 {
  %2 = alloca i64, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #2
  %7 = load ptr, ptr %3, align 8, !tbaa !5
  %8 = getelementptr inbounds %struct._IP4_SERVICE, ptr %7, i32 0, i32 2
  %9 = load i64, ptr %8, align 8, !tbaa !9
  %10 = icmp sgt i64 %9, 0
  br i1 %10, label %11, label %12

11:                                               ; preds = %1
  store i64 0, ptr %2, align 8
  store i32 1, ptr %6, align 4
  br label %108

12:                                               ; preds = %1
  %13 = load ptr, ptr @gBS, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %13, i32 0, i32 8
  %15 = load ptr, ptr %14, align 8, !tbaa !20
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct._IP4_SERVICE, ptr %17, i32 0, i32 18
  %19 = call i64 %15(i32 noundef 512, i64 noundef 8, ptr noundef @Ip4AutoConfigCallBack, ptr noundef %16, ptr noundef %18)
  store i64 %19, ptr %5, align 8, !tbaa !23
  %20 = load i64, ptr %5, align 8, !tbaa !23
  %21 = icmp slt i64 %20, 0
  br i1 %21, label %22, label %24

22:                                               ; preds = %12
  %23 = load i64, ptr %5, align 8, !tbaa !23
  store i64 %23, ptr %2, align 8
  store i32 1, ptr %6, align 4
  br label %108

24:                                               ; preds = %12
  %25 = load ptr, ptr @gBS, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %25, i32 0, i32 8
  %27 = load ptr, ptr %26, align 8, !tbaa !20
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = load ptr, ptr %3, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct._IP4_SERVICE, ptr %29, i32 0, i32 19
  %31 = call i64 %27(i32 noundef 512, i64 noundef 16, ptr noundef @Ip4AutoConfigCallBack, ptr noundef %28, ptr noundef %30)
  store i64 %31, ptr %5, align 8, !tbaa !23
  %32 = load i64, ptr %5, align 8, !tbaa !23
  %33 = icmp slt i64 %32, 0
  br i1 %33, label %34, label %35

34:                                               ; preds = %24
  br label %97

35:                                               ; preds = %24
  %36 = load ptr, ptr @gBS, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %36, i32 0, i32 33
  %38 = load ptr, ptr %37, align 8, !tbaa !24
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct._IP4_SERVICE, ptr %39, i32 0, i32 11
  %41 = load ptr, ptr %40, align 8, !tbaa !25
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct._IP4_SERVICE, ptr %42, i32 0, i32 10
  %44 = load ptr, ptr %43, align 8, !tbaa !26
  %45 = load ptr, ptr %3, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct._IP4_SERVICE, ptr %45, i32 0, i32 11
  %47 = load ptr, ptr %46, align 8, !tbaa !25
  %48 = call i64 %38(ptr noundef %41, ptr noundef @gEfiIp4ConfigProtocolGuid, ptr noundef %4, ptr noundef %44, ptr noundef %47, i32 noundef 48)
  store i64 %48, ptr %5, align 8, !tbaa !23
  %49 = load i64, ptr %5, align 8, !tbaa !23
  %50 = icmp slt i64 %49, 0
  br i1 %50, label %51, label %52

51:                                               ; preds = %35
  store i64 -9223372036854775805, ptr %5, align 8, !tbaa !23
  br label %87

52:                                               ; preds = %35
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct._EFI_IP4_CONFIG_PROTOCOL, ptr %53, i32 0, i32 0
  %55 = load ptr, ptr %54, align 8, !tbaa !27
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = load ptr, ptr %3, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct._IP4_SERVICE, ptr %57, i32 0, i32 18
  %59 = load ptr, ptr %58, align 8, !tbaa !29
  %60 = load ptr, ptr %3, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct._IP4_SERVICE, ptr %60, i32 0, i32 19
  %62 = load ptr, ptr %61, align 8, !tbaa !30
  %63 = call i64 %55(ptr noundef %56, ptr noundef %59, ptr noundef %62)
  store i64 %63, ptr %5, align 8, !tbaa !23
  %64 = load i64, ptr %5, align 8, !tbaa !23
  %65 = icmp slt i64 %64, 0
  br i1 %65, label %66, label %80

66:                                               ; preds = %52
  %67 = load ptr, ptr @gBS, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %67, i32 0, i32 34
  %69 = load ptr, ptr %68, align 8, !tbaa !31
  %70 = load ptr, ptr %3, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct._IP4_SERVICE, ptr %70, i32 0, i32 11
  %72 = load ptr, ptr %71, align 8, !tbaa !25
  %73 = load ptr, ptr %3, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct._IP4_SERVICE, ptr %73, i32 0, i32 10
  %75 = load ptr, ptr %74, align 8, !tbaa !26
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct._IP4_SERVICE, ptr %76, i32 0, i32 11
  %78 = load ptr, ptr %77, align 8, !tbaa !25
  %79 = call i64 %69(ptr noundef %72, ptr noundef @gEfiIp4ConfigProtocolGuid, ptr noundef %75, ptr noundef %78)
  br label %87

80:                                               ; preds = %52
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = load ptr, ptr %3, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct._IP4_SERVICE, ptr %82, i32 0, i32 17
  store ptr %81, ptr %83, align 8, !tbaa !32
  %84 = load ptr, ptr %3, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct._IP4_SERVICE, ptr %84, i32 0, i32 2
  store i64 1, ptr %85, align 8, !tbaa !9
  %86 = load i64, ptr %5, align 8, !tbaa !23
  store i64 %86, ptr %2, align 8
  store i32 1, ptr %6, align 4
  br label %108

87:                                               ; preds = %66, %51
  %88 = load ptr, ptr @gBS, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %88, i32 0, i32 12
  %90 = load ptr, ptr %89, align 8, !tbaa !33
  %91 = load ptr, ptr %3, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct._IP4_SERVICE, ptr %91, i32 0, i32 19
  %93 = load ptr, ptr %92, align 8, !tbaa !30
  %94 = call i64 %90(ptr noundef %93)
  %95 = load ptr, ptr %3, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct._IP4_SERVICE, ptr %95, i32 0, i32 19
  store ptr null, ptr %96, align 8, !tbaa !30
  br label %97

97:                                               ; preds = %87, %34
  %98 = load ptr, ptr @gBS, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %98, i32 0, i32 12
  %100 = load ptr, ptr %99, align 8, !tbaa !33
  %101 = load ptr, ptr %3, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct._IP4_SERVICE, ptr %101, i32 0, i32 18
  %103 = load ptr, ptr %102, align 8, !tbaa !29
  %104 = call i64 %100(ptr noundef %103)
  %105 = load ptr, ptr %3, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct._IP4_SERVICE, ptr %105, i32 0, i32 18
  store ptr null, ptr %106, align 8, !tbaa !29
  %107 = load i64, ptr %5, align 8, !tbaa !23
  store i64 %107, ptr %2, align 8
  store i32 1, ptr %6, align 4
  br label %108

108:                                              ; preds = %97, %80, %22, %11
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #2
  %109 = load i64, ptr %2, align 8
  ret i64 %109
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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, !13, i64 24}
!10 = !{!"_IP4_SERVICE", !11, i64 0, !12, i64 8, !13, i64 24, !13, i64 32, !14, i64 40, !14, i64 56, !6, i64 72, !6, i64 80, !15, i64 88, !16, i64 584, !6, i64 608, !6, i64 616, !6, i64 624, !6, i64 632, !17, i64 640, !19, i64 660, !6, i64 1320, !6, i64 1328, !6, i64 1336, !6, i64 1344, !6, i64 1352, !11, i64 1360, !11, i64 1364}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_EFI_SERVICE_BINDING_PROTOCOL", !6, i64 0, !6, i64 8}
!13 = !{!"long long", !7, i64 0}
!14 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!15 = !{!"", !7, i64 0}
!16 = !{!"", !13, i64 0, !14, i64 8}
!17 = !{!"", !11, i64 0, !11, i64 4, !18, i64 8, !7, i64 10, !7, i64 11, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16}
!18 = !{!"short", !7, i64 0}
!19 = !{!"", !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}
!20 = !{!21, !6, i64 80}
!21 = !{!"", !22, 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}
!22 = !{!"", !13, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!23 = !{!13, !13, i64 0}
!24 = !{!21, !6, i64 280}
!25 = !{!10, !6, i64 616}
!26 = !{!10, !6, i64 608}
!27 = !{!28, !6, i64 0}
!28 = !{!"_EFI_IP4_CONFIG_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!10, !6, i64 1336}
!30 = !{!10, !6, i64 1344}
!31 = !{!21, !6, i64 288}
!32 = !{!10, !6, i64 1328}
!33 = !{!21, !6, i64 112}


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

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

@gBS = external local_unnamed_addr global ptr, align 8
@gEfiIp4ConfigProtocolGuid = external global %struct.GUID, align 4

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @Ip4AutoConfigCallBack(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i64 @Ip4StartAutoConfig(ptr noundef %0) local_unnamed_addr #1 {
  %2 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #2
  %3 = getelementptr inbounds i8, ptr %0, i64 24
  %4 = load i64, ptr %3, align 8, !tbaa !5
  %5 = icmp sgt i64 %4, 0
  br i1 %5, label %59, label %6

6:                                                ; preds = %1
  %7 = load ptr, ptr @gBS, align 8, !tbaa !19
  %8 = getelementptr inbounds i8, ptr %7, i64 80
  %9 = load ptr, ptr %8, align 8, !tbaa !20
  %10 = getelementptr inbounds i8, ptr %0, i64 1336
  %11 = tail call i64 %9(i32 noundef 512, i64 noundef 8, ptr noundef nonnull @Ip4AutoConfigCallBack, ptr noundef nonnull %0, ptr noundef nonnull %10) #2
  %12 = icmp slt i64 %11, 0
  br i1 %12, label %59, label %13

13:                                               ; preds = %6
  %14 = load ptr, ptr @gBS, align 8, !tbaa !19
  %15 = getelementptr inbounds i8, ptr %14, i64 80
  %16 = load ptr, ptr %15, align 8, !tbaa !20
  %17 = getelementptr inbounds i8, ptr %0, i64 1344
  %18 = tail call i64 %16(i32 noundef 512, i64 noundef 16, ptr noundef nonnull @Ip4AutoConfigCallBack, ptr noundef nonnull %0, ptr noundef nonnull %17) #2
  %19 = icmp slt i64 %18, 0
  br i1 %19, label %53, label %20

20:                                               ; preds = %13
  %21 = load ptr, ptr @gBS, align 8, !tbaa !19
  %22 = getelementptr inbounds i8, ptr %21, i64 280
  %23 = load ptr, ptr %22, align 8, !tbaa !23
  %24 = getelementptr inbounds i8, ptr %0, i64 616
  %25 = load ptr, ptr %24, align 8, !tbaa !24
  %26 = getelementptr inbounds i8, ptr %0, i64 608
  %27 = load ptr, ptr %26, align 8, !tbaa !25
  %28 = call i64 %23(ptr noundef %25, ptr noundef nonnull @gEfiIp4ConfigProtocolGuid, ptr noundef nonnull %2, ptr noundef %27, ptr noundef %25, i32 noundef 48) #2
  %29 = icmp slt i64 %28, 0
  br i1 %29, label %47, label %30

30:                                               ; preds = %20
  %31 = load ptr, ptr %2, align 8, !tbaa !19
  %32 = load ptr, ptr %31, align 8, !tbaa !26
  %33 = load ptr, ptr %10, align 8, !tbaa !28
  %34 = load ptr, ptr %17, align 8, !tbaa !29
  %35 = call i64 %32(ptr noundef nonnull %31, ptr noundef %33, ptr noundef %34) #2
  %36 = icmp slt i64 %35, 0
  br i1 %36, label %37, label %44

37:                                               ; preds = %30
  %38 = load ptr, ptr @gBS, align 8, !tbaa !19
  %39 = getelementptr inbounds i8, ptr %38, i64 288
  %40 = load ptr, ptr %39, align 8, !tbaa !30
  %41 = load ptr, ptr %24, align 8, !tbaa !24
  %42 = load ptr, ptr %26, align 8, !tbaa !25
  %43 = call i64 %40(ptr noundef %41, ptr noundef nonnull @gEfiIp4ConfigProtocolGuid, ptr noundef %42, ptr noundef %41) #2
  br label %47

44:                                               ; preds = %30
  %45 = load ptr, ptr %2, align 8, !tbaa !19
  %46 = getelementptr inbounds i8, ptr %0, i64 1328
  store ptr %45, ptr %46, align 8, !tbaa !31
  store i64 1, ptr %3, align 8, !tbaa !5
  br label %59

47:                                               ; preds = %20, %37
  %.0 = phi i64 [ %35, %37 ], [ -9223372036854775805, %20 ]
  %48 = load ptr, ptr @gBS, align 8, !tbaa !19
  %49 = getelementptr inbounds i8, ptr %48, i64 112
  %50 = load ptr, ptr %49, align 8, !tbaa !32
  %51 = load ptr, ptr %17, align 8, !tbaa !29
  %52 = call i64 %50(ptr noundef %51) #2
  store ptr null, ptr %17, align 8, !tbaa !29
  br label %53

53:                                               ; preds = %13, %47
  %.1 = phi i64 [ %18, %13 ], [ %.0, %47 ]
  %54 = load ptr, ptr @gBS, align 8, !tbaa !19
  %55 = getelementptr inbounds i8, ptr %54, i64 112
  %56 = load ptr, ptr %55, align 8, !tbaa !32
  %57 = load ptr, ptr %10, align 8, !tbaa !28
  %58 = call i64 %56(ptr noundef %57) #2
  store ptr null, ptr %10, align 8, !tbaa !28
  br label %59

59:                                               ; preds = %6, %1, %53, %44
  %.026 = phi i64 [ %.1, %53 ], [ %35, %44 ], [ 0, %1 ], [ %11, %6 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #2
  ret i64 %.026
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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, !12, i64 24}
!6 = !{!"_IP4_SERVICE", !7, i64 0, !10, i64 8, !12, i64 24, !12, i64 32, !13, i64 40, !13, i64 56, !11, i64 72, !11, i64 80, !14, i64 88, !15, i64 584, !11, i64 608, !11, i64 616, !11, i64 624, !11, i64 632, !16, i64 640, !18, i64 660, !11, i64 1320, !11, i64 1328, !11, i64 1336, !11, i64 1344, !11, i64 1352, !7, i64 1360, !7, i64 1364}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"_EFI_SERVICE_BINDING_PROTOCOL", !11, i64 0, !11, i64 8}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"long long", !8, i64 0}
!13 = !{!"_LIST_ENTRY", !11, i64 0, !11, i64 8}
!14 = !{!"", !8, i64 0}
!15 = !{!"", !12, i64 0, !13, i64 8}
!16 = !{!"", !7, i64 0, !7, i64 4, !17, i64 8, !8, i64 10, !8, i64 11, !8, i64 12, !8, i64 13, !8, i64 14, !8, i64 15, !8, i64 16}
!17 = !{!"short", !8, i64 0}
!18 = !{!"", !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}
!19 = !{!11, !11, i64 0}
!20 = !{!21, !11, i64 80}
!21 = !{!"", !22, 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}
!22 = !{!"", !12, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!23 = !{!21, !11, i64 280}
!24 = !{!6, !11, i64 616}
!25 = !{!6, !11, i64 608}
!26 = !{!27, !11, i64 0}
!27 = !{!"_EFI_IP4_CONFIG_PROTOCOL", !11, i64 0, !11, i64 8, !11, i64 16}
!28 = !{!6, !11, i64 1336}
!29 = !{!6, !11, i64 1344}
!30 = !{!21, !11, i64 288}
!31 = !{!6, !11, i64 1328}
!32 = !{!21, !11, i64 112}


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