; LLVM IR from thalium/icebox :: third_party/virtualbox/src/VBox/Devices/EFI/Firmware/OptionRomPkg (E100bReadEepromAndStationAddress)

; 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.s_data_instance = type { i16, i16, i8, i8, i16, i16, i16, i16, i16, [32 x i8], [32 x i8], [32 x i8], [64 x i32], [128 x i32], i32, i32, i16, i16, i8, i8, i8, i8, i16, i16, i16, i16, i32, i32, i16, i16, [2 x i16], i8, i8, i16, i32, ptr, ptr, ptr, ptr, ptr, ptr, i64, i64, i64, i64, i64, [64 x i64], i16, i16, i16, i16, i8, i8, i8, i8, i8, [3 x i8], %struct.mc, i64, ptr, i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.mc = type { [3 x i16], i16, [8 x [32 x i8]] }

; 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

; Function Attrs: nounwind uwtable
define dso_local signext i16 @E100bReadEepromAndStationAddress(ptr noundef %0) #1 {
  %2 = alloca i16, align 2
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i16, align 2
  %7 = alloca i16, align 2
  %8 = alloca i8, align 1
  %9 = alloca ptr, align 8
  %10 = alloca i16, align 2
  %11 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #2
  call void @llvm.lifetime.start.p0(i64 2, ptr %6) #2
  call void @llvm.lifetime.start.p0(i64 2, ptr %7) #2
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #2
  %12 = load ptr, ptr %3, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.s_data_instance, ptr %12, i32 0, i32 13
  %14 = getelementptr inbounds [128 x i32], ptr %13, i64 0, i64 0
  store ptr %14, ptr %9, align 8, !tbaa !5
  store i16 0, ptr %6, align 2, !tbaa !9
  %15 = load ptr, ptr %3, align 8, !tbaa !5
  %16 = call zeroext i8 @E100bGetEepromAddrLen(ptr noundef %15)
  store i8 %16, ptr %8, align 1, !tbaa !11
  %17 = load i8, ptr %8, align 1, !tbaa !11
  %18 = zext i8 %17 to i32
  %19 = shl i32 1, %18
  %20 = trunc i32 %19 to i16
  store i16 %20, ptr %7, align 2, !tbaa !9
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.s_data_instance, ptr %21, i32 0, i32 33
  store i16 %20, ptr %22, align 2, !tbaa !12
  store i32 0, ptr %5, align 4, !tbaa !17
  store i32 0, ptr %4, align 4, !tbaa !17
  br label %23

23:                                               ; preds = %71, %1
  %24 = load i32, ptr %5, align 4, !tbaa !17
  %25 = icmp slt i32 %24, 31
  br i1 %25, label %26, label %31

26:                                               ; preds = %23
  %27 = load i32, ptr %4, align 4, !tbaa !17
  %28 = load i16, ptr %7, align 2, !tbaa !9
  %29 = zext i16 %28 to i32
  %30 = icmp slt i32 %27, %29
  br label %31

31:                                               ; preds = %26, %23
  %32 = phi i1 [ false, %23 ], [ %30, %26 ]
  br i1 %32, label %33, label %74

33:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 2, ptr %10) #2
  %34 = load ptr, ptr %3, align 8, !tbaa !5
  %35 = load i32, ptr %4, align 4, !tbaa !17
  %36 = load i8, ptr %8, align 1, !tbaa !11
  %37 = call zeroext i16 @E100bReadEeprom(ptr noundef %34, i32 noundef %35, i8 noundef zeroext %36)
  store i16 %37, ptr %10, align 2, !tbaa !9
  %38 = load i16, ptr %10, align 2, !tbaa !9
  %39 = load ptr, ptr %9, align 8, !tbaa !5
  %40 = load i32, ptr %4, align 4, !tbaa !17
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds i16, ptr %39, i64 %41
  store i16 %38, ptr %42, align 2, !tbaa !9
  %43 = load i16, ptr %6, align 2, !tbaa !9
  %44 = zext i16 %43 to i32
  %45 = load i16, ptr %10, align 2, !tbaa !9
  %46 = zext i16 %45 to i32
  %47 = add nsw i32 %44, %46
  %48 = trunc i32 %47 to i16
  store i16 %48, ptr %6, align 2, !tbaa !9
  %49 = load i32, ptr %4, align 4, !tbaa !17
  %50 = icmp slt i32 %49, 3
  br i1 %50, label %51, label %70

51:                                               ; preds = %33
  %52 = load i16, ptr %10, align 2, !tbaa !9
  %53 = trunc i16 %52 to i8
  %54 = load ptr, ptr %3, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.s_data_instance, ptr %54, i32 0, i32 9
  %56 = load i32, ptr %5, align 4, !tbaa !17
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr %5, align 4, !tbaa !17
  %58 = sext i32 %56 to i64
  %59 = getelementptr inbounds [32 x i8], ptr %55, i64 0, i64 %58
  store i8 %53, ptr %59, align 1, !tbaa !11
  %60 = load i16, ptr %10, align 2, !tbaa !9
  %61 = zext i16 %60 to i32
  %62 = ashr i32 %61, 8
  %63 = trunc i32 %62 to i8
  %64 = load ptr, ptr %3, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.s_data_instance, ptr %64, i32 0, i32 9
  %66 = load i32, ptr %5, align 4, !tbaa !17
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %5, align 4, !tbaa !17
  %68 = sext i32 %66 to i64
  %69 = getelementptr inbounds [32 x i8], ptr %65, i64 0, i64 %68
  store i8 %63, ptr %69, align 1, !tbaa !11
  br label %70

70:                                               ; preds = %51, %33
  call void @llvm.lifetime.end.p0(i64 2, ptr %10) #2
  br label %71

71:                                               ; preds = %70
  %72 = load i32, ptr %4, align 4, !tbaa !17
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %4, align 4, !tbaa !17
  br label %23, !llvm.loop !18

74:                                               ; preds = %31
  %75 = load i16, ptr %6, align 2, !tbaa !9
  %76 = zext i16 %75 to i32
  %77 = icmp ne i32 %76, 47802
  br i1 %77, label %78, label %79

78:                                               ; preds = %74
  store i16 -1, ptr %2, align 2
  store i32 1, ptr %11, align 4
  br label %135

79:                                               ; preds = %74
  store i32 0, ptr %4, align 4, !tbaa !17
  br label %80

80:                                               ; preds = %95, %79
  %81 = load i32, ptr %4, align 4, !tbaa !17
  %82 = icmp slt i32 %81, 6
  br i1 %82, label %83, label %98

83:                                               ; preds = %80
  %84 = load ptr, ptr %3, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.s_data_instance, ptr %84, i32 0, i32 9
  %86 = load i32, ptr %4, align 4, !tbaa !17
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [32 x i8], ptr %85, i64 0, i64 %87
  %89 = load i8, ptr %88, align 1, !tbaa !11
  %90 = load ptr, ptr %3, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.s_data_instance, ptr %90, i32 0, i32 10
  %92 = load i32, ptr %4, align 4, !tbaa !17
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [32 x i8], ptr %91, i64 0, i64 %93
  store i8 %89, ptr %94, align 1, !tbaa !11
  br label %95

95:                                               ; preds = %83
  %96 = load i32, ptr %4, align 4, !tbaa !17
  %97 = add nsw i32 %96, 1
  store i32 %97, ptr %4, align 4, !tbaa !17
  br label %80, !llvm.loop !20

98:                                               ; preds = %80
  store i32 0, ptr %4, align 4, !tbaa !17
  br label %99

99:                                               ; preds = %108, %98
  %100 = load i32, ptr %4, align 4, !tbaa !17
  %101 = icmp slt i32 %100, 6
  br i1 %101, label %102, label %111

102:                                              ; preds = %99
  %103 = load ptr, ptr %3, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.s_data_instance, ptr %103, i32 0, i32 11
  %105 = load i32, ptr %4, align 4, !tbaa !17
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [32 x i8], ptr %104, i64 0, i64 %106
  store i8 -1, ptr %107, align 1, !tbaa !11
  br label %108

108:                                              ; preds = %102
  %109 = load i32, ptr %4, align 4, !tbaa !17
  %110 = add nsw i32 %109, 1
  store i32 %110, ptr %4, align 4, !tbaa !17
  br label %99, !llvm.loop !21

111:                                              ; preds = %99
  store i32 6, ptr %4, align 4, !tbaa !17
  br label %112

112:                                              ; preds = %131, %111
  %113 = load i32, ptr %4, align 4, !tbaa !17
  %114 = icmp slt i32 %113, 32
  br i1 %114, label %115, label %134

115:                                              ; preds = %112
  %116 = load ptr, ptr %3, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.s_data_instance, ptr %116, i32 0, i32 10
  %118 = load i32, ptr %4, align 4, !tbaa !17
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [32 x i8], ptr %117, i64 0, i64 %119
  store i8 0, ptr %120, align 1, !tbaa !11
  %121 = load ptr, ptr %3, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.s_data_instance, ptr %121, i32 0, i32 9
  %123 = load i32, ptr %4, align 4, !tbaa !17
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds [32 x i8], ptr %122, i64 0, i64 %124
  store i8 0, ptr %125, align 1, !tbaa !11
  %126 = load ptr, ptr %3, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.s_data_instance, ptr %126, i32 0, i32 11
  %128 = load i32, ptr %4, align 4, !tbaa !17
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds [32 x i8], ptr %127, i64 0, i64 %129
  store i8 0, ptr %130, align 1, !tbaa !11
  br label %131

131:                                              ; preds = %115
  %132 = load i32, ptr %4, align 4, !tbaa !17
  %133 = add nsw i32 %132, 1
  store i32 %133, ptr %4, align 4, !tbaa !17
  br label %112, !llvm.loop !22

134:                                              ; preds = %112
  store i16 0, ptr %2, align 2
  store i32 1, ptr %11, align 4
  br label %135

135:                                              ; preds = %134, %78
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #2
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #2
  call void @llvm.lifetime.end.p0(i64 2, ptr %7) #2
  call void @llvm.lifetime.end.p0(i64 2, ptr %6) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #2
  %136 = load i16, ptr %2, align 2
  ret i16 %136
}

; Function Attrs: nounwind uwtable
declare dso_local zeroext i8 @E100bGetEepromAddrLen(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local zeroext i16 @E100bReadEeprom(ptr noundef, i32 noundef, i8 noundef zeroext) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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, !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 = !{!7, !7, i64 0}
!12 = !{!13, !10, i64 922}
!13 = !{!"s_data_instance", !10, i64 0, !10, i64 2, !7, i64 4, !7, i64 5, !10, i64 6, !10, i64 8, !10, i64 10, !10, i64 12, !10, i64 14, !7, i64 16, !7, i64 48, !7, i64 80, !7, i64 112, !7, i64 368, !14, i64 880, !14, i64 884, !10, i64 888, !10, i64 890, !7, i64 892, !7, i64 893, !7, i64 894, !7, i64 895, !10, i64 896, !10, i64 898, !10, i64 900, !10, i64 902, !14, i64 904, !14, i64 908, !10, i64 912, !10, i64 914, !7, i64 916, !7, i64 920, !7, i64 921, !10, i64 922, !14, i64 924, !6, i64 928, !6, i64 936, !6, i64 944, !6, i64 952, !6, i64 960, !6, i64 968, !15, i64 976, !15, i64 984, !15, i64 992, !15, i64 1000, !15, i64 1008, !7, i64 1016, !10, i64 1528, !10, i64 1530, !10, i64 1532, !10, i64 1534, !7, i64 1536, !7, i64 1537, !7, i64 1538, !7, i64 1539, !7, i64 1540, !7, i64 1541, !16, i64 1544, !15, i64 1808, !6, i64 1816, !15, i64 1824, !6, i64 1832, !6, i64 1840, !6, i64 1848, !6, i64 1856, !6, i64 1864, !6, i64 1872, !6, i64 1880, !6, i64 1888, !6, i64 1896, !6, i64 1904, !6, i64 1912}
!14 = !{!"int", !7, i64 0}
!15 = !{!"long long", !7, i64 0}
!16 = !{!"mc", !7, i64 0, !10, i64 6, !7, i64 8}
!17 = !{!14, !14, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = distinct !{!21, !19}
!22 = distinct !{!22, !19}


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

; Function Attrs: nounwind uwtable
define dso_local signext range(i16 -1, 1) i16 @E100bReadEepromAndStationAddress(ptr noundef %0) local_unnamed_addr #0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 368
  %3 = tail call zeroext i8 @E100bGetEepromAddrLen(ptr noundef %0)
  %4 = zext nneg i8 %3 to i32
  %5 = shl nuw i32 1, %4
  %6 = trunc i32 %5 to i16
  %7 = getelementptr inbounds i8, ptr %0, i64 922
  store i16 %6, ptr %7, align 2, !tbaa !5
  %.not54 = icmp ugt i8 %3, 15
  br i1 %.not54, label %.loopexit, label %8

8:                                                ; preds = %1
  %9 = zext nneg i32 %5 to i64
  %10 = tail call zeroext i16 @E100bReadEeprom(ptr noundef nonnull %0, i32 noundef 0, i8 noundef zeroext %3)
  store i16 %10, ptr %2, align 2, !tbaa !14
  %11 = getelementptr inbounds i8, ptr %0, i64 16
  %12 = trunc i16 %10 to i8
  store i8 %12, ptr %11, align 1, !tbaa !15
  %13 = lshr i16 %10, 8
  %14 = trunc nuw i16 %13 to i8
  %15 = getelementptr inbounds i8, ptr %0, i64 17
  store i8 %14, ptr %15, align 1, !tbaa !15
  %.not72 = icmp eq i8 %3, 0
  br i1 %.not72, label %._crit_edge, label %16

16:                                               ; preds = %8
  %17 = tail call zeroext i16 @E100bReadEeprom(ptr noundef nonnull %0, i32 noundef 1, i8 noundef zeroext %3)
  %18 = getelementptr inbounds i8, ptr %0, i64 370
  store i16 %17, ptr %18, align 2, !tbaa !14
  %19 = add i16 %17, %10
  %20 = trunc i16 %17 to i8
  %21 = getelementptr inbounds i8, ptr %0, i64 18
  store i8 %20, ptr %21, align 1, !tbaa !15
  %22 = lshr i16 %17, 8
  %23 = trunc nuw i16 %22 to i8
  %24 = getelementptr inbounds i8, ptr %0, i64 19
  store i8 %23, ptr %24, align 1, !tbaa !15
  %.not73 = icmp eq i8 %3, 1
  br i1 %.not73, label %._crit_edge, label %.peel.next58

.peel.next58:                                     ; preds = %16
  %25 = tail call zeroext i16 @E100bReadEeprom(ptr noundef nonnull %0, i32 noundef 2, i8 noundef zeroext %3)
  %26 = getelementptr inbounds i8, ptr %0, i64 372
  store i16 %25, ptr %26, align 2, !tbaa !14
  %27 = add i16 %25, %19
  %28 = trunc i16 %25 to i8
  %29 = getelementptr inbounds i8, ptr %0, i64 20
  store i8 %28, ptr %29, align 1, !tbaa !15
  %30 = lshr i16 %25, 8
  %31 = trunc nuw i16 %30 to i8
  %32 = getelementptr inbounds i8, ptr %0, i64 21
  store i8 %31, ptr %32, align 1, !tbaa !15
  br label %33

33:                                               ; preds = %33, %.peel.next58
  %indvars.iv = phi i64 [ 3, %.peel.next58 ], [ %indvars.iv.next, %33 ]
  %.04548 = phi i16 [ %27, %.peel.next58 ], [ %37, %33 ]
  %34 = trunc nuw nsw i64 %indvars.iv to i32
  %35 = tail call zeroext i16 @E100bReadEeprom(ptr noundef nonnull %0, i32 noundef %34, i8 noundef zeroext %3)
  %36 = getelementptr inbounds i16, ptr %2, i64 %indvars.iv
  store i16 %35, ptr %36, align 2, !tbaa !14
  %37 = add i16 %35, %.04548
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %38 = icmp ult i64 %indvars.iv.next, %9
  br i1 %38, label %33, label %._crit_edge, !llvm.loop !16

._crit_edge:                                      ; preds = %33, %8, %16
  %.lcssa = phi i16 [ %10, %8 ], [ %19, %16 ], [ %37, %33 ]
  %39 = icmp eq i16 %.lcssa, -17734
  br i1 %39, label %.preheader47, label %.loopexit

.preheader47:                                     ; preds = %._crit_edge
  %40 = getelementptr inbounds i8, ptr %0, i64 16
  %41 = getelementptr inbounds i8, ptr %0, i64 48
  %42 = load <4 x i8>, ptr %40, align 1, !tbaa !15
  store <4 x i8> %42, ptr %41, align 1, !tbaa !15
  %43 = getelementptr inbounds i8, ptr %0, i64 20
  %44 = load i8, ptr %43, align 1, !tbaa !15
  %45 = getelementptr inbounds i8, ptr %0, i64 52
  store i8 %44, ptr %45, align 1, !tbaa !15
  %46 = getelementptr inbounds i8, ptr %0, i64 21
  %47 = load i8, ptr %46, align 1, !tbaa !15
  %48 = getelementptr inbounds i8, ptr %0, i64 53
  store i8 %47, ptr %48, align 1, !tbaa !15
  %49 = getelementptr inbounds i8, ptr %0, i64 80
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(6) %49, i8 -1, i64 6, i1 false), !tbaa !15
  %scevgep = getelementptr i8, ptr %0, i64 22
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(26) %scevgep, i8 0, i64 26, i1 false), !tbaa !15
  %50 = getelementptr inbounds i8, ptr %0, i64 54
  %51 = getelementptr inbounds i8, ptr %0, i64 86
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(26) %50, i8 0, i64 26, i1 false)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(26) %51, i8 0, i64 26, i1 false)
  br label %.loopexit

.loopexit:                                        ; preds = %1, %.preheader47, %._crit_edge
  %.0 = phi i16 [ -1, %._crit_edge ], [ 0, %.preheader47 ], [ -1, %1 ]
  ret i16 %.0
}

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

; Function Attrs: nounwind uwtable
declare dso_local zeroext i16 @E100bReadEeprom(ptr noundef, i32 noundef, i8 noundef zeroext) local_unnamed_addr #0

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 = { nocallback nofree nounwind willreturn memory(argmem: write) }

!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 922}
!6 = !{!"s_data_instance", !7, i64 0, !7, i64 2, !8, i64 4, !8, i64 5, !7, i64 6, !7, i64 8, !7, i64 10, !7, i64 12, !7, i64 14, !8, i64 16, !8, i64 48, !8, i64 80, !8, i64 112, !8, i64 368, !10, i64 880, !10, i64 884, !7, i64 888, !7, i64 890, !8, i64 892, !8, i64 893, !8, i64 894, !8, i64 895, !7, i64 896, !7, i64 898, !7, i64 900, !7, i64 902, !10, i64 904, !10, i64 908, !7, i64 912, !7, i64 914, !8, i64 916, !8, i64 920, !8, i64 921, !7, i64 922, !10, i64 924, !11, i64 928, !11, i64 936, !11, i64 944, !11, i64 952, !11, i64 960, !11, i64 968, !12, i64 976, !12, i64 984, !12, i64 992, !12, i64 1000, !12, i64 1008, !8, i64 1016, !7, i64 1528, !7, i64 1530, !7, i64 1532, !7, i64 1534, !8, i64 1536, !8, i64 1537, !8, i64 1538, !8, i64 1539, !8, i64 1540, !8, i64 1541, !13, i64 1544, !12, i64 1808, !11, i64 1816, !12, i64 1824, !11, i64 1832, !11, i64 1840, !11, i64 1848, !11, i64 1856, !11, i64 1864, !11, i64 1872, !11, i64 1880, !11, i64 1888, !11, i64 1896, !11, i64 1904, !11, i64 1912}
!7 = !{!"short", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"long long", !8, i64 0}
!13 = !{!"mc", !8, i64 0, !7, i64 6, !8, i64 8}
!14 = !{!7, !7, i64 0}
!15 = !{!8, !8, i64 0}
!16 = distinct !{!16, !17, !18}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!"llvm.loop.peeled.count", i32 3}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopFullUnrollPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,ReassociatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass