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

; 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.UDP6_DESTROY_CHILD_IN_HANDLE_BUF_CONTEXT = type { ptr, i64, ptr }
%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._UDP6_SERVICE_DATA = type { i32, %struct._EFI_SERVICE_BINDING_PROTOCOL, ptr, ptr, %struct._LIST_ENTRY, i64, ptr, ptr }
%struct._EFI_SERVICE_BINDING_PROTOCOL = type { ptr, ptr }
%struct._LIST_ENTRY = type { ptr, ptr }

@gBS = external global ptr, align 8
@gEfiUdp6ServiceBindingProtocolGuid = external global %struct.GUID, align 4
@.str = external hidden unnamed_addr constant [133 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [21 x i8], align 1
@gEfiIp6ProtocolGuid = external global %struct.GUID, align 4

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

21:                                               ; preds = %4
  store i64 0, ptr %5, align 8
  store i32 1, ptr %16, align 4
  br label %87

22:                                               ; preds = %4
  %23 = load ptr, ptr @gBS, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %23, i32 0, i32 33
  %25 = load ptr, ptr %24, align 8, !tbaa !11
  %26 = load ptr, ptr %11, align 8, !tbaa !5
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct._EFI_DRIVER_BINDING_PROTOCOL, ptr %27, i32 0, i32 5
  %29 = load ptr, ptr %28, align 8, !tbaa !15
  %30 = load ptr, ptr %11, align 8, !tbaa !5
  %31 = call i64 %25(ptr noundef %26, ptr noundef @gEfiUdp6ServiceBindingProtocolGuid, ptr noundef %12, ptr noundef %29, ptr noundef %30, i32 noundef 2)
  store i64 %31, ptr %10, align 8, !tbaa !9
  %32 = load i64, ptr %10, align 8, !tbaa !9
  %33 = icmp slt i64 %32, 0
  br i1 %33, label %34, label %35

34:                                               ; preds = %22
  store i64 -9223372036854775801, ptr %5, align 8
  store i32 1, ptr %16, align 4
  br label %87

35:                                               ; preds = %22
  %36 = call zeroext i8 @DebugAssertEnabled()
  %37 = zext i8 %36 to i32
  %38 = icmp ne i32 %37, 0
  br i1 %38, label %39, label %49

39:                                               ; preds = %35
  %40 = load ptr, ptr %12, align 8, !tbaa !5
  %41 = ptrtoint ptr %40 to i64
  %42 = sub i64 %41, ptrtoint (ptr getelementptr inbounds (%struct._UDP6_SERVICE_DATA, ptr null, i32 0, i32 1) to i64)
  %43 = inttoptr i64 %42 to ptr
  %44 = getelementptr inbounds %struct._UDP6_SERVICE_DATA, ptr %43, i32 0, i32 0
  %45 = load i32, ptr %44, align 8, !tbaa !17
  %46 = icmp ne i32 %45, 913335381
  br i1 %46, label %47, label %49

47:                                               ; preds = %39
  call void @DebugAssert(ptr noundef @.str, i64 noundef 276, ptr noundef @.str.1)
  %48 = load ptr, ptr %12, align 8, !tbaa !5
  br label %54

49:                                               ; preds = %39, %35
  %50 = load ptr, ptr %12, align 8, !tbaa !5
  %51 = ptrtoint ptr %50 to i64
  %52 = sub i64 %51, ptrtoint (ptr getelementptr inbounds (%struct._UDP6_SERVICE_DATA, ptr null, i32 0, i32 1) to i64)
  %53 = inttoptr i64 %52 to ptr
  br label %54

54:                                               ; preds = %49, %47
  %55 = phi ptr [ %48, %47 ], [ %53, %49 ]
  store ptr %55, ptr %13, align 8, !tbaa !5
  %56 = load i64, ptr %8, align 8, !tbaa !9
  %57 = icmp ne i64 %56, 0
  br i1 %57, label %58, label %69

58:                                               ; preds = %54
  %59 = load ptr, ptr %13, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct._UDP6_SERVICE_DATA, ptr %59, i32 0, i32 4
  store ptr %60, ptr %14, align 8, !tbaa !5
  %61 = load ptr, ptr %12, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.UDP6_DESTROY_CHILD_IN_HANDLE_BUF_CONTEXT, ptr %15, i32 0, i32 0
  store ptr %61, ptr %62, align 8, !tbaa !21
  %63 = load i64, ptr %8, align 8, !tbaa !9
  %64 = getelementptr inbounds %struct.UDP6_DESTROY_CHILD_IN_HANDLE_BUF_CONTEXT, ptr %15, i32 0, i32 1
  store i64 %63, ptr %64, align 8, !tbaa !23
  %65 = load ptr, ptr %9, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.UDP6_DESTROY_CHILD_IN_HANDLE_BUF_CONTEXT, ptr %15, i32 0, i32 2
  store ptr %65, ptr %66, align 8, !tbaa !24
  %67 = load ptr, ptr %14, align 8, !tbaa !5
  %68 = call i64 @NetDestroyLinkList(ptr noundef %67, ptr noundef @Udp6DestroyChildEntryInHandleBuffer, ptr noundef %15, ptr noundef null)
  store i64 %68, ptr %10, align 8, !tbaa !9
  br label %85

69:                                               ; preds = %54
  %70 = load ptr, ptr %13, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct._UDP6_SERVICE_DATA, ptr %70, i32 0, i32 4
  %72 = call zeroext i8 @IsListEmpty(ptr noundef %71)
  %73 = icmp ne i8 %72, 0
  br i1 %73, label %74, label %84

74:                                               ; preds = %69
  %75 = load ptr, ptr @gBS, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %75, i32 0, i32 40
  %77 = load ptr, ptr %76, align 8, !tbaa !25
  %78 = load ptr, ptr %11, align 8, !tbaa !5
  %79 = load ptr, ptr %13, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct._UDP6_SERVICE_DATA, ptr %79, i32 0, i32 1
  %81 = call i64 (ptr, ...) %77(ptr noundef %78, ptr noundef @gEfiUdp6ServiceBindingProtocolGuid, ptr noundef %80, ptr noundef null)
  %82 = load ptr, ptr %13, align 8, !tbaa !5
  call void @Udp6CleanService(ptr noundef %82)
  %83 = load ptr, ptr %13, align 8, !tbaa !5
  call void @FreePool(ptr noundef %83)
  store i64 0, ptr %10, align 8, !tbaa !9
  br label %84

84:                                               ; preds = %74, %69
  br label %85

85:                                               ; preds = %84, %58
  %86 = load i64, ptr %10, align 8, !tbaa !9
  store i64 %86, ptr %5, align 8
  store i32 1, ptr %16, align 4
  br label %87

87:                                               ; preds = %85, %34, %21
  call void @llvm.lifetime.end.p0(i64 24, 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 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  %88 = load i64, ptr %5, align 8
  ret i64 %88
}

; 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 void @Udp6CleanService(ptr noundef) #2

declare void @FreePool(ptr noundef) #2

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

declare zeroext i8 @DebugAssertEnabled() #2

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

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

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

declare zeroext i8 @IsListEmpty(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, !10, i64 0}
!10 = !{!"long long", !7, i64 0}
!11 = !{!12, !6, i64 280}
!12 = !{!"", !13, 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}
!13 = !{!"", !10, i64 0, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !6, i64 40}
!16 = !{!"_EFI_DRIVER_BINDING_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !14, i64 24, !6, i64 32, !6, i64 40}
!17 = !{!18, !14, i64 0}
!18 = !{!"_UDP6_SERVICE_DATA", !14, i64 0, !19, i64 8, !6, i64 24, !6, i64 32, !20, i64 40, !10, i64 56, !6, i64 64, !6, i64 72}
!19 = !{!"_EFI_SERVICE_BINDING_PROTOCOL", !6, i64 0, !6, i64 8}
!20 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!21 = !{!22, !6, i64 0}
!22 = !{!"", !6, i64 0, !10, i64 8, !6, i64 16}
!23 = !{!22, !10, i64 8}
!24 = !{!22, !6, i64 16}
!25 = !{!12, !6, i64 336}


; 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.UDP6_DESTROY_CHILD_IN_HANDLE_BUF_CONTEXT = type { ptr, i64, ptr }

@gBS = external local_unnamed_addr global ptr, align 8
@gEfiUdp6ServiceBindingProtocolGuid = external global %struct.GUID, align 4
@.str = external hidden unnamed_addr constant [133 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [21 x i8], align 1
@gEfiIp6ProtocolGuid = external global %struct.GUID, align 4

; Function Attrs: nounwind uwtable
define dso_local i64 @Udp6DriverBindingStop(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
  %5 = alloca ptr, align 8
  %6 = alloca %struct.UDP6_DESTROY_CHILD_IN_HANDLE_BUF_CONTEXT, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #3
  %7 = tail call ptr @NetLibGetNicHandle(ptr noundef %1, ptr noundef nonnull @gEfiIp6ProtocolGuid) #3
  %8 = icmp eq ptr %7, null
  br i1 %8, label %38, label %9

9:                                                ; preds = %4
  %10 = load ptr, ptr @gBS, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %10, i64 280
  %12 = load ptr, ptr %11, align 8, !tbaa !9
  %13 = getelementptr inbounds i8, ptr %0, i64 40
  %14 = load ptr, ptr %13, align 8, !tbaa !14
  %15 = call i64 %12(ptr noundef nonnull %7, ptr noundef nonnull @gEfiUdp6ServiceBindingProtocolGuid, ptr noundef nonnull %5, ptr noundef %14, ptr noundef nonnull %7, i32 noundef 2) #3
  %16 = icmp slt i64 %15, 0
  br i1 %16, label %38, label %17

17:                                               ; preds = %9
  %18 = call zeroext i8 @DebugAssertEnabled() #3
  %.not = icmp eq i8 %18, 0
  %.pre = load ptr, ptr %5, align 8, !tbaa !5
  %.pre24 = ptrtoint ptr %.pre to i64
  %.pre25 = add i64 %.pre24, -8
  %.pre27 = inttoptr i64 %.pre25 to ptr
  br i1 %.not, label %._crit_edge, label %19

19:                                               ; preds = %17
  %20 = load i32, ptr %.pre27, align 8, !tbaa !16
  %.not21 = icmp eq i32 %20, 913335381
  br i1 %.not21, label %._crit_edge, label %21

21:                                               ; preds = %19
  call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 276, ptr noundef nonnull @.str.1) #3
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %17, %19, %21
  %23 = phi ptr [ %22, %21 ], [ %.pre, %19 ], [ %.pre, %17 ]
  %24 = phi ptr [ %22, %21 ], [ %.pre27, %19 ], [ %.pre27, %17 ]
  %.not22 = icmp eq i64 %2, 0
  %25 = getelementptr inbounds i8, ptr %24, i64 40
  br i1 %.not22, label %30, label %26

26:                                               ; preds = %._crit_edge
  store ptr %23, ptr %6, align 8, !tbaa !20
  %27 = getelementptr inbounds i8, ptr %6, i64 8
  store i64 %2, ptr %27, align 8, !tbaa !22
  %28 = getelementptr inbounds i8, ptr %6, i64 16
  store ptr %3, ptr %28, align 8, !tbaa !23
  %29 = call i64 @NetDestroyLinkList(ptr noundef nonnull %25, ptr noundef nonnull @Udp6DestroyChildEntryInHandleBuffer, ptr noundef nonnull %6, ptr noundef null) #3
  br label %38

30:                                               ; preds = %._crit_edge
  %31 = call zeroext i8 @IsListEmpty(ptr noundef nonnull %25) #3
  %.not23 = icmp eq i8 %31, 0
  br i1 %.not23, label %38, label %32

32:                                               ; preds = %30
  %33 = load ptr, ptr @gBS, align 8, !tbaa !5
  %34 = getelementptr inbounds i8, ptr %33, i64 336
  %35 = load ptr, ptr %34, align 8, !tbaa !24
  %36 = getelementptr inbounds i8, ptr %24, i64 8
  %37 = call i64 (ptr, ...) %35(ptr noundef nonnull %7, ptr noundef nonnull @gEfiUdp6ServiceBindingProtocolGuid, ptr noundef nonnull %36, ptr noundef null) #3
  call void @Udp6CleanService(ptr noundef %24) #3
  call void @FreePool(ptr noundef %24) #3
  br label %38

38:                                               ; preds = %26, %32, %30, %9, %4
  %.0 = phi i64 [ 0, %4 ], [ -9223372036854775801, %9 ], [ %29, %26 ], [ 0, %32 ], [ %15, %30 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  ret i64 %.0
}

; 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 void @Udp6CleanService(ptr noundef) local_unnamed_addr #2

declare void @FreePool(ptr noundef) local_unnamed_addr #2

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

declare zeroext i8 @DebugAssertEnabled() local_unnamed_addr #2

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

declare ptr @NetLibGetNicHandle(ptr noundef, ptr noundef) local_unnamed_addr #2

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

declare zeroext i8 @IsListEmpty(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 280}
!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 = !{!15, !6, i64 40}
!15 = !{!"_EFI_DRIVER_BINDING_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !13, i64 24, !6, i64 32, !6, i64 40}
!16 = !{!17, !13, i64 0}
!17 = !{!"_UDP6_SERVICE_DATA", !13, i64 0, !18, i64 8, !6, i64 24, !6, i64 32, !19, i64 40, !12, i64 56, !6, i64 64, !6, i64 72}
!18 = !{!"_EFI_SERVICE_BINDING_PROTOCOL", !6, i64 0, !6, i64 8}
!19 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!20 = !{!21, !6, i64 0}
!21 = !{!"", !6, i64 0, !12, i64 8, !6, i64 16}
!22 = !{!21, !12, i64 8}
!23 = !{!21, !6, i64 16}
!24 = !{!10, !6, i64 336}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass