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

; 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.EFI_EDITOR_FILE_BUFFER = type { ptr, i32, ptr, ptr, i64, %struct.EFI_EDITOR_POSITION, %struct.EFI_EDITOR_POSITION, %struct.EFI_EDITOR_POSITION, %struct.EFI_EDITOR_POSITION, i8, i8, i8, ptr }
%struct.EFI_EDITOR_POSITION = type { i64, i64 }
%struct.EFI_EDITOR_GLOBAL_EDITOR = type { ptr, %union.EFI_EDITOR_COLOR_UNION, %struct.EFI_EDITOR_POSITION, ptr, i8, ptr, i32, i32 }
%union.EFI_EDITOR_COLOR_UNION = type { i64 }
%struct._EFI_EDITOR_LINE = type { i64, ptr, i64, i64, i32, %struct._LIST_ENTRY }
%struct._LIST_ENTRY = type { ptr, ptr }

@FileBuffer = external dso_local global %struct.EFI_EDITOR_FILE_BUFFER, align 8
@.str.1 = external hidden unnamed_addr constant [163 x i8], align 1
@MainEditor = external global %struct.EFI_EDITOR_GLOBAL_EDITOR, align 8
@.str.5 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i32], align 4
@.str.8 = external hidden unnamed_addr constant [3 x i32], align 4
@.str.9 = external hidden unnamed_addr constant [3 x i32], align 4

declare void @FreePool(ptr noundef) #0

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

declare zeroext i8 @DebugAssertEnabled() #0

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

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

declare i64 @ShellPrintEx(i32 noundef, i32 noundef, ptr noundef, ...) #0

; Function Attrs: nounwind uwtable
define dso_local i64 @FileBufferPrintLine(ptr noundef %0, i64 noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i64 %1, ptr %4, align 8, !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 8, 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
  %10 = load ptr, ptr %3, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct._EFI_EDITOR_LINE, ptr %10, i32 0, i32 1
  %12 = load ptr, ptr %11, align 8, !tbaa !11
  %13 = load i64, ptr getelementptr inbounds (%struct.EFI_EDITOR_POSITION, ptr getelementptr inbounds (%struct.EFI_EDITOR_FILE_BUFFER, ptr @FileBuffer, i32 0, i32 8), i32 0, i32 1), align 8, !tbaa !15
  %14 = getelementptr inbounds i16, ptr %12, i64 %13
  %15 = getelementptr inbounds i16, ptr %14, i64 -1
  store ptr %15, ptr %5, align 8, !tbaa !5
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct._EFI_EDITOR_LINE, ptr %16, i32 0, i32 2
  %18 = load i64, ptr %17, align 8, !tbaa !18
  %19 = load i64, ptr getelementptr inbounds (%struct.EFI_EDITOR_POSITION, ptr getelementptr inbounds (%struct.EFI_EDITOR_FILE_BUFFER, ptr @FileBuffer, i32 0, i32 8), i32 0, i32 1), align 8, !tbaa !15
  %20 = sub i64 %18, %19
  %21 = add i64 %20, 1
  store i64 %21, ptr %6, align 8, !tbaa !9
  %22 = load i64, ptr %6, align 8, !tbaa !9
  %23 = load ptr, ptr %3, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct._EFI_EDITOR_LINE, ptr %23, i32 0, i32 2
  %25 = load i64, ptr %24, align 8, !tbaa !18
  %26 = icmp ugt i64 %22, %25
  br i1 %26, label %27, label %28

27:                                               ; preds = %2
  store i64 0, ptr %6, align 8, !tbaa !9
  br label %28

28:                                               ; preds = %27, %2
  %29 = load i64, ptr getelementptr inbounds (%struct.EFI_EDITOR_POSITION, ptr getelementptr inbounds (%struct.EFI_EDITOR_GLOBAL_EDITOR, ptr @MainEditor, i32 0, i32 2), i32 0, i32 1), align 8, !tbaa !19
  %30 = add i64 %29, 1
  %31 = mul i64 %30, 2
  store i64 %31, ptr %9, align 8, !tbaa !9
  %32 = load i64, ptr %9, align 8, !tbaa !9
  %33 = call ptr @AllocatePool(i64 noundef %32)
  store ptr %33, ptr %7, align 8, !tbaa !5
  br label %34

34:                                               ; preds = %28
  %35 = call zeroext i8 @DebugAssertEnabled()
  %36 = icmp ne i8 %35, 0
  br i1 %36, label %37, label %42

37:                                               ; preds = %34
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  %39 = icmp ne ptr %38, null
  br i1 %39, label %41, label %40

40:                                               ; preds = %37
  call void @DebugAssert(ptr noundef @.str.1, i64 noundef 508, ptr noundef @.str.5)
  br label %41

41:                                               ; preds = %40, %37
  br label %42

42:                                               ; preds = %41, %34
  br label %43

43:                                               ; preds = %42
  br label %44

44:                                               ; preds = %43
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = load i64, ptr %6, align 8, !tbaa !9
  %48 = load i64, ptr getelementptr inbounds (%struct.EFI_EDITOR_POSITION, ptr getelementptr inbounds (%struct.EFI_EDITOR_GLOBAL_EDITOR, ptr @MainEditor, i32 0, i32 2), i32 0, i32 1), align 8, !tbaa !19
  %49 = icmp ult i64 %47, %48
  br i1 %49, label %50, label %52

50:                                               ; preds = %44
  %51 = load i64, ptr %6, align 8, !tbaa !9
  br label %54

52:                                               ; preds = %44
  %53 = load i64, ptr getelementptr inbounds (%struct.EFI_EDITOR_POSITION, ptr getelementptr inbounds (%struct.EFI_EDITOR_GLOBAL_EDITOR, ptr @MainEditor, i32 0, i32 2), i32 0, i32 1), align 8, !tbaa !19
  br label %54

54:                                               ; preds = %52, %50
  %55 = phi i64 [ %51, %50 ], [ %53, %52 ]
  %56 = call ptr @StrnCpy(ptr noundef %45, ptr noundef %46, i64 noundef %55)
  br label %57

57:                                               ; preds = %65, %54
  %58 = load i64, ptr %6, align 8, !tbaa !9
  %59 = load i64, ptr getelementptr inbounds (%struct.EFI_EDITOR_POSITION, ptr getelementptr inbounds (%struct.EFI_EDITOR_GLOBAL_EDITOR, ptr @MainEditor, i32 0, i32 2), i32 0, i32 1), align 8, !tbaa !19
  %60 = icmp ult i64 %58, %59
  br i1 %60, label %61, label %68

61:                                               ; preds = %57
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = load i64, ptr %6, align 8, !tbaa !9
  %64 = getelementptr inbounds i16, ptr %62, i64 %63
  store i16 32, ptr %64, align 2, !tbaa !21
  br label %65

65:                                               ; preds = %61
  %66 = load i64, ptr %6, align 8, !tbaa !9
  %67 = add i64 %66, 1
  store i64 %67, ptr %6, align 8, !tbaa !9
  br label %57, !llvm.loop !23

68:                                               ; preds = %57
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = load i64, ptr getelementptr inbounds (%struct.EFI_EDITOR_POSITION, ptr getelementptr inbounds (%struct.EFI_EDITOR_GLOBAL_EDITOR, ptr @MainEditor, i32 0, i32 2), i32 0, i32 1), align 8, !tbaa !19
  %71 = getelementptr inbounds i16, ptr %69, i64 %70
  store i16 0, ptr %71, align 2, !tbaa !21
  %72 = load i64, ptr %9, align 8, !tbaa !9
  %73 = mul i64 %72, 2
  %74 = call ptr @AllocatePool(i64 noundef %73)
  store ptr %74, ptr %8, align 8, !tbaa !5
  br label %75

75:                                               ; preds = %68
  %76 = call zeroext i8 @DebugAssertEnabled()
  %77 = icmp ne i8 %76, 0
  br i1 %77, label %78, label %83

78:                                               ; preds = %75
  %79 = load ptr, ptr %8, align 8, !tbaa !5
  %80 = icmp ne ptr %79, null
  br i1 %80, label %82, label %81

81:                                               ; preds = %78
  call void @DebugAssert(ptr noundef @.str.1, i64 noundef 518, ptr noundef @.str.6)
  br label %82

82:                                               ; preds = %81, %78
  br label %83

83:                                               ; preds = %82, %75
  br label %84

84:                                               ; preds = %83
  br label %85

85:                                               ; preds = %84
  %86 = load ptr, ptr %7, align 8, !tbaa !5
  %87 = load ptr, ptr %8, align 8, !tbaa !5
  %88 = load i64, ptr %9, align 8, !tbaa !9
  %89 = mul i64 %88, 2
  %90 = call i64 @ShellCopySearchAndReplace(ptr noundef %86, ptr noundef %87, i64 noundef %89, ptr noundef @.str.7, ptr noundef @.str.8, i8 noundef zeroext 0, i8 noundef zeroext 0)
  %91 = load i64, ptr %4, align 8, !tbaa !9
  %92 = trunc i64 %91 to i32
  %93 = sub nsw i32 %92, 1
  %94 = load ptr, ptr %8, align 8, !tbaa !5
  %95 = call i64 (i32, i32, ptr, ...) @ShellPrintEx(i32 noundef 0, i32 noundef %93, ptr noundef @.str.9, ptr noundef %94)
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  call void @FreePool(ptr noundef %96)
  %97 = load ptr, ptr %8, align 8, !tbaa !5
  call void @FreePool(ptr noundef %97)
  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 8, 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 i64 0
}

declare ptr @AllocatePool(i64 noundef) #0

declare ptr @StrnCpy(ptr noundef, ptr noundef, i64 noundef) #0

declare i64 @ShellCopySearchAndReplace(ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, i8 noundef zeroext, i8 noundef zeroext) #0

attributes #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 = { 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 8}
!12 = !{!"_EFI_EDITOR_LINE", !10, i64 0, !6, i64 8, !10, i64 16, !10, i64 24, !13, i64 32, !14, i64 40}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!15 = !{!16, !10, i64 96}
!16 = !{!"", !6, i64 0, !13, i64 8, !6, i64 16, !6, i64 24, !10, i64 32, !17, i64 40, !17, i64 56, !17, i64 72, !17, i64 88, !7, i64 104, !7, i64 105, !7, i64 106, !6, i64 112}
!17 = !{!"", !10, i64 0, !10, i64 8}
!18 = !{!12, !10, i64 16}
!19 = !{!20, !10, i64 24}
!20 = !{!"", !6, i64 0, !7, i64 8, !17, i64 16, !6, i64 32, !7, i64 40, !6, i64 48, !13, i64 56, !13, i64 60}
!21 = !{!22, !22, i64 0}
!22 = !{!"short", !7, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}


; 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.EFI_EDITOR_FILE_BUFFER = type { ptr, i32, ptr, ptr, i64, %struct.EFI_EDITOR_POSITION, %struct.EFI_EDITOR_POSITION, %struct.EFI_EDITOR_POSITION, %struct.EFI_EDITOR_POSITION, i8, i8, i8, ptr }
%struct.EFI_EDITOR_POSITION = type { i64, i64 }
%struct.EFI_EDITOR_GLOBAL_EDITOR = type { ptr, %union.EFI_EDITOR_COLOR_UNION, %struct.EFI_EDITOR_POSITION, ptr, i8, ptr, i32, i32 }
%union.EFI_EDITOR_COLOR_UNION = type { i64 }

@FileBuffer = external dso_local local_unnamed_addr global %struct.EFI_EDITOR_FILE_BUFFER, align 8
@.str.1 = external hidden unnamed_addr constant [163 x i8], align 1
@MainEditor = external local_unnamed_addr global %struct.EFI_EDITOR_GLOBAL_EDITOR, align 8
@.str.5 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i32], align 4
@.str.8 = external hidden unnamed_addr constant [3 x i32], align 4
@.str.9 = external hidden unnamed_addr constant [3 x i32], align 4

declare void @FreePool(ptr noundef) local_unnamed_addr #0

declare zeroext i8 @DebugAssertEnabled() local_unnamed_addr #0

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

declare i64 @ShellPrintEx(i32 noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local noundef i64 @FileBufferPrintLine(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #1 {
  %3 = getelementptr inbounds i8, ptr %0, i64 8
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %5 = load i64, ptr getelementptr inbounds (i8, ptr @FileBuffer, i64 96), align 8, !tbaa !13
  %6 = getelementptr inbounds i16, ptr %4, i64 %5
  %7 = getelementptr inbounds i8, ptr %6, i64 -2
  %8 = getelementptr inbounds i8, ptr %0, i64 16
  %9 = load i64, ptr %8, align 8, !tbaa !16
  %10 = sub i64 %9, %5
  %11 = add i64 %10, 1
  %12 = icmp ugt i64 %11, %9
  %spec.store.select = select i1 %12, i64 0, i64 %11
  %13 = load i64, ptr getelementptr inbounds (i8, ptr @MainEditor, i64 24), align 8, !tbaa !17
  %14 = shl i64 %13, 1
  %15 = add i64 %14, 2
  %16 = tail call ptr @AllocatePool(i64 noundef %15) #3
  %17 = tail call zeroext i8 @DebugAssertEnabled() #3
  %18 = icmp eq i8 %17, 0
  %19 = icmp ne ptr %16, null
  %or.cond = select i1 %18, i1 true, i1 %19
  br i1 %or.cond, label %21, label %20

20:                                               ; preds = %2
  tail call void @DebugAssert(ptr noundef nonnull @.str.1, i64 noundef 508, ptr noundef nonnull @.str.5) #3
  br label %21

21:                                               ; preds = %20, %2
  %22 = load i64, ptr getelementptr inbounds (i8, ptr @MainEditor, i64 24), align 8
  %23 = tail call i64 @llvm.umin.i64(i64 %spec.store.select, i64 %22)
  %24 = tail call ptr @StrnCpy(ptr noundef %16, ptr noundef nonnull %7, i64 noundef %23) #3
  %25 = load i64, ptr getelementptr inbounds (i8, ptr @MainEditor, i64 24), align 8, !tbaa !17
  %26 = icmp ult i64 %spec.store.select, %25
  br i1 %26, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %21
  %27 = sub i64 %25, %spec.store.select
  %min.iters.check = icmp ult i64 %27, 16
  br i1 %min.iters.check, label %.lr.ph.preheader28, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %27, -16
  %ind.end = add i64 %spec.store.select, %n.vec
  %28 = getelementptr i16, ptr %16, i64 %spec.store.select
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %29 = getelementptr i16, ptr %28, i64 %index
  %30 = getelementptr inbounds i8, ptr %29, i64 16
  store <8 x i16> <i16 32, i16 32, i16 32, i16 32, i16 32, i16 32, i16 32, i16 32>, ptr %29, align 2, !tbaa !19
  store <8 x i16> <i16 32, i16 32, i16 32, i16 32, i16 32, i16 32, i16 32, i16 32>, ptr %30, align 2, !tbaa !19
  %index.next = add nuw i64 %index, 16
  %31 = icmp eq i64 %index.next, %n.vec
  br i1 %31, label %middle.block, label %vector.body, !llvm.loop !21

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %27, %n.vec
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.preheader28

.lr.ph.preheader28:                               ; preds = %middle.block, %.lr.ph.preheader
  %.027.ph = phi i64 [ %spec.store.select, %.lr.ph.preheader ], [ %ind.end, %middle.block ]
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader28, %.lr.ph
  %.027 = phi i64 [ %33, %.lr.ph ], [ %.027.ph, %.lr.ph.preheader28 ]
  %32 = getelementptr inbounds i16, ptr %16, i64 %.027
  store i16 32, ptr %32, align 2, !tbaa !19
  %33 = add nuw i64 %.027, 1
  %exitcond.not = icmp eq i64 %33, %25
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !25

._crit_edge:                                      ; preds = %.lr.ph, %middle.block, %21
  %34 = getelementptr inbounds i16, ptr %16, i64 %25
  store i16 0, ptr %34, align 2, !tbaa !19
  %35 = shl i64 %15, 1
  %36 = tail call ptr @AllocatePool(i64 noundef %35) #3
  %37 = tail call zeroext i8 @DebugAssertEnabled() #3
  %38 = icmp eq i8 %37, 0
  %39 = icmp ne ptr %36, null
  %or.cond3 = select i1 %38, i1 true, i1 %39
  br i1 %or.cond3, label %41, label %40

40:                                               ; preds = %._crit_edge
  tail call void @DebugAssert(ptr noundef nonnull @.str.1, i64 noundef 518, ptr noundef nonnull @.str.6) #3
  br label %41

41:                                               ; preds = %40, %._crit_edge
  %42 = tail call i64 @ShellCopySearchAndReplace(ptr noundef nonnull %16, ptr noundef %36, i64 noundef %35, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, i8 noundef zeroext 0, i8 noundef zeroext 0) #3
  %43 = trunc i64 %1 to i32
  %44 = add nsw i32 %43, -1
  %45 = tail call i64 (i32, i32, ptr, ...) @ShellPrintEx(i32 noundef 0, i32 noundef %44, ptr noundef nonnull @.str.9, ptr noundef %36) #3
  tail call void @FreePool(ptr noundef nonnull %16) #3
  tail call void @FreePool(ptr noundef %36) #3
  ret i64 0
}

declare ptr @AllocatePool(i64 noundef) local_unnamed_addr #0

declare ptr @StrnCpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

declare i64 @ShellCopySearchAndReplace(ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, i8 noundef zeroext, i8 noundef zeroext) local_unnamed_addr #0

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umin.i64(i64, i64) #2

attributes #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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 8}
!6 = !{!"_EFI_EDITOR_LINE", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 24, !11, i64 32, !12, i64 40}
!7 = !{!"long long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"_LIST_ENTRY", !10, i64 0, !10, i64 8}
!13 = !{!14, !7, i64 96}
!14 = !{!"", !10, i64 0, !11, i64 8, !10, i64 16, !10, i64 24, !7, i64 32, !15, i64 40, !15, i64 56, !15, i64 72, !15, i64 88, !8, i64 104, !8, i64 105, !8, i64 106, !10, i64 112}
!15 = !{!"", !7, i64 0, !7, i64 8}
!16 = !{!6, !7, i64 16}
!17 = !{!18, !7, i64 24}
!18 = !{!"", !10, i64 0, !8, i64 8, !15, i64 16, !10, i64 32, !8, i64 40, !10, i64 48, !11, i64 56, !11, i64 60}
!19 = !{!20, !20, i64 0}
!20 = !{!"short", !8, i64 0}
!21 = distinct !{!21, !22, !23, !24}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!"llvm.loop.isvectorized", i32 1}
!24 = !{!"llvm.loop.unroll.runtime.disable"}
!25 = distinct !{!25, !22, !24, !23}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass