; LLVM IR from lichen-community-systems/signaletic :: hosts/daisy/vendor/libDaisy/Middlewares/ST/STM32_USB_Host_Library/Class/MSC_ (Read)

; 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._USBH_HandleTypeDef = type { i32, i32, i32, %struct.USBH_CtrlTypeDef, %struct.USBH_DeviceTypeDef, [1 x ptr], ptr, i32, [16 x i32], i32, i32, i8, ptr, ptr }
%struct.USBH_CtrlTypeDef = type { i8, i8, i8, ptr, i16, i16, %union._USB_Setup, i32, i8 }
%union._USB_Setup = type { [2 x i32] }
%struct.USBH_DeviceTypeDef = type { [256 x i8], [512 x i8], i8, i8, i8, i8, i8, i8, i8, i8, i8, %struct._DeviceDescriptor, %struct._ConfigurationDescriptor }
%struct._DeviceDescriptor = type { i8, i8, i16, i8, i8, i8, i8, i16, i16, i16, i8, i8, i8, i8 }
%struct._ConfigurationDescriptor = type { i8, i8, i16, i8, i8, i8, i8, i8, [2 x %struct._InterfaceDescriptor] }
%struct._InterfaceDescriptor = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, [2 x %struct._EndpointDescriptor] }
%struct._EndpointDescriptor = type { i8, i8, i8, i8, i16, i8 }
%struct.USBH_ClassTypeDef = type { ptr, i8, ptr, ptr, ptr, ptr, ptr, ptr }
%struct._MSC_Process = type { i8, [3 x i8], i8, i8, i8, i8, i16, i16, i32, i32, i32, i32, %struct.BOT_HandleTypeDef, [2 x %struct.MSC_LUNTypeDef], i16, i16, i32 }
%struct.BOT_HandleTypeDef = type { [16 x i32], i32, i32, i32, %union.BOT_CBWTypeDef, i8, %union.BOT_CSWTypeDef, [3 x i8], ptr }
%union.BOT_CBWTypeDef = type { %struct.__CBW }
%struct.__CBW = type { i32, i32, i32, i8, i8, i8, [16 x i8] }
%union.BOT_CSWTypeDef = type { %struct.__CSW }
%struct.__CSW = type { i32, i32, i32, i8 }
%struct.MSC_LUNTypeDef = type { i32, i32, i32, %struct.SCSI_CapacityTypeDef, %struct.SCSI_SenseTypeDef, %struct.SCSI_StdInquiryDataTypeDef, i8 }
%struct.SCSI_CapacityTypeDef = type { i32, i16 }
%struct.SCSI_SenseTypeDef = type { i8, i8, i8 }
%struct.SCSI_StdInquiryDataTypeDef = type { i8, i8, i8, [9 x i8], [17 x i8], [5 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 i32 @USBH_MSC_Read(ptr noundef %0, i8 noundef zeroext %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #1 {
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i8 %1, ptr %8, align 1, !tbaa !9
  store i32 %2, ptr %9, align 4, !tbaa !10
  store ptr %3, ptr %10, align 8, !tbaa !5
  store i32 %4, ptr %11, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %15 = load ptr, ptr %7, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct._USBH_HandleTypeDef, ptr %15, i32 0, i32 6
  %17 = load ptr, ptr %16, align 8, !tbaa !12
  %18 = getelementptr inbounds %struct.USBH_ClassTypeDef, ptr %17, i32 0, i32 7
  %19 = load ptr, ptr %18, align 8, !tbaa !19
  store ptr %19, ptr %13, align 8, !tbaa !5
  %20 = load ptr, ptr %7, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct._USBH_HandleTypeDef, ptr %20, i32 0, i32 4
  %22 = getelementptr inbounds %struct.USBH_DeviceTypeDef, ptr %21, i32 0, i32 6
  %23 = load volatile i8, ptr %22, align 4, !tbaa !21
  %24 = zext i8 %23 to i32
  %25 = icmp eq i32 %24, 0
  br i1 %25, label %40, label %26

26:                                               ; preds = %5
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct._USBH_HandleTypeDef, ptr %27, i32 0, i32 0
  %29 = load volatile i32, ptr %28, align 8, !tbaa !22
  %30 = icmp ne i32 %29, 11
  br i1 %30, label %40, label %31

31:                                               ; preds = %26
  %32 = load ptr, ptr %13, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct._MSC_Process, ptr %32, i32 0, i32 13
  %34 = load i8, ptr %8, align 1, !tbaa !9
  %35 = zext i8 %34 to i64
  %36 = getelementptr inbounds [2 x %struct.MSC_LUNTypeDef], ptr %33, i64 0, i64 %35
  %37 = getelementptr inbounds %struct.MSC_LUNTypeDef, ptr %36, i32 0, i32 0
  %38 = load i32, ptr %37, align 4, !tbaa !23
  %39 = icmp ne i32 %38, 1
  br i1 %39, label %40, label %41

40:                                               ; preds = %31, %26, %5
  store i32 2, ptr %6, align 4
  store i32 1, ptr %14, align 4
  br label %91

41:                                               ; preds = %31
  %42 = load ptr, ptr %13, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct._MSC_Process, ptr %42, i32 0, i32 8
  store i32 6, ptr %43, align 4, !tbaa !28
  %44 = load ptr, ptr %13, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct._MSC_Process, ptr %44, i32 0, i32 13
  %46 = load i8, ptr %8, align 1, !tbaa !9
  %47 = zext i8 %46 to i64
  %48 = getelementptr inbounds [2 x %struct.MSC_LUNTypeDef], ptr %45, i64 0, i64 %47
  %49 = getelementptr inbounds %struct.MSC_LUNTypeDef, ptr %48, i32 0, i32 0
  store i32 6, ptr %49, align 4, !tbaa !23
  %50 = load i8, ptr %8, align 1, !tbaa !9
  %51 = zext i8 %50 to i16
  %52 = load ptr, ptr %13, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct._MSC_Process, ptr %52, i32 0, i32 15
  store i16 %51, ptr %53, align 2, !tbaa !31
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = load i8, ptr %8, align 1, !tbaa !9
  %56 = load i32, ptr %9, align 4, !tbaa !10
  %57 = load ptr, ptr %10, align 8, !tbaa !5
  %58 = load i32, ptr %11, align 4, !tbaa !10
  %59 = call i32 @USBH_MSC_SCSI_Read(ptr noundef %54, i8 noundef zeroext %55, i32 noundef %56, ptr noundef %57, i32 noundef %58)
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct._USBH_HandleTypeDef, ptr %60, i32 0, i32 9
  %62 = load volatile i32, ptr %61, align 4, !tbaa !32
  store i32 %62, ptr %12, align 4, !tbaa !10
  br label %63

63:                                               ; preds = %87, %41
  %64 = load ptr, ptr %7, align 8, !tbaa !5
  %65 = load i8, ptr %8, align 1, !tbaa !9
  %66 = call i32 @USBH_MSC_RdWrProcess(ptr noundef %64, i8 noundef zeroext %65)
  %67 = icmp eq i32 %66, 1
  br i1 %67, label %68, label %88

68:                                               ; preds = %63
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct._USBH_HandleTypeDef, ptr %69, i32 0, i32 9
  %71 = load volatile i32, ptr %70, align 4, !tbaa !32
  %72 = load i32, ptr %12, align 4, !tbaa !10
  %73 = sub i32 %71, %72
  %74 = load i32, ptr %11, align 4, !tbaa !10
  %75 = mul i32 10000, %74
  %76 = icmp ugt i32 %73, %75
  br i1 %76, label %84, label %77

77:                                               ; preds = %68
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct._USBH_HandleTypeDef, ptr %78, i32 0, i32 4
  %80 = getelementptr inbounds %struct.USBH_DeviceTypeDef, ptr %79, i32 0, i32 6
  %81 = load volatile i8, ptr %80, align 4, !tbaa !21
  %82 = zext i8 %81 to i32
  %83 = icmp eq i32 %82, 0
  br i1 %83, label %84, label %87

84:                                               ; preds = %77, %68
  %85 = load ptr, ptr %13, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct._MSC_Process, ptr %85, i32 0, i32 8
  store i32 1, ptr %86, align 4, !tbaa !28
  store i32 2, ptr %6, align 4
  store i32 1, ptr %14, align 4
  br label %91

87:                                               ; preds = %77
  br label %63, !llvm.loop !33

88:                                               ; preds = %63
  %89 = load ptr, ptr %13, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct._MSC_Process, ptr %89, i32 0, i32 8
  store i32 1, ptr %90, align 4, !tbaa !28
  store i32 0, ptr %6, align 4
  store i32 1, ptr %14, align 4
  br label %91

91:                                               ; preds = %88, %84, %40
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  %92 = load i32, ptr %6, align 4
  ret i32 %92
}

declare i32 @USBH_MSC_SCSI_Read(ptr noundef, i8 noundef zeroext, i32 noundef, ptr noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @USBH_MSC_RdWrProcess(ptr 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 = { "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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !6, i64 928}
!13 = !{!"_USBH_HandleTypeDef", !11, i64 0, !11, i64 4, !11, i64 8, !14, i64 16, !16, i64 56, !7, i64 920, !6, i64 928, !11, i64 936, !7, i64 940, !11, i64 1004, !11, i64 1008, !7, i64 1012, !6, i64 1016, !6, i64 1024}
!14 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !6, i64 8, !15, i64 16, !15, i64 18, !7, i64 20, !11, i64 28, !7, i64 32}
!15 = !{!"short", !7, i64 0}
!16 = !{!"", !7, i64 0, !7, i64 256, !7, i64 768, !7, i64 769, !7, i64 770, !7, i64 771, !7, i64 772, !7, i64 773, !7, i64 774, !7, i64 775, !7, i64 776, !17, i64 778, !18, i64 796}
!17 = !{!"_DeviceDescriptor", !7, i64 0, !7, i64 1, !15, i64 2, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7, !15, i64 8, !15, i64 10, !15, i64 12, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17}
!18 = !{!"_ConfigurationDescriptor", !7, i64 0, !7, i64 1, !15, i64 2, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7, !7, i64 8, !7, i64 10}
!19 = !{!20, !6, i64 56}
!20 = !{!"", !6, i64 0, !7, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56}
!21 = !{!13, !7, i64 828}
!22 = !{!13, !11, i64 0}
!23 = !{!24, !11, i64 0}
!24 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !25, i64 12, !26, i64 20, !27, i64 23, !7, i64 57}
!25 = !{!"", !11, i64 0, !15, i64 4}
!26 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2}
!27 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 12, !7, i64 29}
!28 = !{!29, !11, i64 12}
!29 = !{!"_MSC_Process", !7, i64 0, !7, i64 1, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7, !15, i64 8, !15, i64 10, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !30, i64 32, !7, i64 176, !15, i64 296, !15, i64 298, !11, i64 300}
!30 = !{!"", !7, i64 0, !11, i64 64, !11, i64 68, !11, i64 72, !7, i64 76, !7, i64 108, !7, i64 112, !7, i64 128, !6, i64 136}
!31 = !{!29, !15, i64 298}
!32 = !{!13, !11, i64 1004}
!33 = distinct !{!33, !34}
!34 = !{!"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.MSC_LUNTypeDef = type { i32, i32, i32, %struct.SCSI_CapacityTypeDef, %struct.SCSI_SenseTypeDef, %struct.SCSI_StdInquiryDataTypeDef, i8 }
%struct.SCSI_CapacityTypeDef = type { i32, i16 }
%struct.SCSI_SenseTypeDef = type { i8, i8, i8 }
%struct.SCSI_StdInquiryDataTypeDef = type { i8, i8, i8, [9 x i8], [17 x i8], [5 x i8] }

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 3) i32 @USBH_MSC_Read(ptr noundef %0, i8 noundef zeroext %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) local_unnamed_addr #0 {
  %6 = getelementptr inbounds i8, ptr %0, i64 928
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %7, i64 56
  %9 = load ptr, ptr %8, align 8, !tbaa !16
  %10 = getelementptr inbounds i8, ptr %0, i64 828
  %11 = load volatile i8, ptr %10, align 4, !tbaa !18
  %12 = icmp eq i8 %11, 0
  br i1 %12, label %38, label %13

13:                                               ; preds = %5
  %14 = load volatile i32, ptr %0, align 8, !tbaa !19
  %.not = icmp eq i32 %14, 11
  br i1 %.not, label %15, label %38

15:                                               ; preds = %13
  %16 = getelementptr inbounds i8, ptr %9, i64 176
  %17 = zext i8 %1 to i64
  %18 = getelementptr inbounds [2 x %struct.MSC_LUNTypeDef], ptr %16, i64 0, i64 %17
  %19 = load i32, ptr %18, align 4, !tbaa !20
  %.not24 = icmp eq i32 %19, 1
  br i1 %.not24, label %20, label %38

20:                                               ; preds = %15
  %21 = getelementptr inbounds i8, ptr %9, i64 12
  store i32 6, ptr %21, align 4, !tbaa !25
  store i32 6, ptr %18, align 4, !tbaa !20
  %22 = zext i8 %1 to i16
  %23 = getelementptr inbounds i8, ptr %9, i64 298
  store i16 %22, ptr %23, align 2, !tbaa !28
  %24 = tail call i32 @USBH_MSC_SCSI_Read(ptr noundef nonnull %0, i8 noundef zeroext %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #2
  %25 = getelementptr inbounds i8, ptr %0, i64 1004
  %26 = load volatile i32, ptr %25, align 4, !tbaa !29
  %27 = mul i32 %4, 10000
  br label %28

28:                                               ; preds = %35, %20
  %29 = tail call i32 @USBH_MSC_RdWrProcess(ptr noundef nonnull %0, i8 noundef zeroext %1)
  %30 = icmp eq i32 %29, 1
  br i1 %30, label %31, label %.sink.split

31:                                               ; preds = %28
  %32 = load volatile i32, ptr %25, align 4, !tbaa !29
  %33 = sub i32 %32, %26
  %34 = icmp ugt i32 %33, %27
  br i1 %34, label %.sink.split, label %35

35:                                               ; preds = %31
  %36 = load volatile i8, ptr %10, align 4, !tbaa !18
  %37 = icmp eq i8 %36, 0
  br i1 %37, label %.sink.split, label %28, !llvm.loop !30

.sink.split:                                      ; preds = %28, %31, %35
  %.0.ph = phi i32 [ 2, %35 ], [ 2, %31 ], [ 0, %28 ]
  store i32 1, ptr %21, align 4, !tbaa !25
  br label %38

38:                                               ; preds = %.sink.split, %5, %13, %15
  %.0 = phi i32 [ 2, %15 ], [ 2, %13 ], [ 2, %5 ], [ %.0.ph, %.sink.split ]
  ret i32 %.0
}

declare i32 @USBH_MSC_SCSI_Read(ptr noundef, i8 noundef zeroext, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @USBH_MSC_RdWrProcess(ptr noundef, i8 noundef zeroext) local_unnamed_addr #0

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, !11, i64 928}
!6 = !{!"_USBH_HandleTypeDef", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !13, i64 56, !8, i64 920, !11, i64 928, !7, i64 936, !8, i64 940, !7, i64 1004, !7, i64 1008, !8, i64 1012, !11, i64 1016, !11, i64 1024}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"", !8, i64 0, !8, i64 1, !8, i64 2, !11, i64 8, !12, i64 16, !12, i64 18, !8, i64 20, !7, i64 28, !8, i64 32}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"short", !8, i64 0}
!13 = !{!"", !8, i64 0, !8, i64 256, !8, i64 768, !8, i64 769, !8, i64 770, !8, i64 771, !8, i64 772, !8, i64 773, !8, i64 774, !8, i64 775, !8, i64 776, !14, i64 778, !15, i64 796}
!14 = !{!"_DeviceDescriptor", !8, i64 0, !8, i64 1, !12, i64 2, !8, i64 4, !8, i64 5, !8, i64 6, !8, i64 7, !12, i64 8, !12, i64 10, !12, i64 12, !8, i64 14, !8, i64 15, !8, i64 16, !8, i64 17}
!15 = !{!"_ConfigurationDescriptor", !8, i64 0, !8, i64 1, !12, i64 2, !8, i64 4, !8, i64 5, !8, i64 6, !8, i64 7, !8, i64 8, !8, i64 10}
!16 = !{!17, !11, i64 56}
!17 = !{!"", !11, i64 0, !8, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56}
!18 = !{!6, !8, i64 828}
!19 = !{!6, !7, i64 0}
!20 = !{!21, !7, i64 0}
!21 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !22, i64 12, !23, i64 20, !24, i64 23, !8, i64 57}
!22 = !{!"", !7, i64 0, !12, i64 4}
!23 = !{!"", !8, i64 0, !8, i64 1, !8, i64 2}
!24 = !{!"", !8, i64 0, !8, i64 1, !8, i64 2, !8, i64 3, !8, i64 12, !8, i64 29}
!25 = !{!26, !7, i64 12}
!26 = !{!"_MSC_Process", !8, i64 0, !8, i64 1, !8, i64 4, !8, i64 5, !8, i64 6, !8, i64 7, !12, i64 8, !12, i64 10, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !27, i64 32, !8, i64 176, !12, i64 296, !12, i64 298, !7, i64 300}
!27 = !{!"", !8, i64 0, !7, i64 64, !7, i64 68, !7, i64 72, !8, i64 76, !8, i64 108, !8, i64 112, !8, i64 128, !11, i64 136}
!28 = !{!26, !12, i64 298}
!29 = !{!6, !7, i64 1004}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}


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