; LLVM IR from narke/Aragveli :: src/extra/drivers (pci)

; 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.pci_device = type { i8, i8, i8, i16, i16, i16 }

@PCI_CLASS_IDS = external dso_local global [18 x ptr], align 16
@pci_devices = external dso_local global [16 x %struct.pci_device], align 16
@.str.19 = external hidden unnamed_addr constant [40 x i8], align 1

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

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

declare void @printf(ptr noundef, ...) #1

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

3:                                                ; preds = %45, %0
  %4 = load i32, ptr %1, align 4, !tbaa !5
  %5 = icmp slt i32 %4, 15
  br i1 %5, label %7, label %6

6:                                                ; preds = %3
  store i32 2, ptr %2, align 4
  br label %48

7:                                                ; preds = %3
  %8 = load i32, ptr %1, align 4, !tbaa !5
  %9 = sext i32 %8 to i64
  %10 = getelementptr inbounds [16 x %struct.pci_device], ptr @pci_devices, i64 0, i64 %9
  %11 = getelementptr inbounds %struct.pci_device, ptr %10, i32 0, i32 3
  %12 = load i16, ptr %11, align 2, !tbaa !9
  %13 = zext i16 %12 to i32
  %14 = icmp eq i32 %13, 0
  br i1 %14, label %15, label %24

15:                                               ; preds = %7
  %16 = load i32, ptr %1, align 4, !tbaa !5
  %17 = sext i32 %16 to i64
  %18 = getelementptr inbounds [16 x %struct.pci_device], ptr @pci_devices, i64 0, i64 %17
  %19 = getelementptr inbounds %struct.pci_device, ptr %18, i32 0, i32 4
  %20 = load i16, ptr %19, align 2, !tbaa !12
  %21 = zext i16 %20 to i32
  %22 = icmp eq i32 %21, 0
  br i1 %22, label %23, label %24

23:                                               ; preds = %15
  store i32 1, ptr %2, align 4
  br label %48

24:                                               ; preds = %15, %7
  %25 = load i32, ptr %1, align 4, !tbaa !5
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds [16 x %struct.pci_device], ptr @pci_devices, i64 0, i64 %26
  %28 = getelementptr inbounds %struct.pci_device, ptr %27, i32 0, i32 3
  %29 = load i16, ptr %28, align 2, !tbaa !9
  %30 = zext i16 %29 to i32
  %31 = load i32, ptr %1, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [16 x %struct.pci_device], ptr @pci_devices, i64 0, i64 %32
  %34 = getelementptr inbounds %struct.pci_device, ptr %33, i32 0, i32 4
  %35 = load i16, ptr %34, align 2, !tbaa !12
  %36 = zext i16 %35 to i32
  %37 = load i32, ptr %1, align 4, !tbaa !5
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [16 x %struct.pci_device], ptr @pci_devices, i64 0, i64 %38
  %40 = getelementptr inbounds %struct.pci_device, ptr %39, i32 0, i32 5
  %41 = load i16, ptr %40, align 2, !tbaa !13
  %42 = zext i16 %41 to i64
  %43 = getelementptr inbounds [18 x ptr], ptr @PCI_CLASS_IDS, i64 0, i64 %42
  %44 = load ptr, ptr %43, align 8, !tbaa !14
  call void (ptr, ...) @printf(ptr noundef @.str.19, i32 noundef %30, i32 noundef %36, ptr noundef %44)
  br label %45

45:                                               ; preds = %24
  %46 = load i32, ptr %1, align 4, !tbaa !5
  %47 = add nsw i32 %46, 1
  store i32 %47, ptr %1, align 4, !tbaa !5
  br label %3, !llvm.loop !16

48:                                               ; preds = %23, %6
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #3
  %49 = load i32, ptr %2, align 4
  switch i32 %49, label %51 [
    i32 2, label %50
    i32 1, label %50
  ]

50:                                               ; preds = %48, %48
  ret void

51:                                               ; preds = %48
  unreachable
}

declare void @vbe_set_color(i64 noundef) #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 4}
!10 = !{!"pci_device", !7, i64 0, !7, i64 1, !7, i64 2, !11, i64 4, !11, i64 6, !11, i64 8}
!11 = !{!"short", !7, i64 0}
!12 = !{!10, !11, i64 6}
!13 = !{!10, !11, i64 8}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"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.pci_device = type { i8, i8, i8, i16, i16, i16 }

@PCI_CLASS_IDS = external dso_local local_unnamed_addr global [18 x ptr], align 16
@pci_devices = external dso_local local_unnamed_addr global [16 x %struct.pci_device], align 16
@.str.19 = external hidden unnamed_addr constant [40 x i8], align 1

declare void @printf(ptr noundef, ...) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @pci_devices_print() local_unnamed_addr #1 {
  tail call void @vbe_set_color(i64 noundef 43690) #2
  %1 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 4), align 4, !tbaa !5
  %2 = icmp eq i16 %1, 0
  %.pre = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 6), align 2, !tbaa !10
  %3 = icmp eq i16 %.pre, 0
  %or.cond = select i1 %2, i1 %3, i1 false
  br i1 %or.cond, label %151, label %4

4:                                                ; preds = %0
  %5 = zext i16 %1 to i32
  %6 = zext i16 %.pre to i32
  %7 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 8), align 8, !tbaa !11
  %8 = zext i16 %7 to i64
  %9 = getelementptr inbounds [18 x ptr], ptr @PCI_CLASS_IDS, i64 0, i64 %8
  %10 = load ptr, ptr %9, align 8, !tbaa !12
  tail call void (ptr, ...) @printf(ptr noundef nonnull @.str.19, i32 noundef %5, i32 noundef %6, ptr noundef %10) #2
  %11 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 14), align 2, !tbaa !5
  %12 = icmp eq i16 %11, 0
  %.pre9 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 16), align 16, !tbaa !10
  %13 = icmp eq i16 %.pre9, 0
  %or.cond23 = select i1 %12, i1 %13, i1 false
  br i1 %or.cond23, label %151, label %14

14:                                               ; preds = %4
  %15 = zext i16 %11 to i32
  %16 = zext i16 %.pre9 to i32
  %17 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 18), align 2, !tbaa !11
  %18 = zext i16 %17 to i64
  %19 = getelementptr inbounds [18 x ptr], ptr @PCI_CLASS_IDS, i64 0, i64 %18
  %20 = load ptr, ptr %19, align 8, !tbaa !12
  tail call void (ptr, ...) @printf(ptr noundef nonnull @.str.19, i32 noundef %15, i32 noundef %16, ptr noundef %20) #2
  %21 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 24), align 8, !tbaa !5
  %22 = icmp eq i16 %21, 0
  %.pre10 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 26), align 2, !tbaa !10
  %23 = icmp eq i16 %.pre10, 0
  %or.cond24 = select i1 %22, i1 %23, i1 false
  br i1 %or.cond24, label %151, label %24

24:                                               ; preds = %14
  %25 = zext i16 %21 to i32
  %26 = zext i16 %.pre10 to i32
  %27 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 28), align 4, !tbaa !11
  %28 = zext i16 %27 to i64
  %29 = getelementptr inbounds [18 x ptr], ptr @PCI_CLASS_IDS, i64 0, i64 %28
  %30 = load ptr, ptr %29, align 8, !tbaa !12
  tail call void (ptr, ...) @printf(ptr noundef nonnull @.str.19, i32 noundef %25, i32 noundef %26, ptr noundef %30) #2
  %31 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 34), align 2, !tbaa !5
  %32 = icmp eq i16 %31, 0
  %.pre11 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 36), align 4, !tbaa !10
  %33 = icmp eq i16 %.pre11, 0
  %or.cond25 = select i1 %32, i1 %33, i1 false
  br i1 %or.cond25, label %151, label %34

34:                                               ; preds = %24
  %35 = zext i16 %31 to i32
  %36 = zext i16 %.pre11 to i32
  %37 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 38), align 2, !tbaa !11
  %38 = zext i16 %37 to i64
  %39 = getelementptr inbounds [18 x ptr], ptr @PCI_CLASS_IDS, i64 0, i64 %38
  %40 = load ptr, ptr %39, align 8, !tbaa !12
  tail call void (ptr, ...) @printf(ptr noundef nonnull @.str.19, i32 noundef %35, i32 noundef %36, ptr noundef %40) #2
  %41 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 44), align 4, !tbaa !5
  %42 = icmp eq i16 %41, 0
  %.pre12 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 46), align 2, !tbaa !10
  %43 = icmp eq i16 %.pre12, 0
  %or.cond26 = select i1 %42, i1 %43, i1 false
  br i1 %or.cond26, label %151, label %44

44:                                               ; preds = %34
  %45 = zext i16 %41 to i32
  %46 = zext i16 %.pre12 to i32
  %47 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 48), align 16, !tbaa !11
  %48 = zext i16 %47 to i64
  %49 = getelementptr inbounds [18 x ptr], ptr @PCI_CLASS_IDS, i64 0, i64 %48
  %50 = load ptr, ptr %49, align 8, !tbaa !12
  tail call void (ptr, ...) @printf(ptr noundef nonnull @.str.19, i32 noundef %45, i32 noundef %46, ptr noundef %50) #2
  %51 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 54), align 2, !tbaa !5
  %52 = icmp eq i16 %51, 0
  %.pre13 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 56), align 8, !tbaa !10
  %53 = icmp eq i16 %.pre13, 0
  %or.cond27 = select i1 %52, i1 %53, i1 false
  br i1 %or.cond27, label %151, label %54

54:                                               ; preds = %44
  %55 = zext i16 %51 to i32
  %56 = zext i16 %.pre13 to i32
  %57 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 58), align 2, !tbaa !11
  %58 = zext i16 %57 to i64
  %59 = getelementptr inbounds [18 x ptr], ptr @PCI_CLASS_IDS, i64 0, i64 %58
  %60 = load ptr, ptr %59, align 8, !tbaa !12
  tail call void (ptr, ...) @printf(ptr noundef nonnull @.str.19, i32 noundef %55, i32 noundef %56, ptr noundef %60) #2
  %61 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 64), align 16, !tbaa !5
  %62 = icmp eq i16 %61, 0
  %.pre14 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 66), align 2, !tbaa !10
  %63 = icmp eq i16 %.pre14, 0
  %or.cond28 = select i1 %62, i1 %63, i1 false
  br i1 %or.cond28, label %151, label %64

64:                                               ; preds = %54
  %65 = zext i16 %61 to i32
  %66 = zext i16 %.pre14 to i32
  %67 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 68), align 4, !tbaa !11
  %68 = zext i16 %67 to i64
  %69 = getelementptr inbounds [18 x ptr], ptr @PCI_CLASS_IDS, i64 0, i64 %68
  %70 = load ptr, ptr %69, align 8, !tbaa !12
  tail call void (ptr, ...) @printf(ptr noundef nonnull @.str.19, i32 noundef %65, i32 noundef %66, ptr noundef %70) #2
  %71 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 74), align 2, !tbaa !5
  %72 = icmp eq i16 %71, 0
  %.pre15 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 76), align 4, !tbaa !10
  %73 = icmp eq i16 %.pre15, 0
  %or.cond29 = select i1 %72, i1 %73, i1 false
  br i1 %or.cond29, label %151, label %74

74:                                               ; preds = %64
  %75 = zext i16 %71 to i32
  %76 = zext i16 %.pre15 to i32
  %77 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 78), align 2, !tbaa !11
  %78 = zext i16 %77 to i64
  %79 = getelementptr inbounds [18 x ptr], ptr @PCI_CLASS_IDS, i64 0, i64 %78
  %80 = load ptr, ptr %79, align 8, !tbaa !12
  tail call void (ptr, ...) @printf(ptr noundef nonnull @.str.19, i32 noundef %75, i32 noundef %76, ptr noundef %80) #2
  %81 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 84), align 4, !tbaa !5
  %82 = icmp eq i16 %81, 0
  %.pre16 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 86), align 2, !tbaa !10
  %83 = icmp eq i16 %.pre16, 0
  %or.cond30 = select i1 %82, i1 %83, i1 false
  br i1 %or.cond30, label %151, label %84

84:                                               ; preds = %74
  %85 = zext i16 %81 to i32
  %86 = zext i16 %.pre16 to i32
  %87 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 88), align 8, !tbaa !11
  %88 = zext i16 %87 to i64
  %89 = getelementptr inbounds [18 x ptr], ptr @PCI_CLASS_IDS, i64 0, i64 %88
  %90 = load ptr, ptr %89, align 8, !tbaa !12
  tail call void (ptr, ...) @printf(ptr noundef nonnull @.str.19, i32 noundef %85, i32 noundef %86, ptr noundef %90) #2
  %91 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 94), align 2, !tbaa !5
  %92 = icmp eq i16 %91, 0
  %.pre17 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 96), align 16, !tbaa !10
  %93 = icmp eq i16 %.pre17, 0
  %or.cond31 = select i1 %92, i1 %93, i1 false
  br i1 %or.cond31, label %151, label %94

94:                                               ; preds = %84
  %95 = zext i16 %91 to i32
  %96 = zext i16 %.pre17 to i32
  %97 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 98), align 2, !tbaa !11
  %98 = zext i16 %97 to i64
  %99 = getelementptr inbounds [18 x ptr], ptr @PCI_CLASS_IDS, i64 0, i64 %98
  %100 = load ptr, ptr %99, align 8, !tbaa !12
  tail call void (ptr, ...) @printf(ptr noundef nonnull @.str.19, i32 noundef %95, i32 noundef %96, ptr noundef %100) #2
  %101 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 104), align 8, !tbaa !5
  %102 = icmp eq i16 %101, 0
  %.pre18 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 106), align 2, !tbaa !10
  %103 = icmp eq i16 %.pre18, 0
  %or.cond32 = select i1 %102, i1 %103, i1 false
  br i1 %or.cond32, label %151, label %104

104:                                              ; preds = %94
  %105 = zext i16 %101 to i32
  %106 = zext i16 %.pre18 to i32
  %107 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 108), align 4, !tbaa !11
  %108 = zext i16 %107 to i64
  %109 = getelementptr inbounds [18 x ptr], ptr @PCI_CLASS_IDS, i64 0, i64 %108
  %110 = load ptr, ptr %109, align 8, !tbaa !12
  tail call void (ptr, ...) @printf(ptr noundef nonnull @.str.19, i32 noundef %105, i32 noundef %106, ptr noundef %110) #2
  %111 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 114), align 2, !tbaa !5
  %112 = icmp eq i16 %111, 0
  %.pre19 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 116), align 4, !tbaa !10
  %113 = icmp eq i16 %.pre19, 0
  %or.cond33 = select i1 %112, i1 %113, i1 false
  br i1 %or.cond33, label %151, label %114

114:                                              ; preds = %104
  %115 = zext i16 %111 to i32
  %116 = zext i16 %.pre19 to i32
  %117 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 118), align 2, !tbaa !11
  %118 = zext i16 %117 to i64
  %119 = getelementptr inbounds [18 x ptr], ptr @PCI_CLASS_IDS, i64 0, i64 %118
  %120 = load ptr, ptr %119, align 8, !tbaa !12
  tail call void (ptr, ...) @printf(ptr noundef nonnull @.str.19, i32 noundef %115, i32 noundef %116, ptr noundef %120) #2
  %121 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 124), align 4, !tbaa !5
  %122 = icmp eq i16 %121, 0
  %.pre20 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 126), align 2, !tbaa !10
  %123 = icmp eq i16 %.pre20, 0
  %or.cond34 = select i1 %122, i1 %123, i1 false
  br i1 %or.cond34, label %151, label %124

124:                                              ; preds = %114
  %125 = zext i16 %121 to i32
  %126 = zext i16 %.pre20 to i32
  %127 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 128), align 16, !tbaa !11
  %128 = zext i16 %127 to i64
  %129 = getelementptr inbounds [18 x ptr], ptr @PCI_CLASS_IDS, i64 0, i64 %128
  %130 = load ptr, ptr %129, align 8, !tbaa !12
  tail call void (ptr, ...) @printf(ptr noundef nonnull @.str.19, i32 noundef %125, i32 noundef %126, ptr noundef %130) #2
  %131 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 134), align 2, !tbaa !5
  %132 = icmp eq i16 %131, 0
  %.pre21 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 136), align 8, !tbaa !10
  %133 = icmp eq i16 %.pre21, 0
  %or.cond35 = select i1 %132, i1 %133, i1 false
  br i1 %or.cond35, label %151, label %134

134:                                              ; preds = %124
  %135 = zext i16 %131 to i32
  %136 = zext i16 %.pre21 to i32
  %137 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 138), align 2, !tbaa !11
  %138 = zext i16 %137 to i64
  %139 = getelementptr inbounds [18 x ptr], ptr @PCI_CLASS_IDS, i64 0, i64 %138
  %140 = load ptr, ptr %139, align 8, !tbaa !12
  tail call void (ptr, ...) @printf(ptr noundef nonnull @.str.19, i32 noundef %135, i32 noundef %136, ptr noundef %140) #2
  %141 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 144), align 16, !tbaa !5
  %142 = icmp eq i16 %141, 0
  %.pre22 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 146), align 2, !tbaa !10
  %143 = icmp eq i16 %.pre22, 0
  %or.cond36 = select i1 %142, i1 %143, i1 false
  br i1 %or.cond36, label %151, label %144

144:                                              ; preds = %134
  %145 = zext i16 %141 to i32
  %146 = zext i16 %.pre22 to i32
  %147 = load i16, ptr getelementptr inbounds (i8, ptr @pci_devices, i64 148), align 4, !tbaa !11
  %148 = zext i16 %147 to i64
  %149 = getelementptr inbounds [18 x ptr], ptr @PCI_CLASS_IDS, i64 0, i64 %148
  %150 = load ptr, ptr %149, align 8, !tbaa !12
  tail call void (ptr, ...) @printf(ptr noundef nonnull @.str.19, i32 noundef %145, i32 noundef %146, ptr noundef %150) #2
  br label %151

151:                                              ; preds = %134, %124, %114, %104, %94, %84, %74, %64, %54, %44, %34, %24, %14, %4, %0, %144
  ret void
}

declare void @vbe_set_color(i64 noundef) local_unnamed_addr #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 = { 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 = { 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, !9, i64 4}
!6 = !{!"pci_device", !7, i64 0, !7, i64 1, !7, i64 2, !9, i64 4, !9, i64 6, !9, i64 8}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"short", !7, i64 0}
!10 = !{!6, !9, i64 6}
!11 = !{!6, !9, i64 8}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,SROAPass,SimplifyCFGPass,TailCallElimPass