; LLVM IR from thalium/icebox :: third_party/virtualbox/src/VBox/Devices/EFI/Firmware/OvmfPkg/QemuVideoDxe (QemuVideoGraphicsOutputConstructor)

; 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.QEMU_VIDEO_PRIVATE_DATA = type { i64, ptr, ptr, i64, %struct._EFI_GRAPHICS_OUTPUT_PROTOCOL, ptr, i64, i64, ptr, ptr, i32 }
%struct._EFI_GRAPHICS_OUTPUT_PROTOCOL = type { ptr, ptr, ptr, 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_GRAPHICS_OUTPUT_PROTOCOL_MODE = type { i32, i32, ptr, i64, i64, i64 }
%struct.QEMU_VIDEO_MODE_DATA = type { i32, i32, i32, i32, i32 }

@gBS = external global ptr, align 8

; Function Attrs: nounwind uwtable
declare dso_local i64 @QemuVideoGraphicsOutputQueryMode(ptr noundef, i32 noundef, ptr noundef, 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 @QemuVideoGraphicsOutputSetMode(ptr noundef, i32 noundef) #0

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

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

24:                                               ; preds = %1
  %25 = load i64, ptr %4, align 8, !tbaa !18
  store i64 %25, ptr %2, align 8
  store i32 1, ptr %6, align 4
  br label %110

26:                                               ; preds = %1
  %27 = load ptr, ptr @gBS, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %27, i32 0, i32 6
  %29 = load ptr, ptr %28, align 8, !tbaa !13
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.QEMU_VIDEO_PRIVATE_DATA, ptr %30, i32 0, i32 4
  %32 = getelementptr inbounds %struct._EFI_GRAPHICS_OUTPUT_PROTOCOL, ptr %31, i32 0, i32 3
  %33 = load ptr, ptr %32, align 8, !tbaa !19
  %34 = getelementptr inbounds %struct.EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE, ptr %33, i32 0, i32 2
  %35 = call i64 %29(i32 noundef 4, i64 noundef 36, ptr noundef %34)
  store i64 %35, ptr %4, align 8, !tbaa !18
  %36 = load i64, ptr %4, align 8, !tbaa !18
  %37 = icmp slt i64 %36, 0
  br i1 %37, label %38, label %39

38:                                               ; preds = %26
  br label %101

39:                                               ; preds = %26
  %40 = load ptr, ptr %3, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.QEMU_VIDEO_PRIVATE_DATA, ptr %40, i32 0, i32 7
  %42 = load i64, ptr %41, align 8, !tbaa !21
  %43 = trunc i64 %42 to i32
  %44 = load ptr, ptr %3, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.QEMU_VIDEO_PRIVATE_DATA, ptr %44, i32 0, i32 4
  %46 = getelementptr inbounds %struct._EFI_GRAPHICS_OUTPUT_PROTOCOL, ptr %45, i32 0, i32 3
  %47 = load ptr, ptr %46, align 8, !tbaa !19
  %48 = getelementptr inbounds %struct.EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE, ptr %47, i32 0, i32 0
  store i32 %43, ptr %48, align 8, !tbaa !22
  %49 = load ptr, ptr %3, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.QEMU_VIDEO_PRIVATE_DATA, ptr %49, i32 0, i32 4
  %51 = getelementptr inbounds %struct._EFI_GRAPHICS_OUTPUT_PROTOCOL, ptr %50, i32 0, i32 3
  %52 = load ptr, ptr %51, align 8, !tbaa !19
  %53 = getelementptr inbounds %struct.EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE, ptr %52, i32 0, i32 1
  store i32 65535, ptr %53, align 4, !tbaa !24
  %54 = load ptr, ptr %3, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.QEMU_VIDEO_PRIVATE_DATA, ptr %54, i32 0, i32 9
  store ptr null, ptr %55, align 8, !tbaa !25
  %56 = load ptr, ptr %5, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct._EFI_GRAPHICS_OUTPUT_PROTOCOL, ptr %56, i32 0, i32 1
  %58 = load ptr, ptr %57, align 8, !tbaa !11
  %59 = load ptr, ptr %5, align 8, !tbaa !5
  %60 = call i64 %58(ptr noundef %59, i32 noundef 0)
  store i64 %60, ptr %4, align 8, !tbaa !18
  %61 = load i64, ptr %4, align 8, !tbaa !18
  %62 = icmp slt i64 %61, 0
  br i1 %62, label %63, label %64

63:                                               ; preds = %39
  br label %94

64:                                               ; preds = %39
  %65 = load ptr, ptr %3, align 8, !tbaa !5
  %66 = load ptr, ptr %3, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.QEMU_VIDEO_PRIVATE_DATA, ptr %66, i32 0, i32 8
  %68 = load ptr, ptr %67, align 8, !tbaa !26
  %69 = load ptr, ptr %3, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.QEMU_VIDEO_PRIVATE_DATA, ptr %69, i32 0, i32 4
  %71 = getelementptr inbounds %struct._EFI_GRAPHICS_OUTPUT_PROTOCOL, ptr %70, i32 0, i32 3
  %72 = load ptr, ptr %71, align 8, !tbaa !19
  %73 = getelementptr inbounds %struct.EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE, ptr %72, i32 0, i32 1
  %74 = load i32, ptr %73, align 4, !tbaa !24
  %75 = zext i32 %74 to i64
  %76 = getelementptr inbounds %struct.QEMU_VIDEO_MODE_DATA, ptr %68, i64 %75
  %77 = getelementptr inbounds %struct.QEMU_VIDEO_MODE_DATA, ptr %76, i32 0, i32 1
  %78 = load i32, ptr %77, align 4, !tbaa !27
  %79 = zext i32 %78 to i64
  %80 = load ptr, ptr %3, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.QEMU_VIDEO_PRIVATE_DATA, ptr %80, i32 0, i32 8
  %82 = load ptr, ptr %81, align 8, !tbaa !26
  %83 = load ptr, ptr %3, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.QEMU_VIDEO_PRIVATE_DATA, ptr %83, i32 0, i32 4
  %85 = getelementptr inbounds %struct._EFI_GRAPHICS_OUTPUT_PROTOCOL, ptr %84, i32 0, i32 3
  %86 = load ptr, ptr %85, align 8, !tbaa !19
  %87 = getelementptr inbounds %struct.EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE, ptr %86, i32 0, i32 1
  %88 = load i32, ptr %87, align 4, !tbaa !24
  %89 = zext i32 %88 to i64
  %90 = getelementptr inbounds %struct.QEMU_VIDEO_MODE_DATA, ptr %82, i64 %89
  %91 = getelementptr inbounds %struct.QEMU_VIDEO_MODE_DATA, ptr %90, i32 0, i32 2
  %92 = load i32, ptr %91, align 4, !tbaa !29
  %93 = zext i32 %92 to i64
  call void @DrawLogo(ptr noundef %65, i64 noundef %79, i64 noundef %93)
  store i64 0, ptr %2, align 8
  store i32 1, ptr %6, align 4
  br label %110

94:                                               ; preds = %63
  %95 = load ptr, ptr %3, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.QEMU_VIDEO_PRIVATE_DATA, ptr %95, i32 0, i32 4
  %97 = getelementptr inbounds %struct._EFI_GRAPHICS_OUTPUT_PROTOCOL, ptr %96, i32 0, i32 3
  %98 = load ptr, ptr %97, align 8, !tbaa !19
  %99 = getelementptr inbounds %struct.EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE, ptr %98, i32 0, i32 2
  %100 = load ptr, ptr %99, align 8, !tbaa !30
  call void @FreePool(ptr noundef %100)
  br label %101

101:                                              ; preds = %94, %38
  %102 = load ptr, ptr %3, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.QEMU_VIDEO_PRIVATE_DATA, ptr %102, i32 0, i32 4
  %104 = getelementptr inbounds %struct._EFI_GRAPHICS_OUTPUT_PROTOCOL, ptr %103, i32 0, i32 3
  %105 = load ptr, ptr %104, align 8, !tbaa !19
  call void @FreePool(ptr noundef %105)
  %106 = load ptr, ptr %3, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.QEMU_VIDEO_PRIVATE_DATA, ptr %106, i32 0, i32 4
  %108 = getelementptr inbounds %struct._EFI_GRAPHICS_OUTPUT_PROTOCOL, ptr %107, i32 0, i32 3
  store ptr null, ptr %108, align 8, !tbaa !19
  %109 = load i64, ptr %4, align 8, !tbaa !18
  store i64 %109, ptr %2, align 8
  store i32 1, ptr %6, align 4
  br label %110

110:                                              ; preds = %101, %64, %24
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  %111 = load i64, ptr %2, align 8
  ret i64 %111
}

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

declare void @FreePool(ptr noundef) #2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_EFI_GRAPHICS_OUTPUT_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!11 = !{!10, !6, i64 8}
!12 = !{!10, !6, i64 16}
!13 = !{!14, !6, i64 64}
!14 = !{!"", !15, 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}
!15 = !{!"", !16, i64 0, !17, i64 8, !17, i64 12, !17, i64 16, !17, i64 20}
!16 = !{!"long long", !7, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = !{!16, !16, i64 0}
!19 = !{!20, !6, i64 56}
!20 = !{!"", !16, i64 0, !6, i64 8, !6, i64 16, !16, i64 24, !10, i64 32, !6, i64 64, !16, i64 72, !16, i64 80, !6, i64 88, !6, i64 96, !17, i64 104}
!21 = !{!20, !16, i64 80}
!22 = !{!23, !17, i64 0}
!23 = !{!"", !17, i64 0, !17, i64 4, !6, i64 8, !16, i64 16, !16, i64 24, !16, i64 32}
!24 = !{!23, !17, i64 4}
!25 = !{!20, !6, i64 96}
!26 = !{!20, !6, i64 88}
!27 = !{!28, !17, i64 4}
!28 = !{!"", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12, !17, i64 16}
!29 = !{!28, !17, i64 8}
!30 = !{!23, !6, i64 8}


; 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.QEMU_VIDEO_MODE_DATA = type { i32, i32, i32, i32, i32 }

@gBS = external local_unnamed_addr global ptr, align 8

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

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

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

; Function Attrs: nounwind uwtable
define dso_local range(i64 -9223372036854775808, 1) i64 @QemuVideoGraphicsOutputConstructor(ptr noundef %0) local_unnamed_addr #0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 32
  store ptr @QemuVideoGraphicsOutputQueryMode, ptr %2, align 8, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %0, i64 40
  store ptr @QemuVideoGraphicsOutputSetMode, ptr %3, align 8, !tbaa !10
  %4 = getelementptr inbounds i8, ptr %0, i64 48
  store ptr @QemuVideoGraphicsOutputBlt, ptr %4, align 8, !tbaa !11
  %5 = load ptr, ptr @gBS, align 8, !tbaa !12
  %6 = getelementptr inbounds i8, ptr %5, i64 64
  %7 = load ptr, ptr %6, align 8, !tbaa !13
  %8 = getelementptr inbounds i8, ptr %0, i64 56
  %9 = tail call i64 %7(i32 noundef 4, i64 noundef 40, ptr noundef nonnull %8) #2
  %10 = icmp slt i64 %9, 0
  br i1 %10, label %49, label %11

11:                                               ; preds = %1
  %12 = load ptr, ptr @gBS, align 8, !tbaa !12
  %13 = getelementptr inbounds i8, ptr %12, i64 64
  %14 = load ptr, ptr %13, align 8, !tbaa !13
  %15 = load ptr, ptr %8, align 8, !tbaa !18
  %16 = getelementptr inbounds i8, ptr %15, i64 8
  %17 = tail call i64 %14(i32 noundef 4, i64 noundef 36, ptr noundef nonnull %16) #2
  %18 = icmp slt i64 %17, 0
  br i1 %18, label %47, label %19

19:                                               ; preds = %11
  %20 = getelementptr inbounds i8, ptr %0, i64 80
  %21 = load i64, ptr %20, align 8, !tbaa !20
  %22 = trunc i64 %21 to i32
  %23 = load ptr, ptr %8, align 8, !tbaa !18
  store i32 %22, ptr %23, align 8, !tbaa !21
  %24 = getelementptr inbounds i8, ptr %23, i64 4
  store i32 65535, ptr %24, align 4, !tbaa !23
  %25 = getelementptr inbounds i8, ptr %0, i64 96
  store ptr null, ptr %25, align 8, !tbaa !24
  %26 = load ptr, ptr %3, align 8, !tbaa !10
  %27 = tail call i64 %26(ptr noundef nonnull %2, i32 noundef 0) #2
  %28 = icmp slt i64 %27, 0
  br i1 %28, label %43, label %29

29:                                               ; preds = %19
  %30 = getelementptr inbounds i8, ptr %0, i64 88
  %31 = load ptr, ptr %30, align 8, !tbaa !25
  %32 = load ptr, ptr %8, align 8, !tbaa !18
  %33 = getelementptr inbounds i8, ptr %32, i64 4
  %34 = load i32, ptr %33, align 4, !tbaa !23
  %35 = zext i32 %34 to i64
  %36 = getelementptr inbounds %struct.QEMU_VIDEO_MODE_DATA, ptr %31, i64 %35
  %37 = getelementptr inbounds i8, ptr %36, i64 4
  %38 = load i32, ptr %37, align 4, !tbaa !26
  %39 = zext i32 %38 to i64
  %40 = getelementptr inbounds i8, ptr %36, i64 8
  %41 = load i32, ptr %40, align 4, !tbaa !28
  %42 = zext i32 %41 to i64
  tail call void @DrawLogo(ptr noundef nonnull %0, i64 noundef %39, i64 noundef %42) #2
  br label %49

43:                                               ; preds = %19
  %44 = load ptr, ptr %8, align 8, !tbaa !18
  %45 = getelementptr inbounds i8, ptr %44, i64 8
  %46 = load ptr, ptr %45, align 8, !tbaa !29
  tail call void @FreePool(ptr noundef %46) #2
  br label %47

47:                                               ; preds = %11, %43
  %.025 = phi i64 [ %17, %11 ], [ %27, %43 ]
  %48 = load ptr, ptr %8, align 8, !tbaa !18
  tail call void @FreePool(ptr noundef %48) #2
  store ptr null, ptr %8, align 8, !tbaa !18
  br label %49

49:                                               ; preds = %1, %47, %29
  %.0 = phi i64 [ %.025, %47 ], [ 0, %29 ], [ %9, %1 ]
  ret i64 %.0
}

declare void @DrawLogo(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1

declare void @FreePool(ptr noundef) local_unnamed_addr #1

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


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