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

; 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.ETH_HandleTypeDef = type { ptr, %struct.ETH_InitTypeDef, %struct.ETH_TxDescListTypeDef, %struct.ETH_RxDescListTypeDef, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.ETH_InitTypeDef = type { ptr, i32, ptr, ptr, i32 }
%struct.ETH_TxDescListTypeDef = type { [4 x i32], i32 }
%struct.ETH_RxDescListTypeDef = type { [4 x i32], i32, i32, i32, i32, i32 }
%struct.ETH_DMADescTypeDef = type { i32, i32, i32, i32, i32, i32 }
%struct.ETH_TypeDef = type { i32, i32, i32, i32, i32, i32, [14 x i32], i32, i32, i32, i32, i32, i32, [2 x i32], i32, [7 x i32], i32, [7 x i32], i32, i32, i32, i32, i32, i32, [2 x i32], i32, i32, i32, i32, [12 x i32], i32, i32, i32, i32, i32, i32, [54 x i32], i32, i32, [2 x i32], i32, [59 x i32], i32, i32, i32, i32, i32, i32, i32, i32, [248 x i32], i32, i32, i32, i32, i32, [14 x i32], i32, i32, [5 x i32], i32, [10 x i32], i32, i32, [10 x i32], i32, [9 x i32], i32, i32, i32, i32, [65 x i32], i32, i32, [2 x i32], i32, i32, i32, i32, [4 x i32], i32, i32, [2 x i32], i32, i32, i32, i32, [108 x i32], i32, i32, i32, i32, i32, i32, i32, i32, i32, [3 x i32], i32, i32, [2 x i32], i32, i32, i32, i32, i32, i32, i32, i32, [4 x i32], i32, [3 x i32], i32, i32, i32, i32, [12 x i32], i32, i32, i32, i32, i32, [11 x i32], i32, [7 x i32], i32, [55 x i32], i32, i32, i32, [8 x i32], i32, i32, i32, i32, [177 x i32], i32, i32, i32, i32, [60 x i32], i32, i32, i32, [2 x i32], i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [2 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

; Function Attrs: nounwind uwtable
define dso_local i32 @HAL_ETH_BuildRxDescriptors(ptr noundef %0) #1 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #2
  %10 = load ptr, ptr %3, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.ETH_HandleTypeDef, ptr %10, i32 0, i32 3
  store ptr %11, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #2
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.ETH_RxDescListTypeDef, ptr %12, i32 0, i32 2
  %14 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %14, ptr %5, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #2
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.ETH_RxDescListTypeDef, ptr %15, i32 0, i32 0
  %17 = load i32, ptr %5, align 4, !tbaa !12
  %18 = zext i32 %17 to i64
  %19 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 %18
  %20 = load i32, ptr %19, align 4, !tbaa !12
  %21 = zext i32 %20 to i64
  %22 = inttoptr i64 %21 to ptr
  store ptr %22, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #2
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.ETH_RxDescListTypeDef, ptr %23, i32 0, i32 3
  %25 = load i32, ptr %24, align 4, !tbaa !13
  store i32 %25, ptr %7, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #2
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.ETH_RxDescListTypeDef, ptr %26, i32 0, i32 3
  %28 = load i32, ptr %27, align 4, !tbaa !13
  %29 = icmp eq i32 %28, 0
  br i1 %29, label %30, label %31

30:                                               ; preds = %1
  store i32 1, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %120

31:                                               ; preds = %1
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.ETH_RxDescListTypeDef, ptr %32, i32 0, i32 4
  %34 = load i32, ptr %33, align 4, !tbaa !14
  %35 = icmp ne i32 %34, 0
  br i1 %35, label %36, label %39

36:                                               ; preds = %31
  %37 = load i32, ptr %7, align 4, !tbaa !12
  %38 = add i32 %37, 1
  store i32 %38, ptr %7, align 4, !tbaa !12
  br label %39

39:                                               ; preds = %36, %31
  store i32 0, ptr %8, align 4, !tbaa !12
  br label %40

40:                                               ; preds = %108, %39
  %41 = load i32, ptr %8, align 4, !tbaa !12
  %42 = load i32, ptr %7, align 4, !tbaa !12
  %43 = icmp ult i32 %41, %42
  br i1 %43, label %44, label %111

44:                                               ; preds = %40
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.ETH_DMADescTypeDef, ptr %45, i32 0, i32 4
  %47 = load volatile i32, ptr %46, align 4, !tbaa !15
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.ETH_DMADescTypeDef, ptr %48, i32 0, i32 0
  store volatile i32 %47, ptr %49, align 4, !tbaa !17
  %50 = load ptr, ptr %6, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.ETH_DMADescTypeDef, ptr %50, i32 0, i32 3
  store volatile i32 16777216, ptr %51, align 4, !tbaa !18
  %52 = load ptr, ptr %6, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.ETH_DMADescTypeDef, ptr %52, i32 0, i32 5
  %54 = load volatile i32, ptr %53, align 4, !tbaa !19
  %55 = icmp ne i32 %54, 0
  br i1 %55, label %56, label %66

56:                                               ; preds = %44
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.ETH_DMADescTypeDef, ptr %57, i32 0, i32 5
  %59 = load volatile i32, ptr %58, align 4, !tbaa !19
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.ETH_DMADescTypeDef, ptr %60, i32 0, i32 2
  store volatile i32 %59, ptr %61, align 4, !tbaa !20
  %62 = load ptr, ptr %6, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.ETH_DMADescTypeDef, ptr %62, i32 0, i32 3
  %64 = load volatile i32, ptr %63, align 4, !tbaa !18
  %65 = or i32 %64, 33554432
  store volatile i32 %65, ptr %63, align 4, !tbaa !18
  br label %66

66:                                               ; preds = %56, %44
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.ETH_DMADescTypeDef, ptr %67, i32 0, i32 3
  %69 = load volatile i32, ptr %68, align 4, !tbaa !18
  %70 = or i32 %69, -2147483648
  store volatile i32 %70, ptr %68, align 4, !tbaa !18
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.ETH_RxDescListTypeDef, ptr %71, i32 0, i32 5
  %73 = load i32, ptr %72, align 4, !tbaa !21
  %74 = icmp ne i32 %73, 0
  br i1 %74, label %75, label %80

75:                                               ; preds = %66
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.ETH_DMADescTypeDef, ptr %76, i32 0, i32 3
  %78 = load volatile i32, ptr %77, align 4, !tbaa !18
  %79 = or i32 %78, 1073741824
  store volatile i32 %79, ptr %77, align 4, !tbaa !18
  br label %80

80:                                               ; preds = %75, %66
  %81 = load i32, ptr %8, align 4, !tbaa !12
  %82 = load ptr, ptr %4, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.ETH_RxDescListTypeDef, ptr %82, i32 0, i32 3
  %84 = load i32, ptr %83, align 4, !tbaa !13
  %85 = sub i32 %84, 1
  %86 = icmp ult i32 %81, %85
  br i1 %86, label %87, label %107

87:                                               ; preds = %80
  br label %88

88:                                               ; preds = %87
  %89 = load i32, ptr %5, align 4, !tbaa !12
  %90 = add i32 %89, 1
  store i32 %90, ptr %5, align 4, !tbaa !12
  %91 = load i32, ptr %5, align 4, !tbaa !12
  %92 = icmp uge i32 %91, 4
  br i1 %92, label %93, label %96

93:                                               ; preds = %88
  %94 = load i32, ptr %5, align 4, !tbaa !12
  %95 = sub i32 %94, 4
  store i32 %95, ptr %5, align 4, !tbaa !12
  br label %96

96:                                               ; preds = %93, %88
  br label %97

97:                                               ; preds = %96
  br label %98

98:                                               ; preds = %97
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.ETH_RxDescListTypeDef, ptr %99, i32 0, i32 0
  %101 = load i32, ptr %5, align 4, !tbaa !12
  %102 = zext i32 %101 to i64
  %103 = getelementptr inbounds [4 x i32], ptr %100, i64 0, i64 %102
  %104 = load i32, ptr %103, align 4, !tbaa !12
  %105 = zext i32 %104 to i64
  %106 = inttoptr i64 %105 to ptr
  store ptr %106, ptr %6, align 8, !tbaa !5
  br label %107

107:                                              ; preds = %98, %80
  br label %108

108:                                              ; preds = %107
  %109 = load i32, ptr %8, align 4, !tbaa !12
  %110 = add i32 %109, 1
  store i32 %110, ptr %8, align 4, !tbaa !12
  br label %40, !llvm.loop !22

111:                                              ; preds = %40
  %112 = load ptr, ptr %6, align 8, !tbaa !5
  %113 = ptrtoint ptr %112 to i32
  %114 = load ptr, ptr %3, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.ETH_HandleTypeDef, ptr %114, i32 0, i32 0
  %116 = load ptr, ptr %115, align 8, !tbaa !24
  %117 = getelementptr inbounds %struct.ETH_TypeDef, ptr %116, i32 0, i32 150
  store volatile i32 %113, ptr %117, align 4, !tbaa !28
  %118 = load ptr, ptr %4, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ETH_RxDescListTypeDef, ptr %118, i32 0, i32 3
  store i32 0, ptr %119, align 4, !tbaa !13
  store i32 0, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %120

120:                                              ; preds = %111, %30
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #2
  %121 = load i32, ptr %2, align 4
  ret i32 %121
}

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, !11, i64 20}
!10 = !{!"", !7, i64 0, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !11, i64 24}
!14 = !{!10, !11, i64 28}
!15 = !{!16, !11, i64 16}
!16 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!17 = !{!16, !11, i64 0}
!18 = !{!16, !11, i64 12}
!19 = !{!16, !11, i64 20}
!20 = !{!16, !11, i64 8}
!21 = !{!10, !11, i64 32}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!25, !6, i64 0}
!25 = !{!"", !6, i64 0, !26, i64 8, !27, i64 48, !10, i64 68, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !11, i64 132}
!26 = !{!"", !6, i64 0, !11, i64 8, !6, i64 16, !6, i64 24, !11, i64 32}
!27 = !{!"", !7, i64 0, !11, i64 16}
!28 = !{!29, !11, i64 4392}
!29 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !7, i64 24, !11, i64 80, !11, i64 84, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !7, i64 104, !11, i64 112, !7, i64 116, !11, i64 144, !7, i64 148, !11, i64 176, !11, i64 180, !11, i64 184, !11, i64 188, !11, i64 192, !11, i64 196, !7, i64 200, !11, i64 208, !11, i64 212, !11, i64 216, !11, i64 220, !7, i64 224, !11, i64 272, !11, i64 276, !11, i64 280, !11, i64 284, !11, i64 288, !11, i64 292, !7, i64 296, !11, i64 512, !11, i64 516, !7, i64 520, !11, i64 528, !7, i64 532, !11, i64 768, !11, i64 772, !11, i64 776, !11, i64 780, !11, i64 784, !11, i64 788, !11, i64 792, !11, i64 796, !7, i64 800, !11, i64 1792, !11, i64 1796, !11, i64 1800, !11, i64 1804, !11, i64 1808, !7, i64 1812, !11, i64 1868, !11, i64 1872, !7, i64 1876, !11, i64 1896, !7, i64 1900, !11, i64 1940, !11, i64 1944, !7, i64 1948, !11, i64 1988, !7, i64 1992, !11, i64 2028, !11, i64 2032, !11, i64 2036, !11, i64 2040, !7, i64 2044, !11, i64 2304, !11, i64 2308, !7, i64 2312, !11, i64 2320, !11, i64 2324, !11, i64 2328, !11, i64 2332, !7, i64 2336, !11, i64 2352, !11, i64 2356, !7, i64 2360, !11, i64 2368, !11, i64 2372, !11, i64 2376, !11, i64 2380, !7, i64 2384, !11, i64 2816, !11, i64 2820, !11, i64 2824, !11, i64 2828, !11, i64 2832, !11, i64 2836, !11, i64 2840, !11, i64 2844, !11, i64 2848, !7, i64 2852, !11, i64 2864, !11, i64 2868, !7, i64 2872, !11, i64 2880, !11, i64 2884, !11, i64 2888, !11, i64 2892, !11, i64 2896, !11, i64 2900, !11, i64 2904, !11, i64 2908, !7, i64 2912, !11, i64 2928, !7, i64 2932, !11, i64 2944, !11, i64 2948, !11, i64 2952, !11, i64 2956, !7, i64 2960, !11, i64 3008, !11, i64 3012, !11, i64 3016, !11, i64 3020, !11, i64 3024, !7, i64 3028, !11, i64 3072, !7, i64 3076, !11, i64 3104, !7, i64 3108, !11, i64 3328, !11, i64 3332, !11, i64 3336, !7, i64 3340, !11, i64 3372, !11, i64 3376, !11, i64 3380, !11, i64 3384, !7, i64 3388, !11, i64 4096, !11, i64 4100, !11, i64 4104, !11, i64 4108, !7, i64 4112, !11, i64 4352, !11, i64 4356, !11, i64 4360, !7, i64 4364, !11, i64 4372, !11, i64 4376, !11, i64 4380, !11, i64 4384, !11, i64 4388, !11, i64 4392, !11, i64 4396, !11, i64 4400, !11, i64 4404, !11, i64 4408, !11, i64 4412, !11, i64 4416, !11, i64 4420, !11, i64 4424, !11, i64 4428, !11, i64 4432, !11, i64 4436, !11, i64 4440, !11, i64 4444, !11, i64 4448, !7, i64 4452, !11, i64 4460}


; 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: nofree norecurse nounwind uwtable
define dso_local range(i32 0, 2) i32 @HAL_ETH_BuildRxDescriptors(ptr nocapture noundef %0) local_unnamed_addr #0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 68
  %3 = getelementptr inbounds i8, ptr %0, i64 92
  %4 = load i32, ptr %3, align 4, !tbaa !5
  %5 = icmp eq i32 %4, 0
  br i1 %5, label %54, label %6

6:                                                ; preds = %1
  %7 = getelementptr inbounds i8, ptr %0, i64 88
  %8 = load i32, ptr %7, align 4, !tbaa !10
  %9 = zext i32 %8 to i64
  %10 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %9
  %11 = load i32, ptr %10, align 4, !tbaa !11
  %12 = getelementptr inbounds i8, ptr %0, i64 96
  %13 = load i32, ptr %12, align 4, !tbaa !12
  %.not = icmp ne i32 %13, 0
  %14 = zext i1 %.not to i32
  %spec.select = add i32 %4, %14
  %.not45 = icmp eq i32 %spec.select, 0
  br i1 %.not45, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %6
  %15 = zext i32 %11 to i64
  %16 = inttoptr i64 %15 to ptr
  %17 = getelementptr inbounds i8, ptr %0, i64 100
  %18 = add i32 %4, -1
  br label %19

19:                                               ; preds = %.lr.ph, %48
  %.044 = phi i32 [ 0, %.lr.ph ], [ %49, %48 ]
  %.03243 = phi ptr [ %16, %.lr.ph ], [ %.1, %48 ]
  %.03342 = phi i32 [ %8, %.lr.ph ], [ %.2, %48 ]
  %20 = getelementptr inbounds i8, ptr %.03243, i64 16
  %21 = load volatile i32, ptr %20, align 4, !tbaa !13
  store volatile i32 %21, ptr %.03243, align 4, !tbaa !15
  %22 = getelementptr inbounds i8, ptr %.03243, i64 12
  store volatile i32 16777216, ptr %22, align 4, !tbaa !16
  %23 = getelementptr inbounds i8, ptr %.03243, i64 20
  %24 = load volatile i32, ptr %23, align 4, !tbaa !17
  %.not39 = icmp eq i32 %24, 0
  br i1 %.not39, label %30, label %25

25:                                               ; preds = %19
  %26 = load volatile i32, ptr %23, align 4, !tbaa !17
  %27 = getelementptr inbounds i8, ptr %.03243, i64 8
  store volatile i32 %26, ptr %27, align 4, !tbaa !18
  %28 = load volatile i32, ptr %22, align 4, !tbaa !16
  %29 = or i32 %28, 33554432
  store volatile i32 %29, ptr %22, align 4, !tbaa !16
  br label %30

30:                                               ; preds = %25, %19
  %31 = load volatile i32, ptr %22, align 4, !tbaa !16
  %32 = or i32 %31, -2147483648
  store volatile i32 %32, ptr %22, align 4, !tbaa !16
  %33 = load i32, ptr %17, align 4, !tbaa !19
  %.not40 = icmp eq i32 %33, 0
  br i1 %.not40, label %37, label %34

34:                                               ; preds = %30
  %35 = load volatile i32, ptr %22, align 4, !tbaa !16
  %36 = or i32 %35, 1073741824
  store volatile i32 %36, ptr %22, align 4, !tbaa !16
  br label %37

37:                                               ; preds = %34, %30
  %38 = icmp ult i32 %.044, %18
  br i1 %38, label %39, label %48

39:                                               ; preds = %37
  %40 = add i32 %.03342, 1
  %41 = icmp ugt i32 %40, 3
  %42 = add i32 %.03342, -3
  %spec.select41 = select i1 %41, i32 %42, i32 %40
  %43 = zext i32 %spec.select41 to i64
  %44 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %43
  %45 = load i32, ptr %44, align 4, !tbaa !11
  %46 = zext i32 %45 to i64
  %47 = inttoptr i64 %46 to ptr
  br label %48

48:                                               ; preds = %37, %39
  %.2 = phi i32 [ %spec.select41, %39 ], [ %.03342, %37 ]
  %.1 = phi ptr [ %47, %39 ], [ %.03243, %37 ]
  %49 = add nuw i32 %.044, 1
  %exitcond.not = icmp eq i32 %49, %spec.select
  br i1 %exitcond.not, label %._crit_edge.loopexit, label %19, !llvm.loop !20

._crit_edge.loopexit:                             ; preds = %48
  %50 = ptrtoint ptr %.1 to i64
  %51 = trunc i64 %50 to i32
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %6
  %.032.lcssa = phi i32 [ %11, %6 ], [ %51, %._crit_edge.loopexit ]
  %52 = load ptr, ptr %0, align 8, !tbaa !22
  %53 = getelementptr inbounds i8, ptr %52, i64 4392
  store volatile i32 %.032.lcssa, ptr %53, align 4, !tbaa !27
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %54

54:                                               ; preds = %1, %._crit_edge
  %.035 = phi i32 [ 0, %._crit_edge ], [ 1, %1 ]
  ret i32 %.035
}

attributes #0 = { nofree norecurse 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" }

!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 24}
!6 = !{!"", !7, i64 0, !9, i64 16, !9, i64 20, !9, i64 24, !9, i64 28, !9, i64 32}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"int", !7, i64 0}
!10 = !{!6, !9, i64 20}
!11 = !{!9, !9, i64 0}
!12 = !{!6, !9, i64 28}
!13 = !{!14, !9, i64 16}
!14 = !{!"", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12, !9, i64 16, !9, i64 20}
!15 = !{!14, !9, i64 0}
!16 = !{!14, !9, i64 12}
!17 = !{!14, !9, i64 20}
!18 = !{!14, !9, i64 8}
!19 = !{!6, !9, i64 32}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!23, !24, i64 0}
!23 = !{!"", !24, i64 0, !25, i64 8, !26, i64 48, !6, i64 68, !9, i64 104, !9, i64 108, !9, i64 112, !9, i64 116, !9, i64 120, !9, i64 124, !9, i64 128, !9, i64 132}
!24 = !{!"any pointer", !7, i64 0}
!25 = !{!"", !24, i64 0, !9, i64 8, !24, i64 16, !24, i64 24, !9, i64 32}
!26 = !{!"", !7, i64 0, !9, i64 16}
!27 = !{!28, !9, i64 4392}
!28 = !{!"", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12, !9, i64 16, !9, i64 20, !7, i64 24, !9, i64 80, !9, i64 84, !9, i64 88, !9, i64 92, !9, i64 96, !9, i64 100, !7, i64 104, !9, i64 112, !7, i64 116, !9, i64 144, !7, i64 148, !9, i64 176, !9, i64 180, !9, i64 184, !9, i64 188, !9, i64 192, !9, i64 196, !7, i64 200, !9, i64 208, !9, i64 212, !9, i64 216, !9, i64 220, !7, i64 224, !9, i64 272, !9, i64 276, !9, i64 280, !9, i64 284, !9, i64 288, !9, i64 292, !7, i64 296, !9, i64 512, !9, i64 516, !7, i64 520, !9, i64 528, !7, i64 532, !9, i64 768, !9, i64 772, !9, i64 776, !9, i64 780, !9, i64 784, !9, i64 788, !9, i64 792, !9, i64 796, !7, i64 800, !9, i64 1792, !9, i64 1796, !9, i64 1800, !9, i64 1804, !9, i64 1808, !7, i64 1812, !9, i64 1868, !9, i64 1872, !7, i64 1876, !9, i64 1896, !7, i64 1900, !9, i64 1940, !9, i64 1944, !7, i64 1948, !9, i64 1988, !7, i64 1992, !9, i64 2028, !9, i64 2032, !9, i64 2036, !9, i64 2040, !7, i64 2044, !9, i64 2304, !9, i64 2308, !7, i64 2312, !9, i64 2320, !9, i64 2324, !9, i64 2328, !9, i64 2332, !7, i64 2336, !9, i64 2352, !9, i64 2356, !7, i64 2360, !9, i64 2368, !9, i64 2372, !9, i64 2376, !9, i64 2380, !7, i64 2384, !9, i64 2816, !9, i64 2820, !9, i64 2824, !9, i64 2828, !9, i64 2832, !9, i64 2836, !9, i64 2840, !9, i64 2844, !9, i64 2848, !7, i64 2852, !9, i64 2864, !9, i64 2868, !7, i64 2872, !9, i64 2880, !9, i64 2884, !9, i64 2888, !9, i64 2892, !9, i64 2896, !9, i64 2900, !9, i64 2904, !9, i64 2908, !7, i64 2912, !9, i64 2928, !7, i64 2932, !9, i64 2944, !9, i64 2948, !9, i64 2952, !9, i64 2956, !7, i64 2960, !9, i64 3008, !9, i64 3012, !9, i64 3016, !9, i64 3020, !9, i64 3024, !7, i64 3028, !9, i64 3072, !7, i64 3076, !9, i64 3104, !7, i64 3108, !9, i64 3328, !9, i64 3332, !9, i64 3336, !7, i64 3340, !9, i64 3372, !9, i64 3376, !9, i64 3380, !9, i64 3384, !7, i64 3388, !9, i64 4096, !9, i64 4100, !9, i64 4104, !9, i64 4108, !7, i64 4112, !9, i64 4352, !9, i64 4356, !9, i64 4360, !7, i64 4364, !9, i64 4372, !9, i64 4376, !9, i64 4380, !9, i64 4384, !9, i64 4388, !9, i64 4392, !9, i64 4396, !9, i64 4400, !9, i64 4404, !9, i64 4408, !9, i64 4412, !9, i64 4416, !9, i64 4420, !9, i64 4424, !9, i64 4428, !9, i64 4432, !9, i64 4436, !9, i64 4440, !9, i64 4444, !9, i64 4448, !7, i64 4452, !9, i64 4460}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass