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

; 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._IP_IO_IP_INFO = type { %union.EFI_IP_ADDRESS, %union.IP_IO_IP_MASK, %struct._LIST_ENTRY, ptr, %union.IP_IO_IP_PROTOCOL, %union.IP_IO_IP_COMPLETION_TOKEN, i64, i8 }
%union.EFI_IP_ADDRESS = type { [4 x i32] }
%union.IP_IO_IP_MASK = type { i32 }
%struct._LIST_ENTRY = type { ptr, ptr }
%union.IP_IO_IP_PROTOCOL = type { ptr }
%union.IP_IO_IP_COMPLETION_TOKEN = type { %struct.EFI_IP4_COMPLETION_TOKEN }
%struct.EFI_IP4_COMPLETION_TOKEN = type { ptr, i64, %union.anon }
%union.anon = type { ptr }
%struct._IP_IO = type { %struct._LIST_ENTRY, %struct._LIST_ENTRY, ptr, ptr, ptr, %union.IP_IO_IP_PROTOCOL, i8, i8, %union.IP_IO_IP_COMPLETION_TOKEN, %struct._LIST_ENTRY, ptr, ptr, ptr, ptr, 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_IP6_COMPLETION_TOKEN = type { ptr, i64, %union.anon.0 }
%union.anon.0 = type { ptr }

@gBS = external global ptr, align 8
@.str = external hidden unnamed_addr constant [146 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [21 x i8], align 1

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

; 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

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

declare zeroext i8 @DebugAssertEnabled() #2

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

declare ptr @AllocatePool(i64 noundef) #2

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

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

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

declare ptr @InitializeListHead(ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local ptr @IpIoAddIp(ptr noundef %0) #0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  br label %8

8:                                                ; preds = %1
  %9 = call zeroext i8 @DebugAssertEnabled()
  %10 = icmp ne i8 %9, 0
  br i1 %10, label %11, label %16

11:                                               ; preds = %8
  %12 = load ptr, ptr %3, align 8, !tbaa !5
  %13 = icmp ne ptr %12, null
  br i1 %13, label %15, label %14

14:                                               ; preds = %11
  call void @DebugAssert(ptr noundef @.str, i64 noundef 1624, ptr noundef @.str.8)
  br label %15

15:                                               ; preds = %14, %11
  br label %16

16:                                               ; preds = %15, %8
  br label %17

17:                                               ; preds = %16
  br label %18

18:                                               ; preds = %17
  %19 = call ptr @AllocatePool(i64 noundef 96)
  store ptr %19, ptr %5, align 8, !tbaa !5
  %20 = load ptr, ptr %5, align 8, !tbaa !5
  %21 = icmp eq ptr %20, null
  br i1 %21, label %22, label %23

22:                                               ; preds = %18
  store ptr null, ptr %2, align 8
  store i32 1, ptr %7, align 4
  br label %111

23:                                               ; preds = %18
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct._IP_IO_IP_INFO, ptr %24, i32 0, i32 2
  %26 = call ptr @InitializeListHead(ptr noundef %25)
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct._IP_IO_IP_INFO, ptr %27, i32 0, i32 3
  store ptr null, ptr %28, align 8, !tbaa !9
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct._IP_IO_IP_INFO, ptr %29, i32 0, i32 0
  %31 = call ptr @ZeroMem(ptr noundef %30, i64 noundef 16)
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct._IP_IO_IP_INFO, ptr %32, i32 0, i32 1
  %34 = call ptr @ZeroMem(ptr noundef %33, i64 noundef 4)
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct._IP_IO_IP_INFO, ptr %35, i32 0, i32 6
  store i64 1, ptr %36, align 8, !tbaa !13
  %37 = load ptr, ptr %3, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct._IP_IO, ptr %37, i32 0, i32 14
  %39 = load i8, ptr %38, align 8, !tbaa !14
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct._IP_IO_IP_INFO, ptr %40, i32 0, i32 7
  store i8 %39, ptr %41, align 8, !tbaa !16
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct._IP_IO, ptr %42, i32 0, i32 2
  %44 = load ptr, ptr %43, align 8, !tbaa !17
  %45 = load ptr, ptr %3, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct._IP_IO, ptr %45, i32 0, i32 3
  %47 = load ptr, ptr %46, align 8, !tbaa !18
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct._IP_IO_IP_INFO, ptr %48, i32 0, i32 3
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct._IP_IO_IP_INFO, ptr %50, i32 0, i32 7
  %52 = load i8, ptr %51, align 8, !tbaa !16
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct._IP_IO_IP_INFO, ptr %53, i32 0, i32 4
  %55 = call i64 @IpIoCreateIpChildOpenProtocol(ptr noundef %44, ptr noundef %47, ptr noundef %49, i8 noundef zeroext %52, ptr noundef %54)
  store i64 %55, ptr %4, align 8, !tbaa !19
  %56 = load i64, ptr %4, align 8, !tbaa !19
  %57 = icmp slt i64 %56, 0
  br i1 %57, label %58, label %59

58:                                               ; preds = %23
  br label %105

59:                                               ; preds = %23
  %60 = load ptr, ptr @gBS, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %60, i32 0, i32 8
  %62 = load ptr, ptr %61, align 8, !tbaa !20
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = call i64 %62(i32 noundef 512, i64 noundef 16, ptr noundef @IpIoDummyHandler, ptr noundef %63, ptr noundef %6)
  store i64 %64, ptr %4, align 8, !tbaa !19
  %65 = load i64, ptr %4, align 8, !tbaa !19
  %66 = icmp slt i64 %65, 0
  br i1 %66, label %67, label %68

67:                                               ; preds = %59
  br label %91

68:                                               ; preds = %59
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct._IP_IO_IP_INFO, ptr %69, i32 0, i32 7
  %71 = load i8, ptr %70, align 8, !tbaa !16
  %72 = zext i8 %71 to i32
  %73 = icmp eq i32 %72, 4
  br i1 %73, label %74, label %79

74:                                               ; preds = %68
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct._IP_IO_IP_INFO, ptr %76, i32 0, i32 5
  %78 = getelementptr inbounds %struct.EFI_IP4_COMPLETION_TOKEN, ptr %77, i32 0, i32 0
  store ptr %75, ptr %78, align 8, !tbaa !24
  br label %84

79:                                               ; preds = %68
  %80 = load ptr, ptr %6, align 8, !tbaa !5
  %81 = load ptr, ptr %5, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct._IP_IO_IP_INFO, ptr %81, i32 0, i32 5
  %83 = getelementptr inbounds %struct.EFI_IP6_COMPLETION_TOKEN, ptr %82, i32 0, i32 0
  store ptr %80, ptr %83, align 8, !tbaa !24
  br label %84

84:                                               ; preds = %79, %74
  %85 = load ptr, ptr %3, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct._IP_IO, ptr %85, i32 0, i32 1
  %87 = load ptr, ptr %5, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct._IP_IO_IP_INFO, ptr %87, i32 0, i32 2
  %89 = call ptr @InsertTailList(ptr noundef %86, ptr noundef %88)
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %90, ptr %2, align 8
  store i32 1, ptr %7, align 4
  br label %111

91:                                               ; preds = %67
  %92 = load ptr, ptr %3, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct._IP_IO, ptr %92, i32 0, i32 2
  %94 = load ptr, ptr %93, align 8, !tbaa !17
  %95 = load ptr, ptr %3, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct._IP_IO, ptr %95, i32 0, i32 3
  %97 = load ptr, ptr %96, align 8, !tbaa !18
  %98 = load ptr, ptr %5, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct._IP_IO_IP_INFO, ptr %98, i32 0, i32 3
  %100 = load ptr, ptr %99, align 8, !tbaa !9
  %101 = load ptr, ptr %5, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct._IP_IO_IP_INFO, ptr %101, i32 0, i32 7
  %103 = load i8, ptr %102, align 8, !tbaa !16
  %104 = call i64 @IpIoCloseProtocolDestroyIpChild(ptr noundef %94, ptr noundef %97, ptr noundef %100, i8 noundef zeroext %103)
  br label %105

105:                                              ; preds = %91, %58
  %106 = load ptr, ptr @gBS, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %106, i32 0, i32 7
  %108 = load ptr, ptr %107, align 8, !tbaa !25
  %109 = load ptr, ptr %5, align 8, !tbaa !5
  %110 = call i64 %108(ptr noundef %109)
  store ptr null, ptr %2, align 8
  store i32 1, ptr %7, align 4
  br label %111

111:                                              ; preds = %105, %84, %22
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  %112 = load ptr, ptr %2, align 8
  ret ptr %112
}

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 40}
!10 = !{!"_IP_IO_IP_INFO", !7, i64 0, !7, i64 16, !11, i64 24, !6, i64 40, !7, i64 48, !7, i64 56, !12, i64 80, !7, i64 88}
!11 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!12 = !{!"long long", !7, i64 0}
!13 = !{!10, !12, i64 80}
!14 = !{!15, !7, i64 144}
!15 = !{!"_IP_IO", !11, i64 0, !11, i64 16, !6, i64 32, !6, i64 40, !6, i64 48, !7, i64 56, !7, i64 64, !7, i64 65, !7, i64 72, !11, i64 96, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !7, i64 144}
!16 = !{!10, !7, i64 88}
!17 = !{!15, !6, i64 32}
!18 = !{!15, !6, i64 40}
!19 = !{!12, !12, i64 0}
!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 = !{!"", !12, i64 0, !23, i64 8, !23, i64 12, !23, i64 16, !23, i64 20}
!23 = !{!"int", !7, i64 0}
!24 = !{!7, !7, i64 0}
!25 = !{!21, !6, i64 72}


; 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"

@gBS = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [146 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [21 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i64 @IpIoCreateIpChildOpenProtocol(ptr noundef, ptr noundef, ptr noundef, i8 noundef zeroext, ptr noundef) local_unnamed_addr #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

; Function Attrs: nounwind uwtable
declare dso_local i64 @IpIoCloseProtocolDestroyIpChild(ptr noundef, ptr noundef, ptr noundef, i8 noundef zeroext) local_unnamed_addr #0

declare zeroext i8 @DebugAssertEnabled() local_unnamed_addr #2

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

declare ptr @AllocatePool(i64 noundef) local_unnamed_addr #2

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

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

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

declare ptr @InitializeListHead(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local ptr @IpIoAddIp(ptr noundef %0) local_unnamed_addr #0 {
  %2 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
  %3 = tail call zeroext i8 @DebugAssertEnabled() #3
  %4 = icmp eq i8 %3, 0
  %5 = icmp ne ptr %0, null
  %or.cond = or i1 %5, %4
  br i1 %or.cond, label %7, label %6

6:                                                ; preds = %1
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 1624, ptr noundef nonnull @.str.8) #3
  br label %7

7:                                                ; preds = %6, %1
  %8 = tail call ptr @AllocatePool(i64 noundef 96) #3
  %9 = icmp eq ptr %8, null
  br i1 %9, label %49, label %10

10:                                               ; preds = %7
  %11 = getelementptr inbounds i8, ptr %8, i64 24
  %12 = tail call ptr @InitializeListHead(ptr noundef nonnull %11) #3
  %13 = getelementptr inbounds i8, ptr %8, i64 40
  store ptr null, ptr %13, align 8, !tbaa !5
  %14 = tail call ptr @ZeroMem(ptr noundef nonnull %8, i64 noundef 16) #3
  %15 = getelementptr inbounds i8, ptr %8, i64 16
  %16 = tail call ptr @ZeroMem(ptr noundef nonnull %15, i64 noundef 4) #3
  %17 = getelementptr inbounds i8, ptr %8, i64 80
  store i64 1, ptr %17, align 8, !tbaa !12
  %18 = getelementptr inbounds i8, ptr %0, i64 144
  %19 = load i8, ptr %18, align 8, !tbaa !13
  %20 = getelementptr inbounds i8, ptr %8, i64 88
  store i8 %19, ptr %20, align 8, !tbaa !15
  %21 = getelementptr inbounds i8, ptr %0, i64 32
  %22 = load ptr, ptr %21, align 8, !tbaa !16
  %23 = getelementptr inbounds i8, ptr %0, i64 40
  %24 = load ptr, ptr %23, align 8, !tbaa !17
  %25 = getelementptr inbounds i8, ptr %8, i64 48
  %26 = tail call i64 @IpIoCreateIpChildOpenProtocol(ptr noundef %22, ptr noundef %24, ptr noundef nonnull %13, i8 noundef zeroext %19, ptr noundef nonnull %25)
  %27 = icmp slt i64 %26, 0
  br i1 %27, label %44, label %28

28:                                               ; preds = %10
  %29 = load ptr, ptr @gBS, align 8, !tbaa !18
  %30 = getelementptr inbounds i8, ptr %29, i64 80
  %31 = load ptr, ptr %30, align 8, !tbaa !19
  %32 = call i64 %31(i32 noundef 512, i64 noundef 16, ptr noundef nonnull @IpIoDummyHandler, ptr noundef nonnull %8, ptr noundef nonnull %2) #3
  %33 = icmp slt i64 %32, 0
  br i1 %33, label %38, label %34

34:                                               ; preds = %28
  %.sink = load ptr, ptr %2, align 8, !tbaa !18
  %35 = getelementptr inbounds i8, ptr %8, i64 56
  store ptr %.sink, ptr %35, align 8
  %36 = getelementptr inbounds i8, ptr %0, i64 16
  %37 = call ptr @InsertTailList(ptr noundef nonnull %36, ptr noundef nonnull %11) #3
  br label %49

38:                                               ; preds = %28
  %39 = load ptr, ptr %21, align 8, !tbaa !16
  %40 = load ptr, ptr %23, align 8, !tbaa !17
  %41 = load ptr, ptr %13, align 8, !tbaa !5
  %42 = load i8, ptr %20, align 8, !tbaa !15
  %43 = call i64 @IpIoCloseProtocolDestroyIpChild(ptr noundef %39, ptr noundef %40, ptr noundef %41, i8 noundef zeroext %42)
  br label %44

44:                                               ; preds = %10, %38
  %45 = load ptr, ptr @gBS, align 8, !tbaa !18
  %46 = getelementptr inbounds i8, ptr %45, i64 72
  %47 = load ptr, ptr %46, align 8, !tbaa !23
  %48 = call i64 %47(ptr noundef nonnull %8) #3
  br label %49

49:                                               ; preds = %7, %44, %34
  %.0 = phi ptr [ null, %44 ], [ %8, %34 ], [ null, %7 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
  ret ptr %.0
}

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, !10, i64 40}
!6 = !{!"_IP_IO_IP_INFO", !7, i64 0, !7, i64 16, !9, i64 24, !10, i64 40, !7, i64 48, !7, i64 56, !11, i64 80, !7, i64 88}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"_LIST_ENTRY", !10, i64 0, !10, i64 8}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!"long long", !7, i64 0}
!12 = !{!6, !11, i64 80}
!13 = !{!14, !7, i64 144}
!14 = !{!"_IP_IO", !9, i64 0, !9, i64 16, !10, i64 32, !10, i64 40, !10, i64 48, !7, i64 56, !7, i64 64, !7, i64 65, !7, i64 72, !9, i64 96, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !7, i64 144}
!15 = !{!6, !7, i64 88}
!16 = !{!14, !10, i64 32}
!17 = !{!14, !10, i64 40}
!18 = !{!10, !10, i64 0}
!19 = !{!20, !10, i64 80}
!20 = !{!"", !21, i64 0, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !10, i64 272, !10, i64 280, !10, i64 288, !10, i64 296, !10, i64 304, !10, i64 312, !10, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !10, i64 352, !10, i64 360, !10, i64 368}
!21 = !{!"", !11, i64 0, !22, i64 8, !22, i64 12, !22, i64 16, !22, i64 20}
!22 = !{!"int", !7, i64 0}
!23 = !{!20, !10, i64 72}


; Effective O3 passes: ADCEPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,MergedLoadStoreMotionPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass