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

; 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._HII_DATABASE_PRIVATE_DATA = type { i64, %struct._LIST_ENTRY, %struct._LIST_ENTRY, %struct._EFI_HII_FONT_PROTOCOL, %struct._EFI_HII_IMAGE_PROTOCOL, %struct._EFI_HII_STRING_PROTOCOL, %struct._EFI_HII_DATABASE_PROTOCOL, %struct._EFI_HII_CONFIG_ROUTING_PROTOCOL, %struct._LIST_ENTRY, i64, %struct._LIST_ENTRY, i64, %struct.GUID, ptr }
%struct._EFI_HII_FONT_PROTOCOL = type { ptr, ptr, ptr, ptr }
%struct._EFI_HII_IMAGE_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr }
%struct._EFI_HII_STRING_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr }
%struct._EFI_HII_DATABASE_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct._EFI_HII_CONFIG_ROUTING_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr, ptr }
%struct._LIST_ENTRY = type { ptr, ptr }
%struct.GUID = type { i32, i16, i16, [8 x i8] }

@.str = external hidden unnamed_addr constant [155 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [26 x i8], align 1
@mPrivate = external global %struct._HII_DATABASE_PRIVATE_DATA, align 8
@.str.19 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [13 x i32], align 4

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

declare zeroext i8 @DebugAssertEnabled() #1

declare void @DebugAssert(ptr noundef, i64 noundef, ptr 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 @AllocateZeroPool(i64 noundef) #1

declare void @FreePool(ptr noundef) #1

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

; Function Attrs: nounwind uwtable
define dso_local ptr @InternalGetString(ptr noundef %0, i16 noundef zeroext %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca i16, align 2
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i16, align 2
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i16 %1, ptr %4, align 2, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  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
  br label %13

13:                                               ; preds = %2
  %14 = call zeroext i8 @DebugAssertEnabled()
  %15 = icmp ne i8 %14, 0
  br i1 %15, label %16, label %21

16:                                               ; preds = %13
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  %18 = icmp ne ptr %17, null
  br i1 %18, label %20, label %19

19:                                               ; preds = %16
  call void @DebugAssert(ptr noundef @.str, i64 noundef 857, ptr noundef @.str.18)
  br label %20

20:                                               ; preds = %19, %16
  br label %21

21:                                               ; preds = %20, %13
  br label %22

22:                                               ; preds = %21
  br label %23

23:                                               ; preds = %22
  br label %24

24:                                               ; preds = %23
  %25 = call zeroext i8 @DebugAssertEnabled()
  %26 = icmp ne i8 %25, 0
  br i1 %26, label %27, label %33

27:                                               ; preds = %24
  %28 = load i16, ptr %4, align 2, !tbaa !9
  %29 = zext i16 %28 to i32
  %30 = icmp ne i32 %29, 0
  br i1 %30, label %32, label %31

31:                                               ; preds = %27
  call void @DebugAssert(ptr noundef @.str, i64 noundef 858, ptr noundef @.str.19)
  br label %32

32:                                               ; preds = %31, %27
  br label %33

33:                                               ; preds = %32, %24
  br label %34

34:                                               ; preds = %33
  br label %35

35:                                               ; preds = %34
  store ptr null, ptr %9, align 8, !tbaa !5
  store ptr null, ptr %10, align 8, !tbaa !5
  store ptr null, ptr %11, align 8, !tbaa !5
  store ptr null, ptr %8, align 8, !tbaa !5
  store ptr @.str.20, ptr %12, align 8, !tbaa !5
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = call ptr @GetSupportedLanguages(ptr noundef %36)
  store ptr %37, ptr %9, align 8, !tbaa !5
  %38 = load ptr, ptr %9, align 8, !tbaa !5
  %39 = icmp eq ptr %38, null
  br i1 %39, label %40, label %41

40:                                               ; preds = %35
  br label %84

41:                                               ; preds = %35
  %42 = call i64 @GetEfiGlobalVariable2(ptr noundef @.str.21, ptr noundef %10, ptr noundef null)
  %43 = load ptr, ptr %9, align 8, !tbaa !5
  %44 = load ptr, ptr %12, align 8, !tbaa !5
  %45 = load ptr, ptr %10, align 8, !tbaa !5
  %46 = icmp ne ptr %45, null
  br i1 %46, label %47, label %49

47:                                               ; preds = %41
  %48 = load ptr, ptr %10, align 8, !tbaa !5
  br label %50

49:                                               ; preds = %41
  br label %50

50:                                               ; preds = %49, %47
  %51 = phi ptr [ %48, %47 ], [ @.str.20, %49 ]
  %52 = load ptr, ptr %9, align 8, !tbaa !5
  %53 = call ptr (ptr, i8, ...) @GetBestLanguage(ptr noundef %43, i8 noundef zeroext 0, ptr noundef %44, ptr noundef %51, ptr noundef %52, ptr noundef null)
  store ptr %53, ptr %11, align 8, !tbaa !5
  %54 = load ptr, ptr %11, align 8, !tbaa !5
  %55 = icmp eq ptr %54, null
  br i1 %55, label %56, label %57

56:                                               ; preds = %50
  br label %84

57:                                               ; preds = %50
  store i64 0, ptr %6, align 8, !tbaa !11
  %58 = load ptr, ptr getelementptr inbounds (%struct._EFI_HII_STRING_PROTOCOL, ptr getelementptr inbounds (%struct._HII_DATABASE_PRIVATE_DATA, ptr @mPrivate, i32 0, i32 5), i32 0, i32 1), align 8, !tbaa !13
  %59 = load ptr, ptr %11, align 8, !tbaa !5
  %60 = load ptr, ptr %3, align 8, !tbaa !5
  %61 = load i16, ptr %4, align 2, !tbaa !9
  %62 = call i64 %58(ptr noundef getelementptr inbounds (%struct._HII_DATABASE_PRIVATE_DATA, ptr @mPrivate, i32 0, i32 5), ptr noundef %59, ptr noundef %60, i16 noundef zeroext %61, ptr noundef %7, ptr noundef %6, ptr noundef null)
  store i64 %62, ptr %5, align 8, !tbaa !11
  %63 = load i64, ptr %5, align 8, !tbaa !11
  %64 = icmp ne i64 %63, -9223372036854775803
  br i1 %64, label %65, label %66

65:                                               ; preds = %57
  br label %84

66:                                               ; preds = %57
  %67 = load i64, ptr %6, align 8, !tbaa !11
  %68 = call ptr @AllocateZeroPool(i64 noundef %67)
  store ptr %68, ptr %8, align 8, !tbaa !5
  %69 = load ptr, ptr %8, align 8, !tbaa !5
  %70 = icmp eq ptr %69, null
  br i1 %70, label %71, label %72

71:                                               ; preds = %66
  br label %84

72:                                               ; preds = %66
  %73 = load ptr, ptr getelementptr inbounds (%struct._EFI_HII_STRING_PROTOCOL, ptr getelementptr inbounds (%struct._HII_DATABASE_PRIVATE_DATA, ptr @mPrivate, i32 0, i32 5), i32 0, i32 1), align 8, !tbaa !13
  %74 = load ptr, ptr %11, align 8, !tbaa !5
  %75 = load ptr, ptr %3, align 8, !tbaa !5
  %76 = load i16, ptr %4, align 2, !tbaa !9
  %77 = load ptr, ptr %8, align 8, !tbaa !5
  %78 = call i64 %73(ptr noundef getelementptr inbounds (%struct._HII_DATABASE_PRIVATE_DATA, ptr @mPrivate, i32 0, i32 5), ptr noundef %74, ptr noundef %75, i16 noundef zeroext %76, ptr noundef %77, ptr noundef %6, ptr noundef null)
  store i64 %78, ptr %5, align 8, !tbaa !11
  %79 = load i64, ptr %5, align 8, !tbaa !11
  %80 = icmp slt i64 %79, 0
  br i1 %80, label %81, label %83

81:                                               ; preds = %72
  %82 = load ptr, ptr %8, align 8, !tbaa !5
  call void @FreePool(ptr noundef %82)
  store ptr null, ptr %8, align 8, !tbaa !5
  br label %83

83:                                               ; preds = %81, %72
  br label %84

84:                                               ; preds = %83, %71, %65, %56, %40
  %85 = load ptr, ptr %9, align 8, !tbaa !5
  %86 = icmp ne ptr %85, null
  br i1 %86, label %87, label %89

87:                                               ; preds = %84
  %88 = load ptr, ptr %9, align 8, !tbaa !5
  call void @FreePool(ptr noundef %88)
  br label %89

89:                                               ; preds = %87, %84
  %90 = load ptr, ptr %10, align 8, !tbaa !5
  %91 = icmp ne ptr %90, null
  br i1 %91, label %92, label %94

92:                                               ; preds = %89
  %93 = load ptr, ptr %10, align 8, !tbaa !5
  call void @FreePool(ptr noundef %93)
  br label %94

94:                                               ; preds = %92, %89
  %95 = load ptr, ptr %11, align 8, !tbaa !5
  %96 = icmp ne ptr %95, null
  br i1 %96, label %97, label %99

97:                                               ; preds = %94
  %98 = load ptr, ptr %11, align 8, !tbaa !5
  call void @FreePool(ptr noundef %98)
  br label %99

99:                                               ; preds = %97, %94
  %100 = load ptr, ptr %8, align 8, !tbaa !5
  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
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 2, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  ret ptr %100
}

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

declare ptr @GetBestLanguage(ptr noundef, i8 noundef zeroext, ...) #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, !10, i64 0}
!10 = !{!"short", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long long", !7, i64 0}
!13 = !{!14, !6, i64 120}
!14 = !{!"_HII_DATABASE_PRIVATE_DATA", !12, i64 0, !15, i64 8, !15, i64 24, !16, i64 40, !17, i64 72, !18, i64 112, !19, i64 152, !20, i64 240, !15, i64 288, !12, i64 304, !15, i64 312, !12, i64 328, !21, i64 336, !6, i64 352}
!15 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!16 = !{!"_EFI_HII_FONT_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!17 = !{!"_EFI_HII_IMAGE_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!18 = !{!"_EFI_HII_STRING_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!19 = !{!"_EFI_HII_DATABASE_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, !6, i64 64, !6, i64 72, !6, i64 80}
!20 = !{!"_EFI_HII_CONFIG_ROUTING_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!21 = !{!"", !22, i64 0, !10, i64 4, !10, i64 6, !7, i64 8}
!22 = !{!"int", !7, i64 0}


; 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._HII_DATABASE_PRIVATE_DATA = type { i64, %struct._LIST_ENTRY, %struct._LIST_ENTRY, %struct._EFI_HII_FONT_PROTOCOL, %struct._EFI_HII_IMAGE_PROTOCOL, %struct._EFI_HII_STRING_PROTOCOL, %struct._EFI_HII_DATABASE_PROTOCOL, %struct._EFI_HII_CONFIG_ROUTING_PROTOCOL, %struct._LIST_ENTRY, i64, %struct._LIST_ENTRY, i64, %struct.GUID, ptr }
%struct._EFI_HII_FONT_PROTOCOL = type { ptr, ptr, ptr, ptr }
%struct._EFI_HII_IMAGE_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr }
%struct._EFI_HII_STRING_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr }
%struct._EFI_HII_DATABASE_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct._EFI_HII_CONFIG_ROUTING_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr, ptr }
%struct._LIST_ENTRY = type { ptr, ptr }
%struct.GUID = type { i32, i16, i16, [8 x i8] }

@.str = external hidden unnamed_addr constant [155 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [26 x i8], align 1
@mPrivate = external global %struct._HII_DATABASE_PRIVATE_DATA, align 8
@.str.19 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [13 x i32], align 4

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

declare zeroext i8 @DebugAssertEnabled() local_unnamed_addr #1

declare void @DebugAssert(ptr noundef, i64 noundef, ptr 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 @AllocateZeroPool(i64 noundef) local_unnamed_addr #1

declare void @FreePool(ptr noundef) local_unnamed_addr #1

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

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

9:                                                ; preds = %2
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 857, ptr noundef nonnull @.str.18) #3
  br label %10

10:                                               ; preds = %2, %9
  %11 = tail call zeroext i8 @DebugAssertEnabled() #3
  %12 = icmp eq i8 %11, 0
  %13 = icmp ne i16 %1, 0
  %or.cond4 = or i1 %13, %12
  br i1 %or.cond4, label %15, label %14

14:                                               ; preds = %10
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 858, ptr noundef nonnull @.str.19) #3
  br label %15

15:                                               ; preds = %14, %10
  store ptr null, ptr %5, align 8, !tbaa !5
  %16 = tail call ptr @GetSupportedLanguages(ptr noundef %0)
  %17 = icmp eq ptr %16, null
  br i1 %17, label %.thread49, label %18

18:                                               ; preds = %15
  %19 = call i64 @GetEfiGlobalVariable2(ptr noundef nonnull @.str.21, ptr noundef nonnull %5, ptr noundef null) #3
  %20 = load ptr, ptr %5, align 8
  %.not = icmp eq ptr %20, null
  %21 = select i1 %.not, ptr @.str.20, ptr %20
  %22 = call ptr (ptr, i8, ...) @GetBestLanguage(ptr noundef nonnull %16, i8 noundef zeroext 0, ptr noundef nonnull @.str.20, ptr noundef nonnull %21, ptr noundef nonnull %16, ptr noundef null) #3
  %23 = icmp eq ptr %22, null
  br i1 %23, label %36, label %24

24:                                               ; preds = %18
  store i64 0, ptr %3, align 8, !tbaa !9
  %25 = load ptr, ptr getelementptr inbounds (i8, ptr @mPrivate, i64 120), align 8, !tbaa !11
  %26 = call i64 %25(ptr noundef nonnull getelementptr inbounds (i8, ptr @mPrivate, i64 112), ptr noundef nonnull %22, ptr noundef %0, i16 noundef zeroext %1, ptr noundef nonnull %4, ptr noundef nonnull %3, ptr noundef null) #3
  %.not34 = icmp eq i64 %26, -9223372036854775803
  br i1 %.not34, label %27, label %36

27:                                               ; preds = %24
  %28 = load i64, ptr %3, align 8, !tbaa !9
  %29 = call ptr @AllocateZeroPool(i64 noundef %28) #3
  %30 = icmp eq ptr %29, null
  br i1 %30, label %36, label %31

31:                                               ; preds = %27
  %32 = load ptr, ptr getelementptr inbounds (i8, ptr @mPrivate, i64 120), align 8, !tbaa !11
  %33 = call i64 %32(ptr noundef nonnull getelementptr inbounds (i8, ptr @mPrivate, i64 112), ptr noundef nonnull %22, ptr noundef %0, i16 noundef zeroext %1, ptr noundef nonnull %29, ptr noundef nonnull %3, ptr noundef null) #3
  %34 = icmp slt i64 %33, 0
  br i1 %34, label %35, label %36

35:                                               ; preds = %31
  call void @FreePool(ptr noundef nonnull %29) #3
  br label %36

36:                                               ; preds = %18, %24, %27, %35, %31
  %.027.ph = phi ptr [ %29, %31 ], [ null, %35 ], [ null, %27 ], [ null, %24 ], [ null, %18 ]
  call void @FreePool(ptr noundef nonnull %16) #3
  %.pre = load ptr, ptr %5, align 8, !tbaa !5
  %.not36 = icmp eq ptr %.pre, null
  br i1 %.not36, label %38, label %37

37:                                               ; preds = %36
  call void @FreePool(ptr noundef nonnull %.pre) #3
  br label %38

38:                                               ; preds = %37, %36
  %.not37 = icmp eq ptr %22, null
  br i1 %.not37, label %.thread49, label %39

39:                                               ; preds = %38
  call void @FreePool(ptr noundef nonnull %22) #3
  br label %.thread49

.thread49:                                        ; preds = %15, %39, %38
  %.027414853 = phi ptr [ %.027.ph, %39 ], [ %.027.ph, %38 ], [ null, %15 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
  ret ptr %.027414853
}

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

declare ptr @GetBestLanguage(ptr noundef, i8 noundef zeroext, ...) 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, !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 120}
!12 = !{!"_HII_DATABASE_PRIVATE_DATA", !10, i64 0, !13, i64 8, !13, i64 24, !14, i64 40, !15, i64 72, !16, i64 112, !17, i64 152, !18, i64 240, !13, i64 288, !10, i64 304, !13, i64 312, !10, i64 328, !19, i64 336, !6, i64 352}
!13 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!14 = !{!"_EFI_HII_FONT_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!15 = !{!"_EFI_HII_IMAGE_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!16 = !{!"_EFI_HII_STRING_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!17 = !{!"_EFI_HII_DATABASE_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, !6, i64 64, !6, i64 72, !6, i64 80}
!18 = !{!"_EFI_HII_CONFIG_ROUTING_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!19 = !{!"", !20, i64 0, !21, i64 4, !21, i64 6, !7, i64 8}
!20 = !{!"int", !7, i64 0}
!21 = !{!"short", !7, i64 0}


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