; LLVM IR from lichen-community-systems/signaletic :: hosts/daisy/vendor/libDaisy/Drivers/STM32H7xx_HAL_Driver/Src (ReadBlocksDMAMultiBuffer)

; 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.MMC_HandleTypeDef = type { ptr, %struct.SDMMC_InitTypeDef, i32, ptr, i32, ptr, i32, i32, i32, i32, %struct.HAL_MMC_CardInfoTypeDef, [4 x i32], [4 x i32], [128 x i32] }
%struct.SDMMC_InitTypeDef = type { i32, i32, i32, i32, i32 }
%struct.HAL_MMC_CardInfoTypeDef = type { 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: nounwind uwtable
define dso_local i32 @HAL_MMCEx_ReadBlocksDMAMultiBuffer(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %struct.SDMMC_DataInitTypeDef, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 4, 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 %6, align 4, !tbaa !9
  store i32 %14, ptr %12, align 4, !tbaa !9
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.MMC_HandleTypeDef, ptr %15, i32 0, i32 8
  %17 = load volatile i32, ptr %16, align 8, !tbaa !11
  %18 = icmp eq i32 %17, 1
  br i1 %18, label %19, label %135

19:                                               ; preds = %3
  %20 = load i32, ptr %6, align 4, !tbaa !9
  %21 = load i32, ptr %7, align 4, !tbaa !9
  %22 = add i32 %20, %21
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.MMC_HandleTypeDef, ptr %23, i32 0, i32 10
  %25 = getelementptr inbounds %struct.HAL_MMC_CardInfoTypeDef, ptr %24, i32 0, i32 5
  %26 = load i32, ptr %25, align 4, !tbaa !15
  %27 = icmp ugt i32 %22, %26
  br i1 %27, label %28, label %33

28:                                               ; preds = %19
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.MMC_HandleTypeDef, ptr %29, i32 0, i32 9
  %31 = load volatile i32, ptr %30, align 4, !tbaa !16
  %32 = or i32 %31, 33554432
  store volatile i32 %32, ptr %30, align 4, !tbaa !16
  store i32 1, ptr %4, align 4
  store i32 1, ptr %13, align 4
  br label %136

33:                                               ; preds = %19
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.MMC_HandleTypeDef, ptr %34, i32 0, i32 0
  %36 = load ptr, ptr %35, align 8, !tbaa !17
  %37 = getelementptr inbounds %struct.SDMMC_TypeDef, ptr %36, i32 0, i32 20
  %38 = load volatile i32, ptr %37, align 4, !tbaa !18
  store i32 %38, ptr %9, align 4, !tbaa !9
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.MMC_HandleTypeDef, ptr %39, i32 0, i32 0
  %41 = load ptr, ptr %40, align 8, !tbaa !17
  %42 = getelementptr inbounds %struct.SDMMC_TypeDef, ptr %41, i32 0, i32 21
  %43 = load volatile i32, ptr %42, align 4, !tbaa !20
  store i32 %43, ptr %10, align 4, !tbaa !9
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.MMC_HandleTypeDef, ptr %44, i32 0, i32 0
  %46 = load ptr, ptr %45, align 8, !tbaa !17
  %47 = getelementptr inbounds %struct.SDMMC_TypeDef, ptr %46, i32 0, i32 19
  %48 = load volatile i32, ptr %47, align 4, !tbaa !21
  %49 = icmp eq i32 %48, 0
  br i1 %49, label %56, label %50

50:                                               ; preds = %33
  %51 = load i32, ptr %9, align 4, !tbaa !9
  %52 = icmp eq i32 %51, 0
  br i1 %52, label %56, label %53

53:                                               ; preds = %50
  %54 = load i32, ptr %10, align 4, !tbaa !9
  %55 = icmp eq i32 %54, 0
  br i1 %55, label %56, label %59

56:                                               ; preds = %53, %50, %33
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.MMC_HandleTypeDef, ptr %57, i32 0, i32 9
  store volatile i32 33554432, ptr %58, align 4, !tbaa !16
  store i32 1, ptr %4, align 4
  store i32 1, ptr %13, align 4
  br label %136

59:                                               ; preds = %53
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.MMC_HandleTypeDef, ptr %60, i32 0, i32 0
  %62 = load ptr, ptr %61, align 8, !tbaa !17
  %63 = getelementptr inbounds %struct.SDMMC_TypeDef, ptr %62, i32 0, i32 11
  store volatile i32 0, ptr %63, align 4, !tbaa !22
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.MMC_HandleTypeDef, ptr %64, i32 0, i32 9
  store volatile i32 0, ptr %65, align 4, !tbaa !16
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.MMC_HandleTypeDef, ptr %66, i32 0, i32 8
  store volatile i32 3, ptr %67, align 8, !tbaa !11
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.MMC_HandleTypeDef, ptr %68, i32 0, i32 10
  %70 = getelementptr inbounds %struct.HAL_MMC_CardInfoTypeDef, ptr %69, i32 0, i32 0
  %71 = load i32, ptr %70, align 8, !tbaa !23
  %72 = icmp ne i32 %71, 1
  br i1 %72, label %73, label %76

73:                                               ; preds = %59
  %74 = load i32, ptr %12, align 4, !tbaa !9
  %75 = mul i32 %74, 512
  store i32 %75, ptr %12, align 4, !tbaa !9
  br label %76

76:                                               ; preds = %73, %59
  %77 = getelementptr inbounds %struct.SDMMC_DataInitTypeDef, ptr %8, i32 0, i32 0
  store i32 -1, ptr %77, align 4, !tbaa !24
  %78 = load i32, ptr %7, align 4, !tbaa !9
  %79 = mul i32 512, %78
  %80 = getelementptr inbounds %struct.SDMMC_DataInitTypeDef, ptr %8, i32 0, i32 1
  store i32 %79, ptr %80, align 4, !tbaa !26
  %81 = getelementptr inbounds %struct.SDMMC_DataInitTypeDef, ptr %8, i32 0, i32 2
  store i32 144, ptr %81, align 4, !tbaa !27
  %82 = getelementptr inbounds %struct.SDMMC_DataInitTypeDef, ptr %8, i32 0, i32 3
  store i32 2, ptr %82, align 4, !tbaa !28
  %83 = getelementptr inbounds %struct.SDMMC_DataInitTypeDef, ptr %8, i32 0, i32 4
  store i32 0, ptr %83, align 4, !tbaa !29
  %84 = getelementptr inbounds %struct.SDMMC_DataInitTypeDef, ptr %8, i32 0, i32 5
  store i32 0, ptr %84, align 4, !tbaa !30
  %85 = load ptr, ptr %5, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.MMC_HandleTypeDef, ptr %85, i32 0, i32 0
  %87 = load ptr, ptr %86, align 8, !tbaa !17
  %88 = call i32 @SDMMC_ConfigData(ptr noundef %87, ptr noundef %8)
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.MMC_HandleTypeDef, ptr %89, i32 0, i32 0
  %91 = load ptr, ptr %90, align 8, !tbaa !17
  %92 = getelementptr inbounds %struct.SDMMC_TypeDef, ptr %91, i32 0, i32 11
  %93 = load volatile i32, ptr %92, align 4, !tbaa !22
  %94 = zext i32 %93 to i64
  %95 = or i64 %94, 8192
  %96 = trunc i64 %95 to i32
  store volatile i32 %96, ptr %92, align 4, !tbaa !22
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.MMC_HandleTypeDef, ptr %97, i32 0, i32 0
  %99 = load ptr, ptr %98, align 8, !tbaa !17
  %100 = getelementptr inbounds %struct.SDMMC_TypeDef, ptr %99, i32 0, i32 3
  %101 = load volatile i32, ptr %100, align 4, !tbaa !31
  %102 = zext i32 %101 to i64
  %103 = or i64 %102, 64
  %104 = trunc i64 %103 to i32
  store volatile i32 %104, ptr %100, align 4, !tbaa !31
  %105 = load ptr, ptr %5, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.MMC_HandleTypeDef, ptr %105, i32 0, i32 0
  %107 = load ptr, ptr %106, align 8, !tbaa !17
  %108 = getelementptr inbounds %struct.SDMMC_TypeDef, ptr %107, i32 0, i32 18
  store volatile i32 3, ptr %108, align 4, !tbaa !32
  %109 = load ptr, ptr %5, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.MMC_HandleTypeDef, ptr %109, i32 0, i32 0
  %111 = load ptr, ptr %110, align 8, !tbaa !17
  %112 = getelementptr inbounds %struct.SDMMC_TypeDef, ptr %111, i32 0, i32 15
  %113 = load volatile i32, ptr %112, align 4, !tbaa !33
  %114 = zext i32 %113 to i64
  %115 = or i64 %114, 402653482
  %116 = trunc i64 %115 to i32
  store volatile i32 %116, ptr %112, align 4, !tbaa !33
  %117 = load ptr, ptr %5, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.MMC_HandleTypeDef, ptr %117, i32 0, i32 7
  store volatile i32 130, ptr %118, align 4, !tbaa !34
  %119 = load ptr, ptr %5, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.MMC_HandleTypeDef, ptr %119, i32 0, i32 0
  %121 = load ptr, ptr %120, align 8, !tbaa !17
  %122 = load i32, ptr %12, align 4, !tbaa !9
  %123 = call i32 @SDMMC_CmdReadMultiBlock(ptr noundef %121, i32 noundef %122)
  store i32 %123, ptr %11, align 4, !tbaa !9
  %124 = load i32, ptr %11, align 4, !tbaa !9
  %125 = icmp ne i32 %124, 0
  br i1 %125, label %126, label %134

126:                                              ; preds = %76
  %127 = load ptr, ptr %5, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.MMC_HandleTypeDef, ptr %127, i32 0, i32 8
  store volatile i32 1, ptr %128, align 8, !tbaa !11
  %129 = load i32, ptr %11, align 4, !tbaa !9
  %130 = load ptr, ptr %5, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.MMC_HandleTypeDef, ptr %130, i32 0, i32 9
  %132 = load volatile i32, ptr %131, align 4, !tbaa !16
  %133 = or i32 %132, %129
  store volatile i32 %133, ptr %131, align 4, !tbaa !16
  store i32 1, ptr %4, align 4
  store i32 1, ptr %13, align 4
  br label %136

134:                                              ; preds = %76
  store i32 0, ptr %4, align 4
  store i32 1, ptr %13, align 4
  br label %136

135:                                              ; preds = %3
  store i32 2, ptr %4, align 4
  store i32 1, ptr %13, align 4
  br label %136

136:                                              ; preds = %135, %134, %126, %56, %28
  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 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #3
  %137 = load i32, ptr %4, align 4
  ret i32 %137
}

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

declare i32 @SDMMC_ConfigData(ptr noundef, ptr noundef) #2

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 nosync nounwind willreturn memory(argmem: readwrite) }
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 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 64}
!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 100, !7, i64 116, !7, i64 132}
!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}
!15 = !{!12, !10, i64 92}
!16 = !{!12, !10, i64 68}
!17 = !{!12, !6, i64 0}
!18 = !{!19, !10, i64 88}
!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 = !{!19, !10, i64 92}
!21 = !{!19, !10, i64 84}
!22 = !{!19, !10, i64 44}
!23 = !{!12, !10, i64 72}
!24 = !{!25, !10, i64 0}
!25 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20}
!26 = !{!25, !10, i64 4}
!27 = !{!25, !10, i64 8}
!28 = !{!25, !10, i64 12}
!29 = !{!25, !10, i64 16}
!30 = !{!25, !10, i64 20}
!31 = !{!19, !10, i64 12}
!32 = !{!19, !10, i64 80}
!33 = !{!19, !10, i64 60}
!34 = !{!12, !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: nounwind uwtable
define dso_local range(i32 0, 3) i32 @HAL_MMCEx_ReadBlocksDMAMultiBuffer(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
  %4 = alloca %struct.SDMMC_DataInitTypeDef, align 4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #3
  %5 = getelementptr inbounds i8, ptr %0, i64 64
  %6 = load volatile i32, ptr %5, align 8, !tbaa !5
  %7 = icmp eq i32 %6, 1
  br i1 %7, label %8, label %56

8:                                                ; preds = %3
  %9 = add i32 %2, %1
  %10 = getelementptr inbounds i8, ptr %0, i64 72
  %11 = getelementptr inbounds i8, ptr %0, i64 92
  %12 = load i32, ptr %11, align 4, !tbaa !13
  %13 = icmp ugt i32 %9, %12
  br i1 %13, label %14, label %18

14:                                               ; preds = %8
  %15 = getelementptr inbounds i8, ptr %0, i64 68
  %16 = load volatile i32, ptr %15, align 4, !tbaa !14
  %17 = or i32 %16, 33554432
  store volatile i32 %17, ptr %15, align 4, !tbaa !14
  br label %56

18:                                               ; preds = %8
  %19 = load ptr, ptr %0, align 8, !tbaa !15
  %20 = getelementptr inbounds i8, ptr %19, i64 88
  %21 = load volatile i32, ptr %20, align 4, !tbaa !16
  %22 = getelementptr inbounds i8, ptr %19, i64 92
  %23 = load volatile i32, ptr %22, align 4, !tbaa !18
  %24 = getelementptr inbounds i8, ptr %19, i64 84
  %25 = load volatile i32, ptr %24, align 4, !tbaa !19
  %26 = icmp eq i32 %25, 0
  %27 = icmp eq i32 %21, 0
  %or.cond = select i1 %26, i1 true, i1 %27
  %28 = icmp eq i32 %23, 0
  %or.cond3 = select i1 %or.cond, i1 true, i1 %28
  br i1 %or.cond3, label %29, label %31

29:                                               ; preds = %18
  %30 = getelementptr inbounds i8, ptr %0, i64 68
  store volatile i32 33554432, ptr %30, align 4, !tbaa !14
  br label %56

31:                                               ; preds = %18
  %32 = getelementptr inbounds i8, ptr %19, i64 44
  store volatile i32 0, ptr %32, align 4, !tbaa !20
  %33 = getelementptr inbounds i8, ptr %0, i64 68
  store volatile i32 0, ptr %33, align 4, !tbaa !14
  store volatile i32 3, ptr %5, align 8, !tbaa !5
  %34 = load i32, ptr %10, align 8, !tbaa !21
  %.not = icmp eq i32 %34, 1
  %35 = shl i32 %1, 9
  %spec.select = select i1 %.not, i32 %1, i32 %35
  store i32 -1, ptr %4, align 4, !tbaa !22
  %36 = shl i32 %2, 9
  %37 = getelementptr inbounds i8, ptr %4, i64 4
  store i32 %36, ptr %37, align 4, !tbaa !24
  %38 = getelementptr inbounds i8, ptr %4, i64 8
  store <4 x i32> <i32 144, i32 2, i32 0, i32 0>, ptr %38, align 4, !tbaa !25
  %39 = call i32 @SDMMC_ConfigData(ptr noundef nonnull %19, ptr noundef nonnull %4) #3
  %40 = load ptr, ptr %0, align 8, !tbaa !15
  %41 = getelementptr inbounds i8, ptr %40, i64 44
  %42 = load volatile i32, ptr %41, align 4, !tbaa !20
  %43 = or i32 %42, 8192
  store volatile i32 %43, ptr %41, align 4, !tbaa !20
  %44 = getelementptr inbounds i8, ptr %40, i64 12
  %45 = load volatile i32, ptr %44, align 4, !tbaa !26
  %46 = or i32 %45, 64
  store volatile i32 %46, ptr %44, align 4, !tbaa !26
  %47 = getelementptr inbounds i8, ptr %40, i64 80
  store volatile i32 3, ptr %47, align 4, !tbaa !27
  %48 = getelementptr inbounds i8, ptr %40, i64 60
  %49 = load volatile i32, ptr %48, align 4, !tbaa !28
  %50 = or i32 %49, 402653482
  store volatile i32 %50, ptr %48, align 4, !tbaa !28
  %51 = getelementptr inbounds i8, ptr %0, i64 60
  store volatile i32 130, ptr %51, align 4, !tbaa !29
  %52 = call i32 @SDMMC_CmdReadMultiBlock(ptr noundef %40, i32 noundef %spec.select) #3
  %.not35 = icmp eq i32 %52, 0
  br i1 %.not35, label %56, label %53

53:                                               ; preds = %31
  store volatile i32 1, ptr %5, align 8, !tbaa !5
  %54 = load volatile i32, ptr %33, align 4, !tbaa !14
  %55 = or i32 %54, %52
  store volatile i32 %55, ptr %33, align 4, !tbaa !14
  br label %56

56:                                               ; preds = %3, %31, %53, %29, %14
  %.033 = phi i32 [ 1, %14 ], [ 1, %29 ], [ 1, %53 ], [ 0, %31 ], [ 2, %3 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #3
  ret i32 %.033
}

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

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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, !11, i64 64}
!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 100, !8, i64 116, !8, i64 132}
!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}
!13 = !{!6, !11, i64 92}
!14 = !{!6, !11, i64 68}
!15 = !{!6, !7, i64 0}
!16 = !{!17, !11, i64 88}
!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 = !{!17, !11, i64 92}
!19 = !{!17, !11, i64 84}
!20 = !{!17, !11, i64 44}
!21 = !{!6, !11, i64 72}
!22 = !{!23, !11, i64 0}
!23 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!24 = !{!23, !11, i64 4}
!25 = !{!11, !11, i64 0}
!26 = !{!17, !11, i64 12}
!27 = !{!17, !11, i64 80}
!28 = !{!17, !11, i64 60}
!29 = !{!6, !11, i64 60}


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