; LLVM IR from ctlst-tech/catpilot :: bsp/mcu/core/stm32/h753/hal/src (stm32h7xx_hal_sd)

; 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.SDMMC_DataInitTypeDef = type { i32, i32, i32, i32, i32, i32 }
%struct.SD_HandleTypeDef = type { ptr, %struct.SDMMC_InitTypeDef, i32, ptr, i32, ptr, i32, i32, i32, i32, %struct.HAL_SD_CardInfoTypeDef, [4 x i32], [4 x i32] }
%struct.SDMMC_InitTypeDef = type { i32, i32, i32, i32, i32 }
%struct.HAL_SD_CardInfoTypeDef = type { i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.SDMMC_TypeDef = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [3 x i32], i32, i32, i32, i32, [8 x i32], i32, [222 x i32], i32 }

; 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 i32 @SDMMC_ConfigData(ptr noundef, ptr noundef) #1

declare i32 @SDMMC_CmdReadMultiBlock(ptr noundef, i32 noundef) #1

declare i32 @SDMMC_CmdReadSingleBlock(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @HAL_SD_ReadBlocks_IT(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #2 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %struct.SDMMC_DataInitTypeDef, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  %14 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %14, ptr %12, align 4, !tbaa !9
  %15 = load ptr, ptr %7, align 8, !tbaa !5
  %16 = icmp eq ptr null, %15
  br i1 %16, label %17, label %22

17:                                               ; preds = %4
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.SD_HandleTypeDef, ptr %18, i32 0, i32 9
  %20 = load volatile i32, ptr %19, align 4, !tbaa !11
  %21 = or i32 %20, 134217728
  store volatile i32 %21, ptr %19, align 4, !tbaa !11
  store i32 1, ptr %5, align 4
  store i32 1, ptr %13, align 4
  br label %131

22:                                               ; preds = %4
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.SD_HandleTypeDef, ptr %23, i32 0, i32 8
  %25 = load volatile i32, ptr %24, align 8, !tbaa !15
  %26 = icmp eq i32 %25, 1
  br i1 %26, label %27, label %130

27:                                               ; preds = %22
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.SD_HandleTypeDef, ptr %28, i32 0, i32 9
  store volatile i32 0, ptr %29, align 4, !tbaa !11
  %30 = load i32, ptr %12, align 4, !tbaa !9
  %31 = load i32, ptr %9, align 4, !tbaa !9
  %32 = add i32 %30, %31
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.SD_HandleTypeDef, ptr %33, i32 0, i32 10
  %35 = getelementptr inbounds %struct.HAL_SD_CardInfoTypeDef, ptr %34, i32 0, i32 6
  %36 = load i32, ptr %35, align 8, !tbaa !16
  %37 = icmp ugt i32 %32, %36
  br i1 %37, label %38, label %43

38:                                               ; preds = %27
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.SD_HandleTypeDef, ptr %39, i32 0, i32 9
  %41 = load volatile i32, ptr %40, align 4, !tbaa !11
  %42 = or i32 %41, 33554432
  store volatile i32 %42, ptr %40, align 4, !tbaa !11
  store i32 1, ptr %5, align 4
  store i32 1, ptr %13, align 4
  br label %131

43:                                               ; preds = %27
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.SD_HandleTypeDef, ptr %44, i32 0, i32 8
  store volatile i32 3, ptr %45, align 8, !tbaa !15
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.SD_HandleTypeDef, ptr %46, i32 0, i32 0
  %48 = load ptr, ptr %47, align 8, !tbaa !17
  %49 = getelementptr inbounds %struct.SDMMC_TypeDef, ptr %48, i32 0, i32 11
  store volatile i32 0, ptr %49, align 4, !tbaa !18
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.SD_HandleTypeDef, ptr %51, i32 0, i32 5
  store ptr %50, ptr %52, align 8, !tbaa !20
  %53 = load i32, ptr %9, align 4, !tbaa !9
  %54 = mul i32 512, %53
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.SD_HandleTypeDef, ptr %55, i32 0, i32 6
  store i32 %54, ptr %56, align 8, !tbaa !21
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.SD_HandleTypeDef, ptr %57, i32 0, i32 10
  %59 = getelementptr inbounds %struct.HAL_SD_CardInfoTypeDef, ptr %58, i32 0, i32 0
  %60 = load i32, ptr %59, align 8, !tbaa !22
  %61 = icmp ne i32 %60, 1
  br i1 %61, label %62, label %65

62:                                               ; preds = %43
  %63 = load i32, ptr %12, align 4, !tbaa !9
  %64 = mul i32 %63, 512
  store i32 %64, ptr %12, align 4, !tbaa !9
  br label %65

65:                                               ; preds = %62, %43
  %66 = getelementptr inbounds %struct.SDMMC_DataInitTypeDef, ptr %10, i32 0, i32 0
  store i32 -1, ptr %66, align 4, !tbaa !23
  %67 = load i32, ptr %9, align 4, !tbaa !9
  %68 = mul i32 512, %67
  %69 = getelementptr inbounds %struct.SDMMC_DataInitTypeDef, ptr %10, i32 0, i32 1
  store i32 %68, ptr %69, align 4, !tbaa !25
  %70 = getelementptr inbounds %struct.SDMMC_DataInitTypeDef, ptr %10, i32 0, i32 2
  store i32 144, ptr %70, align 4, !tbaa !26
  %71 = getelementptr inbounds %struct.SDMMC_DataInitTypeDef, ptr %10, i32 0, i32 3
  store i32 2, ptr %71, align 4, !tbaa !27
  %72 = getelementptr inbounds %struct.SDMMC_DataInitTypeDef, ptr %10, i32 0, i32 4
  store i32 0, ptr %72, align 4, !tbaa !28
  %73 = getelementptr inbounds %struct.SDMMC_DataInitTypeDef, ptr %10, i32 0, i32 5
  store i32 0, ptr %73, align 4, !tbaa !29
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.SD_HandleTypeDef, ptr %74, i32 0, i32 0
  %76 = load ptr, ptr %75, align 8, !tbaa !17
  %77 = call i32 @SDMMC_ConfigData(ptr noundef %76, ptr noundef %10)
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.SD_HandleTypeDef, ptr %78, i32 0, i32 0
  %80 = load ptr, ptr %79, align 8, !tbaa !17
  %81 = getelementptr inbounds %struct.SDMMC_TypeDef, ptr %80, i32 0, i32 3
  %82 = load volatile i32, ptr %81, align 4, !tbaa !30
  %83 = zext i32 %82 to i64
  %84 = or i64 %83, 64
  %85 = trunc i64 %84 to i32
  store volatile i32 %85, ptr %81, align 4, !tbaa !30
  %86 = load i32, ptr %9, align 4, !tbaa !9
  %87 = icmp ugt i32 %86, 1
  br i1 %87, label %88, label %96

88:                                               ; preds = %65
  %89 = load ptr, ptr %6, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.SD_HandleTypeDef, ptr %89, i32 0, i32 7
  store volatile i32 10, ptr %90, align 4, !tbaa !31
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.SD_HandleTypeDef, ptr %91, i32 0, i32 0
  %93 = load ptr, ptr %92, align 8, !tbaa !17
  %94 = load i32, ptr %12, align 4, !tbaa !9
  %95 = call i32 @SDMMC_CmdReadMultiBlock(ptr noundef %93, i32 noundef %94)
  store i32 %95, ptr %11, align 4, !tbaa !9
  br label %104

96:                                               ; preds = %65
  %97 = load ptr, ptr %6, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.SD_HandleTypeDef, ptr %97, i32 0, i32 7
  store volatile i32 9, ptr %98, align 4, !tbaa !31
  %99 = load ptr, ptr %6, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.SD_HandleTypeDef, ptr %99, i32 0, i32 0
  %101 = load ptr, ptr %100, align 8, !tbaa !17
  %102 = load i32, ptr %12, align 4, !tbaa !9
  %103 = call i32 @SDMMC_CmdReadSingleBlock(ptr noundef %101, i32 noundef %102)
  store i32 %103, ptr %11, align 4, !tbaa !9
  br label %104

104:                                              ; preds = %96, %88
  %105 = load i32, ptr %11, align 4, !tbaa !9
  %106 = icmp ne i32 %105, 0
  br i1 %106, label %107, label %121

107:                                              ; preds = %104
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.SD_HandleTypeDef, ptr %108, i32 0, i32 0
  %110 = load ptr, ptr %109, align 8, !tbaa !17
  %111 = getelementptr inbounds %struct.SDMMC_TypeDef, ptr %110, i32 0, i32 14
  store volatile i32 534777855, ptr %111, align 4, !tbaa !32
  %112 = load i32, ptr %11, align 4, !tbaa !9
  %113 = load ptr, ptr %6, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.SD_HandleTypeDef, ptr %113, i32 0, i32 9
  %115 = load volatile i32, ptr %114, align 4, !tbaa !11
  %116 = or i32 %115, %112
  store volatile i32 %116, ptr %114, align 4, !tbaa !11
  %117 = load ptr, ptr %6, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.SD_HandleTypeDef, ptr %117, i32 0, i32 8
  store volatile i32 1, ptr %118, align 8, !tbaa !15
  %119 = load ptr, ptr %6, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.SD_HandleTypeDef, ptr %119, i32 0, i32 7
  store volatile i32 0, ptr %120, align 4, !tbaa !31
  store i32 1, ptr %5, align 4
  store i32 1, ptr %13, align 4
  br label %131

121:                                              ; preds = %104
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.SD_HandleTypeDef, ptr %122, i32 0, i32 0
  %124 = load ptr, ptr %123, align 8, !tbaa !17
  %125 = getelementptr inbounds %struct.SDMMC_TypeDef, ptr %124, i32 0, i32 15
  %126 = load volatile i32, ptr %125, align 4, !tbaa !33
  %127 = zext i32 %126 to i64
  %128 = or i64 %127, 33066
  %129 = trunc i64 %128 to i32
  store volatile i32 %129, ptr %125, align 4, !tbaa !33
  store i32 0, ptr %5, align 4
  store i32 1, ptr %13, align 4
  br label %131

130:                                              ; preds = %22
  store i32 2, ptr %5, align 4
  store i32 1, ptr %13, align 4
  br label %131

131:                                              ; preds = %130, %121, %107, %38, %17
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #3
  %132 = load i32, ptr %5, align 4
  ret i32 %132
}

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 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 68}
!12 = !{!"", !6, i64 0, !13, i64 8, !10, i64 28, !6, i64 32, !10, i64 40, !6, i64 48, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !14, i64 72, !7, i64 108, !7, i64 124}
!13 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16}
!14 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32}
!15 = !{!12, !10, i64 64}
!16 = !{!12, !10, i64 96}
!17 = !{!12, !6, i64 0}
!18 = !{!19, !10, i64 44}
!19 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !7, i64 68, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !7, i64 96, !10, i64 128, !7, i64 132, !10, i64 1020}
!20 = !{!12, !6, i64 48}
!21 = !{!12, !10, i64 56}
!22 = !{!12, !10, i64 72}
!23 = !{!24, !10, i64 0}
!24 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20}
!25 = !{!24, !10, i64 4}
!26 = !{!24, !10, i64 8}
!27 = !{!24, !10, i64 12}
!28 = !{!24, !10, i64 16}
!29 = !{!24, !10, i64 20}
!30 = !{!19, !10, i64 12}
!31 = !{!12, !10, i64 60}
!32 = !{!19, !10, i64 56}
!33 = !{!19, !10, i64 60}


; 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.SDMMC_DataInitTypeDef = type { i32, i32, i32, i32, i32, i32 }

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

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

declare i32 @SDMMC_ConfigData(ptr noundef, ptr noundef) local_unnamed_addr #1

declare i32 @SDMMC_CmdReadMultiBlock(ptr noundef, i32 noundef) local_unnamed_addr #1

declare i32 @SDMMC_CmdReadSingleBlock(ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 3) i32 @HAL_SD_ReadBlocks_IT(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #2 {
  %5 = alloca %struct.SDMMC_DataInitTypeDef, align 4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #3
  %6 = icmp eq ptr %1, null
  br i1 %6, label %7, label %11

7:                                                ; preds = %4
  %8 = getelementptr inbounds i8, ptr %0, i64 68
  %9 = load volatile i32, ptr %8, align 4, !tbaa !5
  %10 = or i32 %9, 134217728
  store volatile i32 %10, ptr %8, align 4, !tbaa !5
  br label %57

11:                                               ; preds = %4
  %12 = getelementptr inbounds i8, ptr %0, i64 64
  %13 = load volatile i32, ptr %12, align 8, !tbaa !13
  %14 = icmp eq i32 %13, 1
  br i1 %14, label %15, label %57

15:                                               ; preds = %11
  %16 = getelementptr inbounds i8, ptr %0, i64 68
  store volatile i32 0, ptr %16, align 4, !tbaa !5
  %17 = add i32 %3, %2
  %18 = getelementptr inbounds i8, ptr %0, i64 96
  %19 = load i32, ptr %18, align 8, !tbaa !14
  %20 = icmp ugt i32 %17, %19
  br i1 %20, label %21, label %24

21:                                               ; preds = %15
  %22 = load volatile i32, ptr %16, align 4, !tbaa !5
  %23 = or i32 %22, 33554432
  store volatile i32 %23, ptr %16, align 4, !tbaa !5
  br label %57

24:                                               ; preds = %15
  %25 = getelementptr inbounds i8, ptr %0, i64 72
  store volatile i32 3, ptr %12, align 8, !tbaa !13
  %26 = load ptr, ptr %0, align 8, !tbaa !15
  %27 = getelementptr inbounds i8, ptr %26, i64 44
  store volatile i32 0, ptr %27, align 4, !tbaa !16
  %28 = getelementptr inbounds i8, ptr %0, i64 48
  store ptr %1, ptr %28, align 8, !tbaa !18
  %29 = shl i32 %3, 9
  %30 = getelementptr inbounds i8, ptr %0, i64 56
  store i32 %29, ptr %30, align 8, !tbaa !19
  %31 = load i32, ptr %25, align 8, !tbaa !20
  %.not = icmp eq i32 %31, 1
  %32 = shl i32 %2, 9
  %spec.select = select i1 %.not, i32 %2, i32 %32
  store i32 -1, ptr %5, align 4, !tbaa !21
  %33 = getelementptr inbounds i8, ptr %5, i64 4
  store i32 %29, ptr %33, align 4, !tbaa !23
  %34 = getelementptr inbounds i8, ptr %5, i64 8
  store <4 x i32> <i32 144, i32 2, i32 0, i32 0>, ptr %34, align 4, !tbaa !24
  %35 = call i32 @SDMMC_ConfigData(ptr noundef %26, ptr noundef nonnull %5) #3
  %36 = load ptr, ptr %0, align 8, !tbaa !15
  %37 = getelementptr inbounds i8, ptr %36, i64 12
  %38 = load volatile i32, ptr %37, align 4, !tbaa !25
  %39 = or i32 %38, 64
  store volatile i32 %39, ptr %37, align 4, !tbaa !25
  %40 = icmp ugt i32 %3, 1
  %41 = getelementptr inbounds i8, ptr %0, i64 60
  br i1 %40, label %42, label %44

42:                                               ; preds = %24
  store volatile i32 10, ptr %41, align 4, !tbaa !26
  %43 = call i32 @SDMMC_CmdReadMultiBlock(ptr noundef nonnull %36, i32 noundef %spec.select) #3
  br label %46

44:                                               ; preds = %24
  store volatile i32 9, ptr %41, align 4, !tbaa !26
  %45 = call i32 @SDMMC_CmdReadSingleBlock(ptr noundef nonnull %36, i32 noundef %spec.select) #3
  br label %46

46:                                               ; preds = %44, %42
  %.034 = phi i32 [ %43, %42 ], [ %45, %44 ]
  %.not37 = icmp eq i32 %.034, 0
  %47 = load ptr, ptr %0, align 8, !tbaa !15
  br i1 %.not37, label %53, label %48

48:                                               ; preds = %46
  %49 = getelementptr inbounds i8, ptr %47, i64 56
  store volatile i32 534777855, ptr %49, align 4, !tbaa !27
  %50 = load volatile i32, ptr %16, align 4, !tbaa !5
  %51 = or i32 %50, %.034
  store volatile i32 %51, ptr %16, align 4, !tbaa !5
  store volatile i32 1, ptr %12, align 8, !tbaa !13
  %52 = getelementptr inbounds i8, ptr %0, i64 60
  store volatile i32 0, ptr %52, align 4, !tbaa !26
  br label %57

53:                                               ; preds = %46
  %54 = getelementptr inbounds i8, ptr %47, i64 60
  %55 = load volatile i32, ptr %54, align 4, !tbaa !28
  %56 = or i32 %55, 33066
  store volatile i32 %56, ptr %54, align 4, !tbaa !28
  br label %57

57:                                               ; preds = %11, %53, %48, %21, %7
  %.035 = phi i32 [ 1, %7 ], [ 1, %21 ], [ 1, %48 ], [ 0, %53 ], [ 2, %11 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #3
  ret i32 %.035
}

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, !11, i64 68}
!6 = !{!"", !7, i64 0, !10, i64 8, !11, i64 28, !7, i64 32, !11, i64 40, !7, i64 48, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !12, i64 72, !8, i64 108, !8, i64 124}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16}
!11 = !{!"int", !8, i64 0}
!12 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32}
!13 = !{!6, !11, i64 64}
!14 = !{!6, !11, i64 96}
!15 = !{!6, !7, i64 0}
!16 = !{!17, !11, i64 44}
!17 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !8, i64 68, !11, i64 80, !11, i64 84, !11, i64 88, !11, i64 92, !8, i64 96, !11, i64 128, !8, i64 132, !11, i64 1020}
!18 = !{!6, !7, i64 48}
!19 = !{!6, !11, i64 56}
!20 = !{!6, !11, i64 72}
!21 = !{!22, !11, i64 0}
!22 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!23 = !{!22, !11, i64 4}
!24 = !{!11, !11, i64 0}
!25 = !{!17, !11, i64 12}
!26 = !{!6, !11, i64 60}
!27 = !{!17, !11, i64 56}
!28 = !{!17, !11, i64 60}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass